Browse Source

js 수정

whakdo963 2 years ago
parent
commit
bd1f05ca68

+ 8 - 4
bin/src/main/webapp/app/oper/OPER06010.html

@@ -50,8 +50,9 @@
50
 						<div class="col-xs-12">
50
 						<div class="col-xs-12">
51
 							<form id="ITP_FORM_OPER06010_DETAIL" class="form-horizontal">
51
 							<form id="ITP_FORM_OPER06010_DETAIL" class="form-horizontal">
52
 								<input type="hidden" id="ITP_FORM_OPER06010_DETAIL_VIEW_CD" name="viewCd" value="C">
52
 								<input type="hidden" id="ITP_FORM_OPER06010_DETAIL_VIEW_CD" name="viewCd" value="C">
53
-								<input type="hidden" id="ITP_FORM_OPER06010_DETAIL_AFFL_SHOP_ID" name="afflShopId" value="C">
54
-								<input type="hidden" id="ITP_FORM_OPER06010_DETAIL_BRAND_ID" name="brandId" value="C">
53
+								<input type="hidden" id="ITP_FORM_OPER06010_DETAIL_AFFL_SHOP_ID" name="afflShopId" value="">
54
+								<input type="hidden" id="ITP_FORM_OPER06010_DETAIL_BRAND_ID" name="brandId" value="">
55
+								<input type="hidden" id="ITP_FORM_OPER06010_DETAIL_FILE_NO" name="fileNo" value="">
55
 					
56
 					
56
 								<section class="itp_form_sec">
57
 								<section class="itp_form_sec">
57
 									<h4 class="itp_form_tit">브랜드 정보-신규</h4>
58
 									<h4 class="itp_form_tit">브랜드 정보-신규</h4>
@@ -141,7 +142,10 @@
141
 													<label class="col-xs-12"></label>
142
 													<label class="col-xs-12"></label>
142
 												</div>
143
 												</div>
143
 												<div class="col-xs-5 itp_in">
144
 												<div class="col-xs-5 itp_in">
144
-													<button type="button" id="ITP_BTN_OPER06010_DETAIL_FILE_SEARCH" class="btn btn-primary btn-sm FFB" style="display: inline-block;"><i class="glyphicon"></i>파일선택</button>
145
+													<div class="fileupload-wrapper">
146
+														<!-- data-show-yn: 파일업로드를 할 수 있는 권한이 있는지 없는지.. -->
147
+														<div id="ITP_OPER06010_DETAIL_UPLOAD" data-show-yn="Y"></div>
148
+													</div>
145
 												</div>
149
 												</div>
146
 											</div>
150
 											</div>
147
 										</div>
151
 										</div>
@@ -171,7 +175,7 @@
171
 														<input type="text" id="ITP_FORM_OPER06010_DETAIL_ZIPNO" class="form-control itp_input" name="zipNo" value="" maxlength="6" readonly placeholder="우편번호">													
175
 														<input type="text" id="ITP_FORM_OPER06010_DETAIL_ZIPNO" class="form-control itp_input" name="zipNo" value="" maxlength="6" readonly placeholder="우편번호">													
172
 													</div>
176
 													</div>
173
 													<div class="col-xs-2 itp_in" style="width:10%;">
177
 													<div class="col-xs-2 itp_in" style="width:10%;">
174
-														<button type="button" id="ITP_FORM_OPER06010_DETAIL_FILE_SEARCH" class="btn btn-primary btn-sm FILE_SEARCH" style="margin:0 3px;">&nbsp;&nbsp;주소찾기&nbsp;&nbsp;</button>
178
+														<button type="button" id="ITP_FORM_OPER06010_DETAIL_ADRES_SCH" class="btn btn-primary btn-sm SHOW" style="margin: -1px 0px 0px 3px;">&nbsp;&nbsp;주소검색&nbsp;&nbsp;</button>
175
 													</div>
179
 													</div>
176
 													<div class="col-xs-4 itp_in" style="margin:0 5px;">
