浏览代码

일부 그리드 resize 적용

yhl88 2 年之前
父节点
当前提交
72f8587f8e

+ 1 - 1
src/main/webapp/js/app/collmng/ITP_COLLMNG01010.js

@@ -178,7 +178,7 @@ let pageObj = {
178
 			$('#ITP_FORM_COLLMNG01010_SEARCH_TO_DT').datepicker('setDate', toDate);
178
 			$('#ITP_FORM_COLLMNG01010_SEARCH_TO_DT').datepicker('setDate', toDate);
179
 		},
179
 		},
180
 		grid: function() {
180
 		grid: function() {
181
-			//itp_fn_jqgrid_resize(COLLMNG01010_GRID_ID, COLLMNG01010_GRID_LIST, 'lg');
181
+			itp_fn_jqgrid_resize(COLLMNG01010_GRID_ID, COLLMNG01010_GRID_LIST, 'lg');
182
 			itp_fn_fire_window_resize();
182
 			itp_fn_fire_window_resize();
183
 		},
183
 		},
184
 		ready: function() {
184
 		ready: function() {

+ 2 - 1
src/main/webapp/js/app/oper/ITP_OPER07010.js

@@ -277,7 +277,8 @@ let pageObj = {
277
 			});
277
 			});
278
 		},
278
 		},
279
 		grid: function() {
279
 		grid: function() {
280
-			
280
+			itp_fn_jqgrid_resize(OPER07010_BRAND_GRID_ID, OPER07010_BRAND_GRID_LIST, 'lg');
281
+			itp_fn_jqgrid_resize(OPER07010_STORE_GRID_ID, OPER07010_STORE_GRID_LIST, 'lg');
281
 		},
282
 		},
