|
@@ -294,6 +294,7 @@ let pageObj = {
|
294
|
294
|
ui: {
|
295
|
295
|
init: function () {
|
296
|
296
|
this.view();
|
|
297
|
+ this.grid();
|
297
|
298
|
listObj.empty.init();
|
298
|
299
|
listObj.init();
|
299
|
300
|
},
|
|
@@ -313,9 +314,11 @@ let pageObj = {
|
313
|
314
|
$('#ITP_TAB_STINFO06010 .input-group.date').datepicker(ITP_DATE_LANGUAGE);
|
314
|
315
|
$('#ITP_FORM_STINFO06010_DETAIL_FROM_DT').datepicker('setDate', new Date(now.setMonth(now.getMonth() - 1)));
|
315
|
316
|
$('#ITP_FORM_STINFO06010_DETAIL_TO_DT').datepicker('setDate', new Date());
|
316
|
|
-
|
317
|
|
-
|
318
|
|
- },
|
|
317
|
+ },
|
|
318
|
+ grid: function() {
|
|
319
|
+ itp_fn_jqgrid_resize(STINFO06010_GRID_ID, STINFO06010_GRID_LIST, 'lg');
|
|
320
|
+ itp_fn_set_resize(STINFO06010_DETAIL_GRID_ID, STINFO06010_DETAIL_GRID_LIST, 'lg');
|
|
321
|
+ }
|
319
|
322
|
},
|
320
|
323
|
event: {
|
321
|
324
|
init: function () {
|
|
@@ -586,7 +589,6 @@ let listObj = {
|
586
|
589
|
init: function () {
|
587
|
590
|
// 데이터 없을때
|
588
|
591
|
listObj.empty.push();
|
589
|
|
- itp_fn_jqgrid_resize(STINFO06010_GRID_ID, STINFO06010_GRID_LIST, 'lg');
|
590
|
592
|
this.search();
|
591
|
593
|
},
|
592
|
594
|
search: function() {
|
|
@@ -679,7 +681,6 @@ let modifyObj = {
|
679
|
681
|
listObj.empty.push();
|
680
|
682
|
this.unload();
|
681
|
683
|
this.load(param);
|
682
|
|
- itp_fn_set_resize(STINFO06010_DETAIL_GRID_ID, STINFO06010_DETAIL_GRID_LIST, 'lg');
|
683
|
684
|
},
|
684
|
685
|
load: function(param) {
|
685
|
686
|
var _this = this;
|
|
@@ -701,7 +702,6 @@ let modifyObj = {
|
701
|
702
|
/*
|
702
|
703
|
itp_fn_grid_load_complete(data, STINFO06010_DETAIL_GRID_ID, false, 'number', 'STINFO06010', modifyObj.itp_STINFO06010_search, modifyObj.empty, true, data.gridRecords, true);
|
703
|
704
|
*/
|
704
|
|
- itp_fn_set_resize(STINFO06010_DETAIL_GRID_ID, STINFO06010_DETAIL_GRID_LIST, 'lg');
|
705
|
705
|
const container=$('#ITP_STINFO06010_DETAIL_jqGrid_list').closest('#ITP_CONTAINER');
|
706
|
706
|
let hei=container.height();
|
707
|
707
|
if(hei>300 ) {
|
|
@@ -853,7 +853,6 @@ let createObj = {
|
853
|
853
|
init: function (param) {
|
854
|
854
|
// 데이터 없을때
|
855
|
855
|
listObj.empty.push();
|
856
|
|
- itp_fn_set_resize(STINFO06010_DETAIL_GRID_ID, STINFO06010_DETAIL_GRID_LIST, 'lg');
|
857
|
856
|
this.unload();
|
858
|
857
|
this.load(param);
|
859
|
858
|
},
|
|
@@ -874,7 +873,6 @@ let createObj = {
|
874
|
873
|
/*
|
875
|
874
|
itp_fn_grid_load_complete(data, STINFO06010_DETAIL_GRID_ID, false, 'number', 'STINFO06010', modifyObj.itp_STINFO06010_search, modifyObj.empty, true, data.gridRecords, true);
|
876
|
875
|
*/
|
877
|
|
- itp_fn_set_resize(STINFO06010_DETAIL_GRID_ID, STINFO06010_DETAIL_GRID_LIST, 'lg');
|
878
|
876
|
const container=$('#ITP_STINFO06010_DETAIL_jqGrid_list').closest('#ITP_CONTAINER');
|
879
|
877
|
let hei=container.height();
|
880
|
878
|
if(hei>300 ) {
|