浏览代码

운영관리 수정

whakdo963 2 年之前
父节点
当前提交
844d51e81b

+ 10 - 8
src/main/webapp/app/oper/OPER01010.html

@@ -4,12 +4,12 @@
4 4
 			<div class="itp_det_head fix">
5 5
 				<h2 class="pull-left itp_det_tit"><i class="glyphicon glyphicon-chevron-right"></i><i class="glyphicon glyphicon-chevron-right"></i> <strong>사용자관리</strong></h2>
6 6
 				<div class="pull-right itp_cicon">
7
-					<button type="button" id="ITP_BTN_OPER01010_SRH" class="btn btn-success btn-md SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i>조회</button>
8
-					<button type="button" id="ITP_BTN_OPER01010_MODIFY" class="btn btn-success btn-md UPB" style="display: inline-block;"><i class="glyphicon "></i>수정</button>
9
-					<button type="button" id="ITP_BTN_OPER01010_NEWREG" class="btn btn-primary btn-md NEB" style="display: inline-block;"><i class="glyphicon "></i>신규등록</button>
10
-					<button type="button" id="ITP_BTN_OPER01010_DELETE" class="btn btn-danger btn-md DEB"><i class="glyphicon "></i>삭제</button>
11
-					<button type="button" id="ITP_BTN_OPER01010_SAVE" class="btn btn-success btn-md SAB"><i class="glyphicon "></i>저장</button>
12
-					<button type="button" id="ITP_BTN_OPER01010_CANCELLIST" class="btn btn-warning btn-md PRB"><i class="glyphicon "></i>취소/목록</button>
7
+					<button type="button" id="ITP_BTN_OPER01010_SRH" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i>조회</button>
8
+					<button type="button" id="ITP_BTN_OPER01010_MODIFY" class="btn btn-success btn-sm UPB" style="display: inline-block;"><i class="glyphicon "></i>수정</button>
9
+					<button type="button" id="ITP_BTN_OPER01010_NEWREG" class="btn btn-primary btn-sm NEB" style="display: inline-block;"><i class="glyphicon "></i>신규등록</button>
10
+					<button type="button" id="ITP_BTN_OPER01010_DELETE" class="btn btn-danger btn-sm DEB"><i class="glyphicon "></i>삭제</button>
11
+					<button type="button" id="ITP_BTN_OPER01010_SAVE" class="btn btn-success btn-sm SAB"><i class="glyphicon "></i>저장</button>
12
+					<button type="button" id="ITP_BTN_OPER01010_CANCELLIST" class="btn btn-warning btn-sm PRB"><i class="glyphicon "></i>취소/목록</button>
13 13
 				</div>
14 14
 			</div>
15 15
 			<div class="itp_det_in">
@@ -29,7 +29,9 @@
29 29
 											<button type="button" id="ITP_FORM_OPER01010_DELETE_AFFL_SHOP" class="btn btn-warning btn-sm UPB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
30 30
 						                </div>
31 31
 										<div class="col-xs-2 itp_ip itp_noMar">
32
-											<select id="ITP_FORM_OPER01010_SEARCH_BRAND_ID" class="form-control itp_input" name="sbrandId"></select>
32
+											<select id="ITP_FORM_OPER01010_SEARCH_BRAND_ID" class="form-control itp_input" name="sbrandId">
33
+												<option value="">브랜드명</option>											
34
+											</select>
33 35
 										</div>									
34 36
 									</div>
35 37
 									<div class="form-group" style="padding-top: 10px; border-top: 1px dotted #ccc;">
@@ -116,7 +118,7 @@
116 118
 										<div class="form-group">
117 119
 											<label class="col-xs-2 itp_lb">사용자ID *</label>
118 120
 											<div class="col-xs-4 itp_ip">
119
-												<div class="col-xs-2 itp_in fnUserId" style="margin-top:5px;"></div>
121
+												<div class="col-xs-a itp_in fnUserId" style="margin-top:5px;"></div>
120 122
 												<div class="col-xs-7 itp_in">
121 123
 													<div class="input-group">
122 124
 														<input type="text" id="ITP_FORM_OPER01010_DETAIL_USER_ID" data-check-required="empty" class="form-control itp_input" name="userId" value="" maxlength="20">

