diff --git a/.idea/sonarlint/issuestore/0/c/0c1a27bfffa4cb14497c4aee209ed72f49bb3875 b/.idea/sonarlint/issuestore/0/c/0c1a27bfffa4cb14497c4aee209ed72f49bb3875 index a575f54..d293b47 100644 --- a/.idea/sonarlint/issuestore/0/c/0c1a27bfffa4cb14497c4aee209ed72f49bb3875 +++ b/.idea/sonarlint/issuestore/0/c/0c1a27bfffa4cb14497c4aee209ed72f49bb3875 @@ -1,52 +1,51 @@ -U php:S1131M"@Remove the useless trailing whitespaces at the end of this line.( -dphp:S103"KSplit this 123 characters long line (which is greater than 120 authorized).( -dphp:S103"KSplit this 131 characters long line (which is greater than 120 authorized).(Ē -dphp:S103["KSplit this 123 characters long line (which is greater than 120 authorized).( -dphp:S103^"KSplit this 131 characters long line (which is greater than 120 authorized).(Ē -ephp:S103"KSplit this 193 characters long line (which is greater than 120 authorized).(ʥ -`php:S103"KSplit this 121 characters long line (which is greater than 120 authorized).(Ҙ -D php:S1781")Write this "Array" keyword in lower case.( -D php:S1781")Write this "Array" keyword in lower case.( -D php:S1781")Write this "Array" keyword in lower case.( -D php:S1781")Write this "Array" keyword in lower case.( -D php:S1781")Write this "Array" keyword in lower case.( -D php:S1781")Write this "Array" keyword in lower case.( -3php:S113"'Add a new line at the end of this file. - php:S1192"rDefine a constant instead of duplicating this literal "아이디나 비밀번호를 확인해 주세요." 4 times.( - php:S1192"eDefine a constant instead of duplicating this literal "정상적인 접근이 아닙니다." 3 times.(ڤ - php:S1192"kDefine a constant instead of duplicating this literal "아이디를 입력하지 않았습니다." 3 times.(9 -t php:S1192"_Define a constant instead of duplicating this literal "정상 동작 되었습니다." 9 times.(䑙" - php:S1192"nDefine a constant instead of duplicating this literal "비밀번호를 입력하지 않았습니다." 3 times.( -7 php:S1116"Remove this empty statement.( -7 php:S1116"Remove this empty statement.( -7 php:S1116"Remove this empty statement.( -7 php:S1116"Remove this empty statement.( -7 php:S1116"Remove this empty statement.( -7 php:S1116"Remove this empty statement.( -7 php:S1116"Remove this empty statement.( -7 php:S1116"Remove this empty statement.( -7 php:S1116"Remove this empty statement.( -Q php:S1793" php:S1116"Remove this empty statement.(8ڴ1 +> php:S1116"Remove this empty statement.(8ڴ1 +> php:S1116"Remove this empty statement.(8ڴ1 +> php:S1116"Remove this empty statement.(8ڴ1 +> php:S1116"Remove this empty statement.(8ڴ1 +> php:S1116"Remove this empty statement.(8ڴ1 +> php:S1116"Remove this empty statement.(8ڴ1 +> php:S1116"Remove this empty statement.(8ڴ1 +> php:S1116"Remove this empty statement.(8ڴ1 +X php:S1793" tag.( +NWeb:AvoidCommentedOutCodeCheck:"Remove this commented out code.( +OWeb:AvoidCommentedOutCodeCheck"Remove this commented out code.( +OWeb:AvoidCommentedOutCodeCheck"Remove this commented out code.( +OWeb:AvoidCommentedOutCodeCheck"Remove this commented out code.( +dphp:S103 "KSplit this 148 characters long line (which is greater than 120 authorized).( +3php:S113"'Add a new line at the end of this file. +e php:S4833"QReplace "include_once" with namespace import mechanism through the "use" keyword.( \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/index.pb b/.idea/sonarlint/issuestore/index.pb index e839a6f..7e6c25a 100644 --- a/.idea/sonarlint/issuestore/index.pb +++ b/.idea/sonarlint/issuestore/index.pb @@ -124,4 +124,28 @@ l o ?home_dir/www/ksvc/site/sts_order_prod/popComponent/isDefHst.php,7\f\7f5a5c9663643d4c11bf16ae3de896ce271e9509 l -
-
- -
+ + +
+ + +
+ +
+

설비 ※ 더블 클릭하면 수정창이 열립니다.

+ + +
+ + +
+ + +
+ + + +
+
+
+ + +
+ + +
-
- +
-

설비 ※ 더블 클릭하면 수정창이 열립니다.

+

공정

@@ -99,54 +131,22 @@ include_once _SVC_INC_PATH_ . "/header.php";
-
- - -
+
-
-
+
+ +
+

수리내역

- -
-
-

공정

- - -
- - -
- -
- -
-
-
- -
- - -
- -
-

수리내역

- - - + - + -
- - -
-
-
-
- + + +
+
+
+
+ +
diff --git a/home_dir/www/ksvc/inc/header.php b/home_dir/www/ksvc/inc/header.php index 85b935b..990c4a5 100644 --- a/home_dir/www/ksvc/inc/header.php +++ b/home_dir/www/ksvc/inc/header.php @@ -11,11 +11,11 @@ $later = date('Y-m-d', strtotime('+14 days')); //if( !$GLOBALS['_Umem']['member_id'] ) { // move_page(_SVC_URL_, $GLOBALS['_Auth_']['deny_view']); //} -// -////접근 권한(조회) 불가 처리 -//if( !$GLOBALS['_Auth_']['menuObj']->hasMenuAuth("R", $GLOBALS['_Auth_']['cate_id']) ){ -// hback($GLOBALS['_Auth_']['deny_view']); -//} + +//접근 권한(조회) 불가 처리 +if( !$GLOBALS['_Auth_']['menuObj']->hasMenuAuth("R", $GLOBALS['_Auth_']['cate_id']) ){ + hback($GLOBALS['_Auth_']['deny_view']); +} $menu_hist = array(); if( $GLOBALS['_Auth_']['menuObj'] ){ diff --git a/home_dir/www/ksvc/prod/cnt_faclt_ct/cnt_faclt_ct.ajax.php b/home_dir/www/ksvc/prod/cnt_faclt_ct/cnt_faclt_ct.ajax.php index a12024c..8610888 100644 --- a/home_dir/www/ksvc/prod/cnt_faclt_ct/cnt_faclt_ct.ajax.php +++ b/home_dir/www/ksvc/prod/cnt_faclt_ct/cnt_faclt_ct.ajax.php @@ -13,10 +13,10 @@ if (!_notAuth("R")) { case 'getFacltCtList': - $squl = "USP_P_FACLT_OPER_S20"; + $squl = "USP_P_CNT_FACLT_CT_S10"; $params = array( - "P_START_DATE" => $_REQUEST["date_st"], + "P_ST_DATE" => $_REQUEST["date_st"], "P_ED_DATE" => $_REQUEST["date_ed"], "P_FACLT_CD" => $_REQUEST["FACLT_CD"] ?: "", "P_FACLT_NM" => $_REQUEST["FACLT_NM"] ?: "", diff --git a/home_dir/www/ksvc/prod/cnt_oper_wt/cnt_oper_wt.ajax.php b/home_dir/www/ksvc/prod/cnt_oper_wt/cnt_oper_wt.ajax.php index e859fd4..d12577b 100644 --- a/home_dir/www/ksvc/prod/cnt_oper_wt/cnt_oper_wt.ajax.php +++ b/home_dir/www/ksvc/prod/cnt_oper_wt/cnt_oper_wt.ajax.php @@ -18,7 +18,7 @@ if (!_notAuth("R")) { $params = array( "P_OP_CD" => $_REQUEST["OP_CD"] ?: "", "P_OP_NM" => $_REQUEST["OP_NM"] ?: "", - "P_START_DATE" => $_REQUEST["date_st"], + "P_ST_DATE" => $_REQUEST["date_st"], "P_ED_DATE" => $_REQUEST["date_ed"], ); $rst = $baseObj->DB->exec($squl, $params); diff --git a/home_dir/www/ksvc/prod/reg_order/reg_order.js b/home_dir/www/ksvc/prod/reg_order/reg_order.js index e74a8bd..1895f4a 100644 --- a/home_dir/www/ksvc/prod/reg_order/reg_order.js +++ b/home_dir/www/ksvc/prod/reg_order/reg_order.js @@ -430,7 +430,7 @@ class Tb_process_class { this.tbList.addRow({ OP_SEQ : this.lastNum, WO_NO : Tb_order.tbList.getSelectedData()[0].WO_NO, _STATUS_: "I" }); } copyRow(){ - + let _this = this; ajax_json({ url: "/ksvc/inc/common.ajax.php", @@ -441,15 +441,26 @@ class Tb_process_class { console.log(data.data); let makingData =data.data for(let temp in data.data){ - this.lastNum += 10; + if(this.lastNum == 0){ + this.lastNum += 10; + _this.tbList.addRow({ + OP_CD : makingData[temp].OP_CD, + OP_SEQ : makingData[temp].OP_SEQ , + WO_OP_AMT : makingData[temp].WO_OP_AMT, + WO_NO : Tb_order.tbList.getSelectedData()[0].WO_NO, _STATUS_: "I" }); - this.tbList.addRow({ OP_CD : makingData[temp].OP_CD, - OP_SEQ : makingData[temp].OP_SEQ , - WO_OP_AMT : makingData[temp].WO_OP_AMT, - WO_NO : Tb_order.tbList.getSelectedData()[0].WO_NO, _STATUS_: "I" }); + }else{ + this.lastNum += 10; + _this.tbList.addRow({ + OP_CD : makingData[temp].OP_CD, + OP_SEQ : this.lastNum , + WO_OP_AMT : makingData[temp].WO_OP_AMT, + WO_NO : Tb_order.tbList.getSelectedData()[0].WO_NO, _STATUS_: "I" }); + } } } + console.log(this.lastNum); }, error: (request, status, error)=>{ kuls_alert(error.message); diff --git a/home_dir/www/ksvc/site/sts_order_prod/popComponent/sts_order_pop_util.inc.php b/home_dir/www/ksvc/site/sts_order_prod/popComponent/sts_order_pop_util.inc.php new file mode 100644 index 0000000..a811e5e --- /dev/null +++ b/home_dir/www/ksvc/site/sts_order_prod/popComponent/sts_order_pop_util.inc.php @@ -0,0 +1,61 @@ + + + + + + + + \ No newline at end of file