Procházet zdrojové kódy

그리드 데이타 없을 경우 클릭시 동작 처리

dwkim před 2 roky
rodič
revize
d32961b722
1 změnil soubory, kde provedl 6 přidání a 3 odebrání
  1. 6 3
      src/main/webapp/js/app/oper/ITP_OPER03010.js

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

@@ -374,13 +374,15 @@ let listObj = {
374 374
 	},
375 375
 	empty: {
376 376
 		init: function() {
377
-			var _this = this;
377
+			// ==>dwkim var _this = this;
378 378
 			this.push();
379
+			/*  ==>dwkim 
379 380
 			$(OPER03010_GRID_EMPTY).on('click', function() {
380 381
 				_this.back();
381 382
 				_this.itp_OPER03010_param.gridSize = $.jgrid.defaults.rowNum;
382 383
 				$(OPER03010_GRID_ID).setGridParam({'postData': JSON.stringify(_this.itp_OPER03010_param)}).trigger('reloadGrid');
383 384
 			});
385
+			*/
384 386
 		},
385 387
 		itp_OPER03010_param: {},
386 388
 		push: function() {
@@ -400,7 +402,7 @@ let listObj = {
400 402
 			listObj.empty.push();
401 403
 			itp_fn_jqgrid_resize(OPER03010_GRID_ID, OPER03010_GRID_LIST, 'lg');
402 404
 			itp_fn_fire_window_resize();
403
-			this.reload();
405
+			// ==>dwkim this.reload();
404 406
 			this.search();
405 407
 		},
406 408
 		colModel: gridColModel.list,
@@ -441,13 +443,14 @@ let listObj = {
441 443
 			};
442 444
 			itp_fn_grid_make_remote(option);
443 445
 		},
446
+		/* ==>dwkim
444 447
 		reload : function() {
445 448
 			var _this = this;
446 449
 			$(OPER03010_GRID_EMPTY).off('click').on('click', function() {
447 450
 				pageObj.itp_OPER03010_param.gridSize = $.jgrid.defaults.rowNum;
448 451
 				$(OPER03010_GRID_ID).setGridParam({'postData': JSON.stringify(pageObj.itp_OPER03010_param)}).trigger('reloadGrid');
449 452
 			});
450
-		},
453
+		}, */
451 454
 		clearData : function() {
452 455
 			$(OPER03010_GRID_ID).jqGrid('clearGridData', true);
453 456
 			$(OPER03010_GRID_LIST).find('.ui-jqgrid-bdiv').css('min-height', '100px');