+ 3 - 1
src/main/webapp/app/oper/OPER02010.html

@@ -28,7 +28,9 @@
28 28
 											<button type="button" id="ITP_FORM_OPER02010_DELETE_AFFL_SHOP_BTN" class="btn btn-warning btn-sm UPB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
29 29
 										</div>
30 30
 										<div class="col-xs-2 itp_ip itp_noMar">
31
-											<select id="ITP_FORM_OPER02010_SEARCH_BRAND_ID" class="form-control itp_input" name="sbrandId"></select>
31
+											<select id="ITP_FORM_OPER02010_SEARCH_BRAND_ID" class="form-control itp_input" name="sbrandId">
32
+												<option value="">브랜드명</option>
33
+											</select>
32 34
 										</div>
33 35
 									</div>
34 36
 									<div class="form-group" style="padding-top: 10px; border-top: 1px dotted #ccc;">

+ 3 - 1
src/main/webapp/app/oper/OPER06010.html

@@ -27,7 +27,9 @@
27 27
 											<button type="button" id="ITP_BTN_OPER06010_DELETE_AFFL_SHOP" class="btn btn-warning btn-sm UPB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
28 28
 										</div>
29 29
 										<div class="col-xs-2 itp_ip itp_noMar">
30
-											<select id="ITP_FORM_OPER06010_SEARCH_BRAND_ID" class="form-control itp_input" name="sbrandId"></select>
30
+											<select id="ITP_FORM_OPER06010_SEARCH_BRAND_ID" class="form-control itp_input" name="sbrandId">
31
+												<option value="">브랜드명</option>
32
+											</select>
31 33
 										</div>
32 34
 									</div>
33 35
 									<div class="form-group">

+ 4 - 4
src/main/webapp/css/style.css

@@ -181,7 +181,7 @@ a, button {outline:none !important; text-decoration:none !important;}
181 181
 #ITP_SIDEBAR .itp_nav .itp_svgs li a .itp_tt {float:left;}
182 182
 
183 183
 /* ITP_CONTAINER */
184
-#ITP_CONTAINER {height:calc(100vh - 100px); padding:8px; transition:all .25s ease; float:left; width:calc(100% - 240px);background:#fff;}
184
+#ITP_CONTAINER {height:calc(100vh - 100px); padding:5px 8px; transition:all .25s ease; float:left; width:calc(100% - 240px);background:#fff;}
185 185
 #ITP_CONTAINER.itp_open_conts {padding-left:8px; width:99.9%;}
186 186
 #ITP_CONTAINER .itp_contents {background:#fff; height:100%;}
187 187
 #ITP_CONTAINER .itp_contents .itp_sec {height:100%;}
@@ -300,8 +300,8 @@ html:lang(en) #ITP_CONTAINER .itp_detail .itp_form .itp_thumb_inline .itp_thumb_
300 300
 #ITP_CONTAINER .itp_detail .itp_form .itp_chk_list .itp_chk:first-child {margin-top:5px;}
301 301
 #ITP_CONTAINER .itp_detail .itp_form .itp_sch_btn {padding: 3px 6px;} /* 조회 버튼 */
302 302
 
303
-#ITP_CONTAINER .itp_detail .itp_lg_form {padding-top:10px;}
304
-#ITP_CONTAINER .itp_detail .itp_lg_form.itp_type1 {padding-left:15px; padding-right:15px; padding-bottom:15px; }
303
+#ITP_CONTAINER .itp_detail .itp_lg_form {padding-top:5px;}
304
+#ITP_CONTAINER .itp_detail .itp_lg_form.itp_type1 {padding-left:15px; padding-right:15px; padding-bottom:10px; }
305 305
 #ITP_CONTAINER .itp_detail .itp_lg_form.itp_type1 .itp_srh_border {border:1px solid #ddd; background:#fff; padding:15px 15px 5px 15px; border-radius:4px;box-shadow: 0px 0px 6px #ddd;}
306 306
 #ITP_CONTAINER .itp_detail .itp_lg_form .form-group {margin-bottom:10px;}
307 307
 #ITP_CONTAINER .itp_detail .itp_lg_form .form-control {font-size:13px; color:#333;}