180
 													<div class="col-xs-4 itp_in" style="margin:0 5px;">
177
 														<input type="text" id="ITP_FORM_OPER06010_DETAIL_LOAD_ADDR" class="form-control itp_input" name="loadAddr" value="" placeholder="기본주소">													
181
 														<input type="text" id="ITP_FORM_OPER06010_DETAIL_LOAD_ADDR" class="form-control itp_input" name="loadAddr" value="" placeholder="기본주소">													

+ 2 - 4
bin/src/main/webapp/js/app/oper/ITP_OPER01010.js

@@ -218,10 +218,8 @@ let pageObj = {
218
 		$('.itp_det_head').find('button[id^="ITP_BTN_OPER01010_"]').each(function(i) {
218
 		$('.itp_det_head').find('button[id^="ITP_BTN_OPER01010_"]').each(function(i) {
219
 			$(this).hide();
219
 			$(this).hide();
220
 		});
220
 		});
221
-		$('div[id$="_CONTAINER"]').each(function(i) {
222
-			if($(this).attr('id').startsWith('ITP_AJAX_OPER01010')) {
223
-				$(this).hide();
224
-			}
221
+		$('#ITP_TAB_OPER01010').find('div[id$="_CONTAINER"]').each(function(i) {
222
+			$(this).hide();
225
 		});
223
 		});
226
 		if(mode === 'LIST') { // 목록
224
 		if(mode === 'LIST') { // 목록
227
 			$('#ITP_AJAX_OPER01010_LIST_CONTAINER').show();
225
 			$('#ITP_AJAX_OPER01010_LIST_CONTAINER').show();

+ 2 - 4
bin/src/main/webapp/js/app/oper/ITP_OPER02010.js

@@ -215,10 +215,8 @@ let pageObj = {
215
 		$('.itp_det_head').find('button[id^="ITP_BTN_OPER02010_"]').each(function(i) {
215
 		$('.itp_det_head').find('button[id^="ITP_BTN_OPER02010_"]').each(function(i) {
216
 			$(this).hide();
216
 			$(this).hide();
217
 		});
217
 		});
218
-		$('div[id$="_CONTAINER"]').each(function(i) {
219
-			if($(this).attr('id').startsWith('ITP_AJAX_OPER02010')) {
220
-				$(this).hide();
221
-			}
218
+		$('#ITP_TAB_OPER02010').find('div[id$="_CONTAINER"]').each(function(i) {
219
+			$(this).hide();
222
 		});
220
 		});
223
 		if(mode === 'LIST') { // 목록
221
 		if(mode === 'LIST') { // 목록
224
 			$('#ITP_AJAX_OPER02010_LIST_CONTAINER').show();
222
 			$('#ITP_AJAX_OPER02010_LIST_CONTAINER').show();

+ 3 - 5
bin/src/main/webapp/js/app/oper/ITP_OPER03010.js

@@ -232,10 +232,8 @@ let pageObj = {
232
 		$('.itp_det_head').find('button[id^="ITP_BTN_OPER03010_"]').each(function(i) {
232
 		$('.itp_det_head').find('button[id^="ITP_BTN_OPER03010_"]').each(function(i) {
233
 			$(this).hide();
233
 			$(this).hide();
234
 		});
234
 		});
235
-		$('div[id$="_CONTAINER"]').each(function(i) {
236
-			if($(this).attr('id').startsWith('ITP_AJAX_OPER03010')) {
237
-				$(this).hide();
238
-			}
235
+		$('#ITP_TAB_OPER03010').find('div[id$="_CONTAINER"]').each(function(i) {
236
+			$(this).hide();
239
 		});
237
 		});
240
 		if(mode === 'LIST') { // 목록
238
 		if(mode === 'LIST') { // 목록
241
 			$('#ITP_AJAX_OPER03010_LIST_CONTAINER').show();
239
 			$('#ITP_AJAX_OPER03010_LIST_CONTAINER').show();
@@ -280,7 +278,7 @@ let pageObj = {
280
 			addRow: function () {
278
 			addRow: function () {
281
 				// 팝업
279
 				// 팝업
282
 				var popFn = function(rowDataPop) {
280
 				var popFn = function(rowDataPop) {
283
-					// console.log(rowDataPop);
281
+					console.log(rowDataPop);
284
 					// 기존등록 데이터
282
 					// 기존등록 데이터
285
 					var exists = '';
283
 					var exists = '';
286
 					const rowData = $(OPER03010_DETAIL_GRID_ID).getRowData();
284
 					const rowData = $(OPER03010_DETAIL_GRID_ID).getRowData();

+ 6 - 8
bin/src/main/webapp/js/app/oper/ITP_OPER04010.js

@@ -134,10 +134,8 @@ let pageObj = {
134
         $('.itp_det_head').find('button[id^="ITP_BTN_OPER04010_"]').each(function(i) {
134
         $('.itp_det_head').find('button[id^="ITP_BTN_OPER04010_"]').each(function(i) {
135
             $(this).hide();
135
             $(this).hide();
136
         });
136
         });
137
-        $('div[id$="_CONTAINER"]').each(function(i) {
138
-            if($(this).attr('id').startsWith('ITP_AJAX_OPER04010')) {
139
-                $(this).hide();
140
-            }
137
+        $('#ITP_TAB_OPER04010').find('div[id$="_CONTAINER"]').each(function(i) {
138
+            $(this).hide();
141
         });
139
         });
142
         if(mode == 'LIST') { // 목록
140
         if(mode == 'LIST') { // 목록
143
             fn_show_btn_auth_array(['#ITP_BTN_OPER04010_SRH', '#ITP_BTN_OPER04010_NEWREG']);
141
             fn_show_btn_auth_array(['#ITP_BTN_OPER04010_SRH', '#ITP_BTN_OPER04010_NEWREG']);
@@ -145,9 +143,9 @@ let pageObj = {
145
         } else if(mode == 'ADD') { // 등록
143
         } else if(mode == 'ADD') { // 등록
146
             ITP_FORM_OPER04010_DETAIL_IS_DUPLICATE = true;
144
             ITP_FORM_OPER04010_DETAIL_IS_DUPLICATE = true;
147
             $('#ITP_AJAX_OPER04010_DETAIL_CONTAINER').show();
145
             $('#ITP_AJAX_OPER04010_DETAIL_CONTAINER').show();
148
-            fn_show_btn_auth_array(['#ITP_BTN_OPER04010_CANCELLIST', '#ITP_BTN_OPER03010_SAVE']);
146
+            fn_show_btn_auth_array(['#ITP_BTN_OPER04010_CANCELLIST', '#ITP_BTN_OPER04010_SAVE']);
149
 
147
 
150
-            $('#ITP_FORM_OPER04010_DETAIL_SALES_USER_ID').removeAttr('readonly');
148
+            $('#ITP_FORM_OPER04010_DETAIL_SALE_MGR_ID').removeAttr('readonly');
151
             $('#ITP_FORM_OPER04010_DETAIL_DUP').removeAttr('disabled');
149
             $('#ITP_FORM_OPER04010_DETAIL_DUP').removeAttr('disabled');
152
 
150
 
153
             $('.itp_modify_dt').hide();
151
             $('.itp_modify_dt').hide();
@@ -164,7 +162,7 @@ let pageObj = {
164
 
162
 
165
             $('.itp_modify_dt').show();
163
             $('.itp_modify_dt').show();
166
 
164
 
167
-            $('#ITP_FORM_OPER04010_DETAIL_SALES_USER_ID').attr('readonly', true);
165
+            $('#ITP_FORM_OPER04010_DETAIL_SALE_MGR_ID').attr('readonly', true);
168
             $('#ITP_FORM_OPER04010_DETAIL_DUP').attr('disabled', true);
166
             $('#ITP_FORM_OPER04010_DETAIL_DUP').attr('disabled', true);
169
         } else if(mode == 'VIEW') { // 보기
167
         } else if(mode == 'VIEW') { // 보기
170
             $('#ITP_AJAX_OPER04010_VIEW_CONTAINER').show();
168
             $('#ITP_AJAX_OPER04010_VIEW_CONTAINER').show();
@@ -191,7 +189,7 @@ let listObj = {
191
         create: function() {
189
         create: function() {
192
             pageObj.switchScreen('ADD');
190
             pageObj.switchScreen('ADD');
193
             itp_fn_form_clear_validate(null, '#ITP_FORM_OPER04010_DETAIL');
191
             itp_fn_form_clear_validate(null, '#ITP_FORM_OPER04010_DETAIL');
194
-            kakaoMap.init('ITP_FORM_OPER04010_DETAIL_MAP', $('#ITP_FORM_OPER04010_DETAIL_STREET_ADDRESS').val());
192
+            kakaoMap.init('ITP_FORM_OPER04010_DETAIL', '');
195
         }
193
         }
196
     },
194
     },
197
     search: function() {
195
     search: function() {

+ 11 - 12
bin/src/main/webapp/js/app/oper/ITP_OPER06010.js

@@ -103,9 +103,7 @@ let pageObj = {
103
     init: function () {
103
     init: function () {
104
         this.ui.init();
104
         this.ui.init();
105
         this.event.init();
105
         this.event.init();
106
-    },
107
-    brandInfo: function() {
108
-        return JSON.parse(sessionStorage.getItem('itp_manage_brand_info'));
106
+        this.fileUpload();
109
     },
107
     },
110
     ui: {
108
     ui: {
111
         init: function () {
109
         init: function () {
@@ -151,6 +149,7 @@ let pageObj = {
151
                         case 'ITP_BTN_OPER06010_SAVE'				: createObj.button.save(); 		break;	// 저장 버튼
149
                         case 'ITP_BTN_OPER06010_SAVE'				: createObj.button.save(); 		break;	// 저장 버튼
152
                         case 'ITP_FORM_OPER06010_DETAIL_DUP'		: createObj.button.duplicate();	break;	// 중복체크
150
                         case 'ITP_FORM_OPER06010_DETAIL_DUP'		: createObj.button.duplicate();	break;	// 중복체크
153
                         case 'ITP_BTN_OPER06010_RESET_PW'			: createObj.button.resetPass();	break;	// 상세:비밀번호 초기화
151
                         case 'ITP_BTN_OPER06010_RESET_PW'			: createObj.button.resetPass();	break;	// 상세:비밀번호 초기화
152
+                        case 'ITP_FORM_OPER06010_DETAIL_ADRES_SCH'	: createObj.button.address();	break;	// 신규등록 주소 찾기
154
                         case 'ITP_BTN_OPER06010_DETAIL_ADDROW'		: afflShopObj.button.addRow();	break;	// 상세:추가버튼
153
                         case 'ITP_BTN_OPER06010_DETAIL_ADDROW'		: afflShopObj.button.addRow();	break;	// 상세:추가버튼
155
                         case 'ITP_BTN_OPER06010_DETAIL_DELROW'		: afflShopObj.button.delRow();	break;	// 상세:삭제버튼
154
                         case 'ITP_BTN_OPER06010_DETAIL_DELROW'		: afflShopObj.button.delRow();	break;	// 상세:삭제버튼
156
                     }
155
                     }
@@ -174,10 +173,8 @@ let pageObj = {
174
         $('.itp_det_head').find('button[id^="ITP_BTN_OPER06010_"]').each(function(i) {
173
         $('.itp_det_head').find('button[id^="ITP_BTN_OPER06010_"]').each(function(i) {
175
             $(this).hide();
174
             $(this).hide();
176
         });
175
         });
177
-        $('div[id$="_CONTAINER"]').each(function(i) {
178
-            if($(this).attr('id').startsWith('ITP_AJAX_OPER06010')) {
179
-                $(this).hide();
180
-            }
176
+        $('#ITP_TAB_OPER06010').find('div[id$="_CONTAINER"]').each(function(i) {
177
+            $(this).hide();
181
         });
178
         });
182
         if(mode == 'LIST') { // 목록
179
         if(mode == 'LIST') { // 목록
183
             fn_show_btn_auth_array(['#ITP_BTN_OPER06010_SRH', '#ITP_BTN_OPER06010_NEWREG']);
180
             fn_show_btn_auth_array(['#ITP_BTN_OPER06010_SRH', '#ITP_BTN_OPER06010_NEWREG']);
@@ -185,6 +182,7 @@ let pageObj = {
185
         } else if(mode == 'ADD') { // 등록
182
         } else if(mode == 'ADD') { // 등록
186
             ITP_FORM_OPER06010_DETAIL_IS_DUPLICATE = true;
183
             ITP_FORM_OPER06010_DETAIL_IS_DUPLICATE = true;
187
             $('#ITP_AJAX_OPER06010_DETAIL_CONTAINER').show();
184
             $('#ITP_AJAX_OPER06010_DETAIL_CONTAINER').show();
185
+            fn_show_btn_auth_array(['#ITP_BTN_OPER06010_CANCELLIST', '#ITP_BTN_OPER06010_SAVE']);
188
 
186
 
189
             $('#ITP_FORM_OPER06010_DETAIL').find('input, textarea, select, checkbox').each(function(i, elem) {
187
             $('#ITP_FORM_OPER06010_DETAIL').find('input, textarea, select, checkbox').each(function(i, elem) {
190
                 $(this).attr('id') === 'ITP_FORM_OPER06010_DETAIL_VIEW_CD' ? $(this).val('C') : $(this).val('');
188
                 $(this).attr('id') === 'ITP_FORM_OPER06010_DETAIL_VIEW_CD' ? $(this).val('C') : $(this).val('');
@@ -193,9 +191,10 @@ let pageObj = {
193
                 }
191
                 }
194
             });
192
             });
195
 
193
 
194
+            $('#ITP_FORM_OPER06010_DETAIL #ITP_FORM_OPER06010_DETAIL_FILE_NO').val('');
196
             $('#ITP_FORM_OPER06010_DETAIL_BRAND_CD').removeAttr('readonly');
195
             $('#ITP_FORM_OPER06010_DETAIL_BRAND_CD').removeAttr('readonly');
197
             $('#ITP_FORM_OPER06010_DETAIL_DUP').removeAttr('disabled');
196
             $('#ITP_FORM_OPER06010_DETAIL_DUP').removeAttr('disabled');
198
-
197
+            $('.fnBrandId').text('(자동부여)');
199
         } else if(mode == 'MODIFY') { // 수정
198
         } else if(mode == 'MODIFY') { // 수정
200
             $('#ITP_AJAX_OPER06010_DETAIL_CONTAINER').show();
199
             $('#ITP_AJAX_OPER06010_DETAIL_CONTAINER').show();
201
             fn_show_btn_auth_array(['#ITP_BTN_OPER06010_CANCELLIST', '#ITP_BTN_OPER06010_SAVE', '#ITP_BTN_OPER06010_RESET_PW']);
200
             fn_show_btn_auth_array(['#ITP_BTN_OPER06010_CANCELLIST', '#ITP_BTN_OPER06010_SAVE', '#ITP_BTN_OPER06010_RESET_PW']);
@@ -383,7 +382,7 @@ let modifyObj = {
383
         $('#ITP_FORM_OPER06010_DETAIL .fnChgDt').text(result.sysChgDttm);
382
         $('#ITP_FORM_OPER06010_DETAIL .fnChgDt').text(result.sysChgDttm);
384
 
383
 
385
         let locate = result.addr1 + ' ' + result.addr2;
384
         let locate = result.addr1 + ' ' + result.addr2;
386
-        kakaoMap.init('ITP_FORM_OPER06010_DETAIL_MAP', locate);
385
+        kakaoMap.init('ITP_FORM_OPER06010_DETAIL', locate);
387
 
386
 
388
     }
387
     }
389
 };
388
 };
@@ -392,8 +391,8 @@ let modifyObj = {
392
 let createObj = {
391
 let createObj = {
393
     init: function () {
392
     init: function () {
394
         pageObj.fileUpload();
393
         pageObj.fileUpload();
395
-        $('#ITP_FORM_OPER06010_DETAIL_BRAND_ID').val(pageObj.brandInfo().brandId);
396
-        kakaoMap.init('ITP_FORM_OPER06010_DETAIL_MAP', '');
394
+        $('#ITP_FORM_OPER06010_DETAIL_BRAND_ID').val(LOGIN_USER_INFO.brandId);
395
+        kakaoMap.init('ITP_FORM_OPER06010_DETAIL', '');
397
     },
396
     },
398
     button: {
397
     button: {
399
         address: function() {
398
         address: function() {
@@ -407,7 +406,7 @@ let createObj = {
407
                     document.getElementById('ITP_FORM_OPER06010_DETAIL_HJ_DONG').value = !!data.hname ? data.hname : data.bname;
406
                     document.getElementById('ITP_FORM_OPER06010_DETAIL_HJ_DONG').value = !!data.hname ? data.hname : data.bname;
408
                     document.getElementById('ITP_FORM_OPER06010_DETAIL_BJ_DONG').value = data.bname;
407
                     document.getElementById('ITP_FORM_OPER06010_DETAIL_BJ_DONG').value = data.bname;
409
 
408
 
410
-                    kakaoMap.init('ITP_FORM_OPER06010_DETAIL_MAP', data.roadAddress);
409
+                    kakaoMap.init('ITP_FORM_OPER06010_DETAIL', data.roadAddress);
411
                     document.getElementById('ITP_FORM_OPER06010_DETAIL_ADRES_DTL').focus();
410
                     document.getElementById('ITP_FORM_OPER06010_DETAIL_ADRES_DTL').focus();
412
                 }
411
                 }
413
             }).open();
412
             }).open();

+ 2 - 2
bin/src/main/webapp/js/app/popup/biz/ITP_BIZPOP_APPL_SALES_USER_SCH.js

@@ -106,13 +106,13 @@ function itp_fn_BIZPOP_APPL_SALES_USER_SCH(parentPopFn, schParam, returnType) {
106
 				index: 'ST_CD', name: 'stCd',
106
 				index: 'ST_CD', name: 'stCd',
107
 				label: '상태', //
107
 				label: '상태', //
108
 				width: '12', fixed: false, align: 'center',
108
 				width: '12', fixed: false, align: 'center',
109
-				sortable: false, hidden: false
109
+				sortable: false, hidden: true
110
 			},
110
 			},
111
 			{
111
 			{
112
 				index: 'ST_NM', name: 'stNm',
112
 				index: 'ST_NM', name: 'stNm',
113
 				label: '상태', //
113
 				label: '상태', //
114
 				width: '12', fixed: false, align: 'center',
114
 				width: '12', fixed: false, align: 'center',
115
-				sortable: false, hidden: true
115
+				sortable: false, hidden: false
116
 			}
116
 			}
117
 		],
117
 		],
118
 		loadBeforeSend: function(jqXHR) {
118
 		loadBeforeSend: function(jqXHR) {

+ 2 - 4
bin/src/main/webapp/js/app/stinfo/ITP_STINFO01010.js

@@ -174,10 +174,8 @@ let pageObj = {
174
         $('.itp_det_head').find('button[id^="ITP_BTN_STINFO01010_"]').each(function(i) {
174
         $('.itp_det_head').find('button[id^="ITP_BTN_STINFO01010_"]').each(function(i) {
175
             $(this).hide();
175
             $(this).hide();
176
         });
176
         });
177
-        $('div[id$="_CONTAINER"]').each(function(i) {
178
-            if($(this).attr('id').startsWith('ITP_AJAX_STINFO01010')) {
179
-                $(this).hide();
180
-            }
177
+        $('#ITP_TABSTINFO01010').find('div[id$="_CONTAINER"]').each(function(i) {
178
+            $(this).hide();
181
         });
179
         });
182
         if(mode == 'LIST') { // 목록
180
         if(mode == 'LIST') { // 목록
183
             $('#ITP_AJAX_STINFO01010_LIST_CONTAINER').show();
181
             $('#ITP_AJAX_STINFO01010_LIST_CONTAINER').show();

+ 2 - 4
bin/src/main/webapp/js/app/stinfo/ITP_STINFO02010.js

@@ -207,10 +207,8 @@ let pageObj = {
207
 		$('.itp_det_head').find('button[id^="ITP_BTN_STINFO02010_"]').each(function(i) {
207
 		$('.itp_det_head').find('button[id^="ITP_BTN_STINFO02010_"]').each(function(i) {
208
 			$(this).hide();
208
 			$(this).hide();
209
 		});
209
 		});
210
-		$('div[id$="_CONTAINER"]').each(function(i) {
211
-			if($(this).attr('id').startsWith('ITP_AJAX_STINFO02010')) {
212
-				$(this).hide();
213
-			}
210
+		$('#ITP_TABSTINFO02010').find('div[id$="_CONTAINER"]').each(function(i) {
211
+			$(this).hide();
214
 		});
212
 		});
215
 		if(mode == 'LIST') { // 목록
213
 		if(mode == 'LIST') { // 목록
216
 			$('#ITP_AJAX_STINFO02010_LIST_CONTAINER').show();
214
 			$('#ITP_AJAX_STINFO02010_LIST_CONTAINER').show();

+ 2 - 4
bin/src/main/webapp/js/app/stinfo/ITP_STINFO03010.js

@@ -224,10 +224,8 @@ let pageObj = {
224
 		$('.itp_det_head').find('button[id^="ITP_BTN_STINFO03010_"]').each(function(i) {
224
 		$('.itp_det_head').find('button[id^="ITP_BTN_STINFO03010_"]').each(function(i) {
225
 			$(this).hide();
225
 			$(this).hide();
226
 		});
226
 		});
227
-		$('div[id$="_CONTAINER"]').each(function(i) {
228
-			if($(this).attr('id').startsWith('ITP_AJAX_STINFO03010')) {
229
-				$(this).hide();
230
-			}
227
+		$('#ITP_TABSTINFO03010').find('div[id$="_CONTAINER"]').each(function(i) {
228
+			$(this).hide();
231
 		});
229
 		});
232
 		if(mode == 'LIST') { // 목록
230
 		if(mode == 'LIST') { // 목록
233
 			fn_show_btn_auth_array(['#ITP_BTN_STINFO03010_SRH', '#ITP_BTN_STINFO03010_NEWREG']);
231
 			fn_show_btn_auth_array(['#ITP_BTN_STINFO03010_SRH', '#ITP_BTN_STINFO03010_NEWREG']);

+ 2 - 4
bin/src/main/webapp/js/app/stinfo/ITP_STINFO04010.js

@@ -225,10 +225,8 @@ let pageObj = {
225
         $('.itp_det_head').find('button[id^="ITP_BTN_STINFO04010_"]').each(function(i) {
225
         $('.itp_det_head').find('button[id^="ITP_BTN_STINFO04010_"]').each(function(i) {
226
             $(this).hide();
226
             $(this).hide();
227
         });
227
         });
228
-        $('div[id$="_CONTAINER"]').each(function(i) {
229
-            if($(this).attr('id').startsWith('ITP_AJAX_STINFO04010')) {
230
-                $(this).hide();
231
-            }
228
+        $('#ITP_TABSTINFO04010').find('div[id$="_CONTAINER"]').each(function(i) {
229
+            $(this).hide();
232
         });
230
         });
233
         if(mode == 'LIST') { // 목록
231
         if(mode == 'LIST') { // 목록
234
             $('#ITP_AJAX_STINFO04010_LIST_CONTAINER').show();
232
             $('#ITP_AJAX_STINFO04010_LIST_CONTAINER').show();

+ 2 - 4
bin/src/main/webapp/js/app/stinfo/ITP_STINFO05010.js

@@ -202,10 +202,8 @@ let pageObj = {
202
 		$('.itp_det_head').find('button[id^="ITP_BTN_STINFO05010_"]').each(function(i) {
202
 		$('.itp_det_head').find('button[id^="ITP_BTN_STINFO05010_"]').each(function(i) {
203
 			$(this).hide();
203
 			$(this).hide();
204
 		});
204
 		});
205
-		$('div[id$="_CONTAINER"]').each(function(i) {
206
-			if($(this).attr('id').startsWith('ITP_AJAX_STINFO05010')) {
207
-				$(this).hide();
208
-			}
205
+		$('#ITP_TABSTINFO05010').find('div[id$="_CONTAINER"]').each(function(i) {
206
+			$(this).hide();
209
 		});
207
 		});
210
 		if(mode == 'LIST') { // 목록
208
 		if(mode == 'LIST') { // 목록
211
 			$('#ITP_AJAX_STINFO05010_LIST_CONTAINER').show();
209
 			$('#ITP_AJAX_STINFO05010_LIST_CONTAINER').show();

+ 2 - 4
bin/src/main/webapp/js/app/stinfo/ITP_STINFO06010.js

@@ -96,10 +96,8 @@ let pageObj = {
96
 		$('.itp_det_head').find('button[id^="ITP_BTN_STINFO06010_"]').each(function(i) {
96
 		$('.itp_det_head').find('button[id^="ITP_BTN_STINFO06010_"]').each(function(i) {
97
 			$(this).hide();
97
 			$(this).hide();
98
 		});
98
 		});
99
-		$('div[id$="_CONTAINER"]').each(function(i) {
100
-			if($(this).attr('id').startsWith('ITP_AJAX_STINFO06010')) {
101
-				$(this).hide();
102
-			}
99
+		$('#ITP_TABSTINFO06010').find('div[id$="_CONTAINER"]').each(function(i) {
100
+			$(this).hide();
103
 		});
101
 		});
104
 		if(mode == 'LIST') { // 목록
102
 		if(mode == 'LIST') { // 목록
105
 			$('#ITP_AJAX_STINFO06010_LIST_CONTAINER').show();
103
 			$('#ITP_AJAX_STINFO06010_LIST_CONTAINER').show();

+ 2 - 4
bin/src/main/webapp/js/app/stinfo/ITP_STINFO07010.js

@@ -146,10 +146,8 @@ let pageObj = {
146
 		$('.itp_det_head').find('button[id^="ITP_BTN_STINFO07010_"]').each(function(i) {
146
 		$('.itp_det_head').find('button[id^="ITP_BTN_STINFO07010_"]').each(function(i) {
147
 			$(this).hide();
147
 			$(this).hide();
148
 		});
148
 		});
149
-		$('div[id$="_CONTAINER"]').each(function(i) {
150
-			if($(this).attr('id').startsWith('ITP_AJAX_STINFO07010')) {
151
-				$(this).hide();
152
-			}
149
+		$('#ITP_TABSTINFO07010').find('div[id$="_CONTAINER"]').each(function(i) {
150
+			$(this).hide();
153
 		});
151
 		});
154
 		if(mode == 'LIST') { // 목록
152
 		if(mode == 'LIST') { // 목록
155
 			$('#ITP_AJAX_STINFO07010_LIST_CONTAINER').show();
153
 			$('#ITP_AJAX_STINFO07010_LIST_CONTAINER').show();