From e1b36e8c809c621ae2e617157387b57e70da9a35 Mon Sep 17 00:00:00 2001 From: WONKI LEE Date: Wed, 1 May 2024 01:35:25 +0900 Subject: [PATCH] recent [wklee] --- .../0c1a27bfffa4cb14497c4aee209ed72f49bb3875 | 101 ++++++++-------- .../2ed025320a643a3e725fdfea1d46b4153bfe7cc6 | 5 + .../33f16a9ace395087d141c102041891f4f0b5deea | 2 + .../3883d4760417ae1a574aa3a66286a33acbf4606b | 4 + .../5447b25ff8e93d31fff420a38fbed8f79a643d78 | 6 + .../7e358c14f1899821a68893da0cd99e05119736ff | 28 +++++ .../8a2a1a37bf0b275be6c59176132899c9d87f0d8c | 6 + .../9235ddfa466a7bb8b490cc7d59f4dd7f402f3f3e | 5 + .../9a4a55ec1a6e14b8f26addfaed5382a3f4700213 | 6 + .../afe51097428229432e09e45b4caa4103a6d38746 | 2 + .../c3acb41905f8a9b96ec560c5953fd5817809ed7c | 5 + .../ef12ce5f52631761ac74af002c2d39a1d91b0ecc | 0 .../f860af1d45fa55974de3ba39ba38c25537b5f44b | 9 ++ .idea/sonarlint/issuestore/index.pb | 26 ++++- .../2ed025320a643a3e725fdfea1d46b4153bfe7cc6 | 0 .../33f16a9ace395087d141c102041891f4f0b5deea | 0 .../3883d4760417ae1a574aa3a66286a33acbf4606b | 0 .../5447b25ff8e93d31fff420a38fbed8f79a643d78 | 0 .../7e358c14f1899821a68893da0cd99e05119736ff | 0 .../8a2a1a37bf0b275be6c59176132899c9d87f0d8c | 0 .../9235ddfa466a7bb8b490cc7d59f4dd7f402f3f3e | 0 .../9a4a55ec1a6e14b8f26addfaed5382a3f4700213 | 0 .../afe51097428229432e09e45b4caa4103a6d38746 | 0 .../c3acb41905f8a9b96ec560c5953fd5817809ed7c | 0 .../ef12ce5f52631761ac74af002c2d39a1d91b0ecc | 0 .../f860af1d45fa55974de3ba39ba38c25537b5f44b | 0 .idea/sonarlint/securityhotspotstore/index.pb | 26 ++++- home_dir/www/ksvc/base/dept/dept.js | 2 +- home_dir/www/ksvc/base/facility/facility.php | 108 +++++++++--------- home_dir/www/ksvc/inc/header.php | 10 +- .../prod/cnt_faclt_ct/cnt_faclt_ct.ajax.php | 4 +- .../prod/cnt_oper_wt/cnt_oper_wt.ajax.php | 2 +- home_dir/www/ksvc/prod/reg_order/reg_order.js | 23 +++- .../popComponent/sts_order_pop_util.inc.php | 61 ++++++++++ 34 files changed, 319 insertions(+), 122 deletions(-) create mode 100644 .idea/sonarlint/issuestore/2/e/2ed025320a643a3e725fdfea1d46b4153bfe7cc6 create mode 100644 .idea/sonarlint/issuestore/3/3/33f16a9ace395087d141c102041891f4f0b5deea create mode 100644 .idea/sonarlint/issuestore/3/8/3883d4760417ae1a574aa3a66286a33acbf4606b create mode 100644 .idea/sonarlint/issuestore/5/4/5447b25ff8e93d31fff420a38fbed8f79a643d78 create mode 100644 .idea/sonarlint/issuestore/7/e/7e358c14f1899821a68893da0cd99e05119736ff create mode 100644 .idea/sonarlint/issuestore/8/a/8a2a1a37bf0b275be6c59176132899c9d87f0d8c create mode 100644 .idea/sonarlint/issuestore/9/2/9235ddfa466a7bb8b490cc7d59f4dd7f402f3f3e create mode 100644 .idea/sonarlint/issuestore/9/a/9a4a55ec1a6e14b8f26addfaed5382a3f4700213 create mode 100644 .idea/sonarlint/issuestore/a/f/afe51097428229432e09e45b4caa4103a6d38746 create mode 100644 .idea/sonarlint/issuestore/c/3/c3acb41905f8a9b96ec560c5953fd5817809ed7c create mode 100644 .idea/sonarlint/issuestore/e/f/ef12ce5f52631761ac74af002c2d39a1d91b0ecc create mode 100644 .idea/sonarlint/issuestore/f/8/f860af1d45fa55974de3ba39ba38c25537b5f44b create mode 100644 .idea/sonarlint/securityhotspotstore/2/e/2ed025320a643a3e725fdfea1d46b4153bfe7cc6 create mode 100644 .idea/sonarlint/securityhotspotstore/3/3/33f16a9ace395087d141c102041891f4f0b5deea create mode 100644 .idea/sonarlint/securityhotspotstore/3/8/3883d4760417ae1a574aa3a66286a33acbf4606b create mode 100644 .idea/sonarlint/securityhotspotstore/5/4/5447b25ff8e93d31fff420a38fbed8f79a643d78 create mode 100644 .idea/sonarlint/securityhotspotstore/7/e/7e358c14f1899821a68893da0cd99e05119736ff create mode 100644 .idea/sonarlint/securityhotspotstore/8/a/8a2a1a37bf0b275be6c59176132899c9d87f0d8c create mode 100644 .idea/sonarlint/securityhotspotstore/9/2/9235ddfa466a7bb8b490cc7d59f4dd7f402f3f3e create mode 100644 .idea/sonarlint/securityhotspotstore/9/a/9a4a55ec1a6e14b8f26addfaed5382a3f4700213 create mode 100644 .idea/sonarlint/securityhotspotstore/a/f/afe51097428229432e09e45b4caa4103a6d38746 create mode 100644 .idea/sonarlint/securityhotspotstore/c/3/c3acb41905f8a9b96ec560c5953fd5817809ed7c create mode 100644 .idea/sonarlint/securityhotspotstore/e/f/ef12ce5f52631761ac74af002c2d39a1d91b0ecc create mode 100644 .idea/sonarlint/securityhotspotstore/f/8/f860af1d45fa55974de3ba39ba38c25537b5f44b create mode 100644 home_dir/www/ksvc/site/sts_order_prod/popComponent/sts_order_pop_util.inc.php 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