@@ -356,7 +356,7 @@ html:lang(en) #ITP_CONTAINER .itp_detail .itp_form .itp_thumb_inline .itp_thumb_
356 356
 #ITP_CONTAINER .itp_tb_list .itp_no_data u {color:#337ab7; cursor:pointer;}
357 357
 
358 358
 #ITP_CONTAINER .itp_tb_list .itp_views {font-size:12px; margin-bottom:8px; display:none;}
359
-#ITP_CONTAINER .itp_tb_list .itp_views .itp_shrv {float:left; width:50%;}
359
+#ITP_CONTAINER .itp_tb_list .itp_views .itp_shrv {float:left; width:50%; padding-left:5px;}
360 360
 #ITP_CONTAINER .itp_tb_list .itp_views .itp_shrv span {float:left;}
361 361
 #ITP_CONTAINER .itp_tb_list .itp_views .itp_shrv em {font-style:normal;}
362 362
 #ITP_CONTAINER .itp_tb_list .itp_views .itp_shrv .shrv_txt {margin-right:4px;}

+ 3 - 3
src/main/webapp/css/ui.jqgrid-bootstrap.css

@@ -192,7 +192,7 @@ div.tablediv > .table-bordered {
192 192
 }
193 193
 .ui-jqgrid tr.jqgrow {
194 194
 	outline-style: none;
195
-	height:32px;
195
+	height:25.5px;
196 196
 }