282
 		ready: function() {
283
 		ready: function() {
283
 			listObj.init();
284
 			listObj.init();

+ 1 - 1
src/main/webapp/js/app/pomng/ITP_POMNG01010.js

@@ -188,7 +188,7 @@ let pageObj = {
188
 		grid: function() {
188
 		grid: function() {
189
 			itp_fn_jqgrid_resize(POMNG01010_DETAIL_GRID_ID, POMNG01010_DETAIL_GRID_LIST, 'lg');
189
 			itp_fn_jqgrid_resize(POMNG01010_DETAIL_GRID_ID, POMNG01010_DETAIL_GRID_LIST, 'lg');
190
 			
190
 			
191
-			//itp_fn_fire_window_resize();
191
+			itp_fn_fire_window_resize();
192
 		},
192
 		},
193
 		ready: function() {
193
 		ready: function() {
194
 			createObj.init();
194
 			createObj.init();

+ 1 - 1
src/main/webapp/js/app/pomng/ITP_POMNG03010.js

@@ -942,7 +942,7 @@ let listObj = {
942
 		init: function () {
942
 		init: function () {
943
 			// 데이터 없을때
943
 			// 데이터 없을때
944
 			listObj.empty.push();
944
 			listObj.empty.push();
945
-			//itp_fn_jqgrid_resize(POMNG03010_GRID_ID, POMNG03010_GRID_LIST, 'lg');
945
+			itp_fn_jqgrid_resize(POMNG03010_GRID_ID, POMNG03010_GRID_LIST, 'lg');
946
 			itp_fn_fire_window_resize();
946
 			itp_fn_fire_window_resize();
947
 			this.search();
947
 			this.search();
948
 			
948
 			

+ 1 - 1
src/main/webapp/js/app/pomng/ITP_POMNG04010.js

@@ -205,7 +205,7 @@ let pageObj = {
205
 		grid: function() {
205
 		grid: function() {
206
 			itp_fn_jqgrid_resize(POMNG04010_GRID_ID, POMNG04010_GRID_LIST, 'lg');
206
 			itp_fn_jqgrid_resize(POMNG04010_GRID_ID, POMNG04010_GRID_LIST, 'lg');
207
 			//listObj.empty.init();
207
 			//listObj.empty.init();
208
-			//itp_fn_fire_window_resize();
208
+			itp_fn_fire_window_resize();
209
 		},
209
 		},
210
 		ready: function() {
210
 		ready: function() {
211
 			listObj.init();
211
 			listObj.init();

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

@@ -201,8 +201,9 @@ let pageObj = {
201
 			itp_fn_form_event.onKeyup('#ITP_FORM_STINFO03010_DETAIL');
201
 			itp_fn_form_event.onKeyup('#ITP_FORM_STINFO03010_DETAIL');
202
 		},
202
 		},
203
 		grid: function() {
203
 		grid: function() {
204
-			//itp_fn_jqgrid_resize(STINFO03010_GRID_ID, STINFO03010_GRID_LIST, 'lg');
205
-			
204
+			itp_fn_jqgrid_resize(STINFO03010_GRID_ID, STINFO03010_GRID_LIST, 'lg');
205
+			itp_fn_jqgrid_resize(STINFO03010_VIEW_GRID_ID, STINFO03010_VIEW_GRID_LIST, 'lg');
206
+			itp_fn_jqgrid_resize(STINFO03010_DETAIL_GRID_ID, STINFO03010_DETAIL_GRID_LIST, 'lg');
206
 		},
207
 		},
207
 		ready: function() {
208
 		ready: function() {
208
 			listObj.init();
209
 			listObj.init();

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

@@ -679,6 +679,7 @@ let modifyObj = {
679
 			listObj.empty.push();
679
 			listObj.empty.push();
680
 			this.unload();
680
 			this.unload();
681
 			this.load(param);
681
 			this.load(param);
682
+			itp_fn_set_resize(STINFO06010_DETAIL_GRID_ID, STINFO06010_DETAIL_GRID_LIST, 'lg');
682
 		},
683
 		},
683
 		load: function(param) {
684
 		load: function(param) {
684
 			var _this = this;
685
 			var _this = this;
@@ -852,6 +853,7 @@ let createObj = {
852
 		init: function (param) {
853
 		init: function (param) {
853
 			// 데이터 없을때
854
 			// 데이터 없을때
854
 			listObj.empty.push();
855
 			listObj.empty.push();
856
+			itp_fn_set_resize(STINFO06010_DETAIL_GRID_ID, STINFO06010_DETAIL_GRID_LIST, 'lg');
855
 			this.unload();
857
 			this.unload();
856
 			this.load(param);
858
 			this.load(param);
857
 		},
859
 		},

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

@@ -107,7 +107,7 @@ let pageObj = {
107
 			itemClassLevel2.init('ITP_FORM_STINFO07010_SEARCH_ITEM_CLASS', 1);
107
 			itemClassLevel2.init('ITP_FORM_STINFO07010_SEARCH_ITEM_CLASS', 1);
108
 		},
108
 		},
109
 		grid: function() {
109
 		grid: function() {
110
-			//itp_fn_jqgrid_resize(STINFO07010_GRID_ID, STINFO07010_GRID_LIST, 'lg');
110
+			itp_fn_jqgrid_resize(STINFO07010_GRID_ID, STINFO07010_GRID_LIST, 'lg');
111
 			listObj.empty.init();
111
 			listObj.empty.init();
112
 		},
112
 		},
113
 		ready: function() {
113
 		ready: function() {
@@ -144,7 +144,7 @@ let pageObj = {
144
 			$(this).hide();
144
 			$(this).hide();
145
 		});
145
 		});
146
 		if(mode == 'LIST') { // 목록
146
 		if(mode == 'LIST') { // 목록
147
-			//itp_fn_fire_window_resize();
147
+			itp_fn_fire_window_resize();
148
 			$('#ITP_AJAX_STINFO07010_LIST_CONTAINER').show();
148
 			$('#ITP_AJAX_STINFO07010_LIST_CONTAINER').show();
149
 			fn_show_btn_auth_array(['#ITP_BTN_STINFO07010_SRH', '#ITP_BTN_STINFO07010_NEWREG', '#ITP_BTN_STINFO07010_DELETE']);
149
 			fn_show_btn_auth_array(['#ITP_BTN_STINFO07010_SRH', '#ITP_BTN_STINFO07010_NEWREG', '#ITP_BTN_STINFO07010_DELETE']);
150
 		} else if(mode == 'ADD') { // 등록
150
 		} else if(mode == 'ADD') { // 등록

+ 1 - 1
src/main/webapp/js/app/system/ITP_SYSTEM07010.js

@@ -163,7 +163,7 @@ let pageObj = {
163
 			});
163
 			});
164
 		},
164
 		},
165
 		grid: function() {
165
 		grid: function() {
166
-			
166
+			itp_fn_jqgrid_resize(SYSTEM07010_GRID_ID, SYSTEM07010_GRID_LIST, 'lg');
167
 		},
167
 		},
168
 		ready: function() {
168
 		ready: function() {
169
 			listObj.init();
169
 			listObj.init();

+ 4 - 0
src/main/webapp/js/app/vendinfo/ITP_VENDINFO02010.js

@@ -96,6 +96,7 @@ let pageObj = {
96
 		init: function () {
96
 		init: function () {
97
 			this.view(); //ui 에서 view 불러옴
97
 			this.view(); //ui 에서 view 불러옴
98
 			this.ready();//ui 에서 ready 불러옴
98
 			this.ready();//ui 에서 ready 불러옴
99
+			this.grid();
99
 		},
100
 		},
100
 		view: function() {
101
 		view: function() {
101
 			// 버튼 권한설정
102
 			// 버튼 권한설정
@@ -107,6 +108,9 @@ let pageObj = {
107
 				}
108
 				}
108
 			});
109
 			});
109
 		},
110
 		},
111
+		grid: function() {
112
+			itp_fn_jqgrid_resize(VENDINFO02010_GRID_ID, VENDINFO02010_GRID_LIST, 'lg');
113
+		},
110
 		ready: function() {
114
 		ready: function() {
111
 			listObj.init();//목록화면 오브젝트
115
 			listObj.init();//목록화면 오브젝트
112
 		}
116
 		}