197 197
 .ui-jqgrid tr.jqgroup {
198 198
 	outline-style: none;
@@ -212,7 +212,7 @@ div.tablediv > .table-bordered {
212 212
 .ui-jqgrid .ui-jqgrid-btable tbody tr.jqgrow td {
213 213
 	overflow: hidden;
214 214
 	white-space: pre;
215
-	/* padding-right: 2px; */
215
+	padding:0 5px;
216 216
 }
217 217
 .itp_tb_list.itp_gOver .ui-jqgrid .ui-jqgrid-btable tbody tr.jqgrow td {
218 218
 	overflow: visible;
@@ -232,7 +232,7 @@ div.tablediv > .table-bordered {
232 232
 .ui-jqgrid tr.jqfoot td {
233 233
 	white-space: nowrap;
234 234
 }
235
-.ui-jqgrid tr.ui-row-ltr td {font-size:13px;color:#333;}
235
+.ui-jqgrid tr.ui-row-ltr td {font-size:13px;color:#333; font-weight:bold;}
236 236
 .ui-jqgrid tr.ui-row-rtl td {font-size:13px;color:#333;}
237 237
 .ui-jqgrid .ui-jqgrid-resize-mark {
238 238
 	width:2px;

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

@@ -275,7 +275,6 @@ let pageObj = {
275 275
 			fn_show_btn_auth_array(['#ITP_BTN_OPER01010_SRH', '#ITP_BTN_OPER01010_NEWREG']);
276 276
 		} else if(mode == 'ADD') { // 등록
277 277
 			$('#ITP_AJAX_OPER01010_DETAIL_CONTAINER').show();
278
-			$('.fnUserId').hide(); //사용자 아이디 신규등록에서 보이지 않게하기
279 278
 			fn_show_btn_auth_array(['#ITP_BTN_OPER01010_CANCELLIST', '#ITP_BTN_OPER01010_SAVE']);
280 279
 
281 280
 			$('#ITP_FORM_OPER01010_DETAIL').find('input, textarea, select, checkbox').each(function(i, elem) {
@@ -325,7 +324,7 @@ let pageObj = {
325 324
 						}
326 325
 					});
327 326
 					$((pageObj.pageMode === 'MODIFY') ? OPER01010_NEW_GRID_EMPTY : OPER01010_DETAIL_GRID_EMPTY).hide();
328
-					$("tr.jqgrow:odd").css("background", "#f5f5f5"); //행 추가할때 2번째 마다 색변경
327
+					$("tr.jqgrow:odd").css("background", "#EEFFFE"); //행 추가할때 2번째 마다 색변경
329 328
 				};
330 329
 				fn_call_popup('comm', 'AUTH_SCH_POPUP', '#ITP_ASIDE', popFn, null, 'S');
331 330
 			},
@@ -349,7 +348,7 @@ let pageObj = {
349 348
 				url: DOMAIN + API_USERAUTH_GRID_LIST,
350 349
 				multiselect: (this.mode !== 'VIEW'),
351 350
 				loadComplete: function(data) {
352
-					$("tr.jqgrow:odd").css("background", "#CEDFED"); //2번째 마다 색변경
351
+					$("tr.jqgrow:odd").css("background", "#EEFFFE"); //2번째 마다 색변경
353 352
 
354 353
 					console.log(data);
355 354
 					itp_fn_grid_load_complete(data, gridId, true, undefined, 'OPER01010_' + this.mode);
@@ -435,7 +434,7 @@ let listObj = {
435 434
 					}
436 435
 				},
437 436
 				loadComplete: function(data) {
438
-					$("tr.jqgrow:odd").css("background", "#F2F8FF"); //2번째 마다 색변경
437
+					$("tr.jqgrow:odd").css("background", "#EEFFFE"); //2번째 마다 색변경
439 438
 					console.log(data);
440 439
 					itp_fn_grid_load_complete(data, OPER01010_GRID_ID, true, 'number', 'OPER01010', listObj.itp_OPER01010_search, _this.itp_fn_OPER01010_empty, true, data.gridRecords, true);
441 440
 					var ids = $(OPER01010_GRID_ID).getDataIDs();
@@ -678,7 +677,7 @@ let createObj = {
678 677
 				data: gridData,
679 678
 				multiselect: true,
680 679
 				loadComplete: function(data) {
681
-					$("tr.jqgrow:odd").css("background", "#f5f5f5"); //2번째 마다 색변경
680
+					$("tr.jqgrow:odd").css("background", "#EEFFFE"); //2번째 마다 색변경
682 681
 					_this.clearData();
683 682
 				}
684 683
 			};

+ 1 - 1
src/main/webapp/js/app/oper/ITP_OPER02010.js

@@ -444,7 +444,7 @@ let listObj = {
444 444
 					}
445 445
 				},
446 446
 				loadComplete: function(data) {
447
-					$("tr.jqgrow:odd").css("background", "#f5f5f5"); //2번째 마다 색변경
447
+					$("tr.jqgrow:odd").css("background", "#EEFFFE"); //2번째 마다 색변경
448 448
 					console.log(data);
449 449
 					itp_fn_grid_load_complete(data, OPER02010_GRID_ID, true, 'number', 'OPER02010', listObj.grid.itp_OPER02010_search, _this.itp_fn_OPER02010_empty, true, data.gridRecords, true);
450 450
 					var ids = $(OPER02010_GRID_ID).getDataIDs();

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

@@ -316,7 +316,7 @@ let pageObj = {
316 316
 						}
317 317
 					});
318 318
 					$(OPER03010_DETAIL_GRID_EMPTY).hide();
319
-					$("tr.jqgrow:odd").css("background", "#f5f5f5"); //2번째 마다 색변경
319
+					$("tr.jqgrow:odd").css("background", "#EEFFFE"); //2번째 마다 색변경
320 320
 				};
321 321
 				fn_call_popup('biz', 'BIZPOP_APPL_SALES_USER_SCH', '#ITP_ASIDE', popFn, null, 'S');
322 322
 			},
@@ -332,7 +332,7 @@ let pageObj = {
332 332
 				data: gridData,
333 333
 				multiselect: (this.mode !== 'VIEW'),
334 334
 				loadComplete: function(data) {
335
-					$("tr.jqgrow:odd").css("background", "#f5f5f5"); //2번째 마다 색변경
335
+					$("tr.jqgrow:odd").css("background", "#EEFFFE"); //2번째 마다 색변경
336 336
 					$(_this.mode === 'VIEW' ? OPER03010_VIEW_GRID_LIST : OPER03010_DETAIL_GRID_LIST).find('.ui-jqgrid .ui-jqgrid-bdiv').css('overflow-x', 'hidden');
337 337
 					data.records === 0 ? _this.clearData() : $(this.mode === 'VIEW' ? OPER03010_VIEW_GRID_EMPTY : OPER03010_DETAIL_GRID_EMPTY).hide();
338 338
 				}
@@ -374,7 +374,13 @@ let listObj = {
374 374
 	},
375 375
 	empty: {
376 376
 		init: function() {
377
+			var _this = this;
377 378
 			this.push();
379
+			$(OPER03010_GRID_EMPTY).on('click', function() {
380
+				_this.back();
381
+				_this.itp_OPER03010_param.gridSize = $.jgrid.defaults.rowNum;
382
+				$(OPER03010_GRID_ID).setGridParam({'postData': JSON.stringify(_this.itp_OPER03010_param)}).trigger('reloadGrid');
383
+			});
378 384
 		},
379 385
 		itp_OPER03010_param: {},
380 386
 		push: function() {
@@ -394,6 +400,7 @@ let listObj = {
394 400
 			listObj.empty.push();
395 401
 			itp_fn_jqgrid_resize(OPER03010_GRID_ID, OPER03010_GRID_LIST, 'lg');
396 402
 			itp_fn_fire_window_resize();
403
+			this.reload();
397 404
 			this.search();
398 405
 		},
399 406
 		colModel: gridColModel.list,
@@ -423,7 +430,7 @@ let listObj = {
423 430
 					}
424 431
 				},
425 432
 				loadComplete: function(data) {
426
-					$("tr.jqgrow:odd").css("background", "#f5f5f5"); //2번째 마다 색변경
433
+					$("tr.jqgrow:odd").css("background", "#EEFFFE"); //2번째 마다 색변경
427 434
 					console.log(data);
428 435
 					itp_fn_grid_load_complete(data, OPER03010_GRID_ID, true, 'number', 'OPER03010', pageObj.itp_OPER03010_search, listObj.empty, true, data.gridRecords, true);
429 436
 					var ids = $(OPER03010_GRID_ID).getDataIDs();
@@ -434,6 +441,13 @@ let listObj = {
434 441
 			};
435 442
 			itp_fn_grid_make_remote(option);
436 443
 		},
444
+		reload : function() {
445
+			var _this = this;
446
+			$(OPER03010_GRID_EMPTY).off('click').on('click', function() {
447
+				pageObj.itp_OPER03010_param.gridSize = $.jgrid.defaults.rowNum;
448
+				$(OPER03010_GRID_ID).setGridParam({'postData': JSON.stringify(pageObj.itp_OPER03010_param)}).trigger('reloadGrid');
449
+			});
450
+		},
437 451
 		clearData : function() {
438 452
 			$(OPER03010_GRID_ID).jqGrid('clearGridData', true);
439 453
 			$(OPER03010_GRID_LIST).find('.ui-jqgrid-bdiv').css('min-height', '100px');

+ 1 - 1
src/main/webapp/js/app/oper/ITP_OPER04010.js

@@ -248,7 +248,7 @@ let listObj = {
248 248
                     }
249 249
                 },
250 250
                 loadComplete: function(data) {
251
-                	$("tr.jqgrow:odd").css("background", "#f5f5f5"); //2번째 마다 색변경
251
+                	$("tr.jqgrow:odd").css("background", "#EEFFFE"); //2번째 마다 색변경
252 252
                     // console.log(data);
253 253
                     itp_fn_grid_load_complete(data, OPER04010_GRID_ID, true, 'number', 'OPER04010', listObj.itp_OPER04010_search, listObj.empty, true, data.gridRecords, true);
254 254
                     var ids = $(OPER04010_GRID_ID).getDataIDs();

+ 1 - 1
src/main/webapp/js/app/oper/ITP_OPER06010.js

@@ -337,7 +337,7 @@ let listObj = {
337 337
                     }
338 338
                 },
339 339
                 loadComplete: function(data) {
340
-                	$("tr.jqgrow:odd").css("background", "#f5f5f5"); //2번째 마다 색변경ㄴ
340
+                	$("tr.jqgrow:odd").css("background", "#EEFFFE"); //2번째 마다 색변경ㄴ
341 341
                     console.log(data);
342 342
                     itp_fn_grid_load_complete(data, OPER06010_GRID_ID, true, 'number', 'OPER06010', listObj.itp_OPER06010_search, listObj.empty, true, data.gridRecords, true);
343 343
                     var ids = $(OPER06010_GRID_ID).getDataIDs();