|
|
@ -697,6 +697,172 @@ Date Author Description
|
|
|
|
let schParam = null;
|
|
|
|
let schParam = null;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let $1$Control = new FimsDatasetControl({
|
|
|
|
|
|
|
|
prefix:"aaa",
|
|
|
|
|
|
|
|
prefixName:"처리상태변경이력",
|
|
|
|
|
|
|
|
infoSize:"xl",
|
|
|
|
|
|
|
|
urls : {
|
|
|
|
|
|
|
|
load : fimsApiUrl.FIND_PROCESS_STTUS_CHANGE_HIST
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
keymapper:info => info ? info.CRACKDOWN_KEY : "",
|
|
|
|
|
|
|
|
dataGetter:obj => obj.data.contents
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$1$Control.onDatasetChange = obj => {
|
|
|
|
|
|
|
|
let pagination = obj.data.pagination;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$1$Control._paginationInfo.pageNum = pagination.page;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$1$Control.totalCountSetting(obj);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
render$1$List(obj.data);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let $2$Control = new FimsDatasetControl({
|
|
|
|
|
|
|
|
prefix:"bbb",
|
|
|
|
|
|
|
|
prefixName:"주소변경이력",
|
|
|
|
|
|
|
|
infoSize:"xl",
|
|
|
|
|
|
|
|
urls : {
|
|
|
|
|
|
|
|
load : fimsApiUrl.FIND_PAYER_ADRES_HIST
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
keymapper:info => info ? info.CRACKDOWN_KEY : "",
|
|
|
|
|
|
|
|
dataGetter:obj => obj.data.contents
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$2$Control.onDatasetChange = obj => {
|
|
|
|
|
|
|
|
let pagination = obj.data.pagination;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$2$Control._paginationInfo.pageNum = pagination.page;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$2$Control.totalCountSetting(obj);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
render$2$List(obj.data);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let $3$Control = new FimsDatasetControl({
|
|
|
|
|
|
|
|
prefix:"ccc",
|
|
|
|
|
|
|
|
prefixName:"전자고지발송이력",
|
|
|
|
|
|
|
|
infoSize:"xl",
|
|
|
|
|
|
|
|
urls : {
|
|
|
|
|
|
|
|
load : fimsApiUrl.FIND_ELCTRN_NTIC_SNDNG
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
keymapper:info => info ? info.CRACKDOWN_KEY : "",
|
|
|
|
|
|
|
|
dataGetter:obj => obj.data.contents
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$3$Control.onDatasetChange = obj => {
|
|
|
|
|
|
|
|
let pagination = obj.data.pagination;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$3$Control._paginationInfo.pageNum = pagination.page;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$3$Control.totalCountSetting(obj);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
render$3$List(obj.data);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let $4$Control = new FimsDatasetControl({
|
|
|
|
|
|
|
|
prefix:"ccc",
|
|
|
|
|
|
|
|
prefixName:"민원등록이력",
|
|
|
|
|
|
|
|
infoSize:"xl",
|
|
|
|
|
|
|
|
urls : {
|
|
|
|
|
|
|
|
load : fimsApiUrl.FIND_CTZN_STTEMNT_CMPLT
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
keymapper:info => info ? info.CRACKDOWN_KEY : "",
|
|
|
|
|
|
|
|
dataGetter:obj => obj.data.contents
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$4$Control.onDatasetChange = obj => {
|
|
|
|
|
|
|
|
let pagination = obj.data.pagination;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$4$Control._paginationInfo.pageNum = pagination.page;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$4$Control.totalCountSetting(obj);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
render$4$List(obj.data);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let $5$Control = new FimsDatasetControl({
|
|
|
|
|
|
|
|
prefix:"ccc",
|
|
|
|
|
|
|
|
prefixName:"차량번호민원등록이력",
|
|
|
|
|
|
|
|
infoSize:"xl",
|
|
|
|
|
|
|
|
urls : {
|
|
|
|
|
|
|
|
load : fimsApiUrl.FIND_CTZN_STTEMNT_CMPLT
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
keymapper:info => info ? info.CRACKDOWN_KEY : "",
|
|
|
|
|
|
|
|
dataGetter:obj => obj.data.contents
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$5$Control.onDatasetChange = obj => {
|
|
|
|
|
|
|
|
let pagination = obj.data.pagination;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$5$Control._paginationInfo.pageNum = pagination.page;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$5$Control.totalCountSetting(obj);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
render$5$List(obj.data);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function search$1$s(){
|
|
|
|
|
|
|
|
$1$Control.query = {regltId: schParam.regltId};
|
|
|
|
|
|
|
|
ARR_TAP_GRID[0].clear();
|
|
|
|
|
|
|
|
$1$Control.load(1);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
function search$2$s(){
|
|
|
|
|
|
|
|
$2$Control.query = {payerId: schParam.payerId};
|
|
|
|
|
|
|
|
ARR_TAP_GRID[1].clear();
|
|
|
|
|
|
|
|
$2$Control.load(1);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
function search$3$s(){
|
|
|
|
|
|
|
|
$3$Control.query = {payerId: schParam.payerId};
|
|
|
|
|
|
|
|
ARR_TAP_GRID[2].clear();
|
|
|
|
|
|
|
|
$3$Control.load(1);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
function search$4$s(){
|
|
|
|
|
|
|
|
$4$Control.query = {gubun: 0, payerId: schParam.payerId, regltId: schParam.regltId};
|
|
|
|
|
|
|
|
ARR_TAP_GRID[3].clear();
|
|
|
|
|
|
|
|
$4$Control.load(1);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
function search$5$s(){
|
|
|
|
|
|
|
|
$5$Control.query = {gubun: 1, vhcleNo: schParam.vhcleNo};
|
|
|
|
|
|
|
|
ARR_TAP_GRID[4].clear();
|
|
|
|
|
|
|
|
$5$Control.load(1);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function render$1$List(data) {
|
|
|
|
|
|
|
|
if($$Control._paginationInfo.pagingType != "scroll"){
|
|
|
|
|
|
|
|
ARR_TAP_GRID[0].clear();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
ARR_TAP_GRID[0].appendRows(data.contents);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
function render$2$List(data) {
|
|
|
|
|
|
|
|
if($$Control._paginationInfo.pagingType != "scroll"){
|
|
|
|
|
|
|
|
ARR_TAP_GRID[1].clear();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
ARR_TAP_GRID[1].appendRows(data.contents);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
function render$3$List(data) {
|
|
|
|
|
|
|
|
if($$Control._paginationInfo.pagingType != "scroll"){
|
|
|
|
|
|
|
|
ARR_TAP_GRID[2].clear();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
ARR_TAP_GRID[2].appendRows(data.contents);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
function render$4$List(data) {
|
|
|
|
|
|
|
|
if($$Control._paginationInfo.pagingType != "scroll"){
|
|
|
|
|
|
|
|
ARR_TAP_GRID[3].clear();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
ARR_TAP_GRID[3].appendRows(data.contents);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
function render$5$List(data) {
|
|
|
|
|
|
|
|
if($$Control._paginationInfo.pagingType != "scroll"){
|
|
|
|
|
|
|
|
ARR_TAP_GRID[4].clear();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
ARR_TAP_GRID[4].appendRows(data.contents);
|
|
|
|
|
|
|
|
}
|
|
|
|
/* *******************************
|
|
|
|
/* *******************************
|
|
|
|
* Biz function
|
|
|
|
* Biz function
|
|
|
|
******************************* */
|
|
|
|
******************************* */
|
|
|
@ -813,7 +979,10 @@ Date Author Description
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
,reloadGrid: (idx) => {
|
|
|
|
,reloadGrid: (idx) => {
|
|
|
|
ARR_TAP_GRID.forEach(grid => grid.reloadData());
|
|
|
|
search$1$s();
|
|
|
|
|
|
|
|
search$2$s();
|
|
|
|
|
|
|
|
search$3$s();
|
|
|
|
|
|
|
|
search$4$s();
|
|
|
|
fnPopupBiz.resetMinwonBtn('${ctznCmpl}', false);
|
|
|
|
fnPopupBiz.resetMinwonBtn('${ctznCmpl}', false);
|
|
|
|
fnPopupBiz.resetMinwonBtn('${vhcleNoCmpl}', false);
|
|
|
|
fnPopupBiz.resetMinwonBtn('${vhcleNoCmpl}', false);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -830,10 +999,8 @@ Date Author Description
|
|
|
|
url: fimsApiUrl.ADD_CTZN_STTEMNT_CMPLT
|
|
|
|
url: fimsApiUrl.ADD_CTZN_STTEMNT_CMPLT
|
|
|
|
,data: $.param(data)
|
|
|
|
,data: $.param(data)
|
|
|
|
,success: (res) => {
|
|
|
|
,success: (res) => {
|
|
|
|
//ARR_TAP_GRID[3].resetData([]);
|
|
|
|
if(gubun === '${ctznCmpl}') search$3$s();
|
|
|
|
//ARR_TAP_GRID[3].refreshLayout();
|
|
|
|
else search$4$s();
|
|
|
|
if(gubun === '${ctznCmpl}') ARR_TAP_GRID[3].reloadData();
|
|
|
|
|
|
|
|
else ARR_TAP_GRID[4].reloadData();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1203,66 +1370,6 @@ Date Author Description
|
|
|
|
|
|
|
|
|
|
|
|
const cplntHisColumns = vhcleNoCplntHisColumns.filter((_, index) => index !== 1 );
|
|
|
|
const cplntHisColumns = vhcleNoCplntHisColumns.filter((_, index) => index !== 1 );
|
|
|
|
|
|
|
|
|
|
|
|
// 처리상태 변경 이력 DataSource
|
|
|
|
|
|
|
|
const changStsHisDatasource = {
|
|
|
|
|
|
|
|
//initialRequest: true, // 화면 load시 조회 안함 - default
|
|
|
|
|
|
|
|
api: {
|
|
|
|
|
|
|
|
readData: {
|
|
|
|
|
|
|
|
url: fimsApiUrl.FIND_PROCESS_STTUS_CHANGE_HIST
|
|
|
|
|
|
|
|
, serializer: (params) => getPageParam({regltId: schParam.regltId}, params)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 주소 변경 이력 datasource
|
|
|
|
|
|
|
|
const addrHisDatasource = {
|
|
|
|
|
|
|
|
//initialRequest: true, // 화면 load시 조회 안함 - default
|
|
|
|
|
|
|
|
api: {
|
|
|
|
|
|
|
|
readData: {
|
|
|
|
|
|
|
|
url: fimsApiUrl.FIND_PAYER_ADRES_HIST
|
|
|
|
|
|
|
|
, serializer: (params) => getPageParam({payerId: schParam.payerId}, params)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 전자고지 발송 이력 datasource
|
|
|
|
|
|
|
|
const etrnNotiSndHisDatasource = {
|
|
|
|
|
|
|
|
//initialRequest: true, // 화면 load시 조회 안함 - default
|
|
|
|
|
|
|
|
api: {
|
|
|
|
|
|
|
|
readData: {
|
|
|
|
|
|
|
|
url: fimsApiUrl.FIND_ELCTRN_NTIC_SNDNG
|
|
|
|
|
|
|
|
, serializer: (params) => getPageParam({payerId: schParam.payerId}, params)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 민원 등록 이력 datasource
|
|
|
|
|
|
|
|
const cplntHisDatasource = {
|
|
|
|
|
|
|
|
//initialRequest: true, // 화면 load시 조회 안함 - default
|
|
|
|
|
|
|
|
api: {
|
|
|
|
|
|
|
|
readData: {
|
|
|
|
|
|
|
|
url: fimsApiUrl.FIND_CTZN_STTEMNT_CMPLT
|
|
|
|
|
|
|
|
, serializer: (params) => getPageParam({gubun: 0, payerId: schParam.payerId, regltId: schParam.regltId}, params)
|
|
|
|
|
|
|
|
//params = Object.assign(params,{gubun:0, payerId: $("#payerId").val(), regltId: '${param.regltId}'});
|
|
|
|
|
|
|
|
//return fnAddPageInfo(document.frmCmplt, params);
|
|
|
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 차량번호 민원 등록 이력 datasource
|
|
|
|
|
|
|
|
const vhcleNoCplntHisHisDatasource = {
|
|
|
|
|
|
|
|
//initialRequest: false, // 화면 load시 조회 안함 - default
|
|
|
|
|
|
|
|
api: {
|
|
|
|
|
|
|
|
readData: {
|
|
|
|
|
|
|
|
url: fimsApiUrl.FIND_CTZN_STTEMNT_CMPLT
|
|
|
|
|
|
|
|
, serializer: (params) => getPageParam({gubun: 1, vhcleNo: schParam.vhcleNo}, params)
|
|
|
|
|
|
|
|
//params = Object.assign(params,{gubun:1, vhcleNo: $("#vhcleNo").val()});
|
|
|
|
|
|
|
|
//return fnAddPageInfo(document.frmCmplt, params);
|
|
|
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 처리상태 변경 이력
|
|
|
|
// 처리상태 변경 이력
|
|
|
|
const changStsHisOptions = {
|
|
|
|
const changStsHisOptions = {
|
|
|
@ -1293,51 +1400,20 @@ Date Author Description
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// 처리상태 변동이력
|
|
|
|
// 처리상태 변동이력
|
|
|
|
ARR_TAP_GRID[0] = TuiGrid.of({...changStsHisOptions, columns: changeStsHisColumns}, changStsHisDatasource, (res) => {
|
|
|
|
ARR_TAP_GRID[0] = TuiGrid.of({...changStsHisOptions, columns: changeStsHisColumns}, null);
|
|
|
|
ARR_TAP_GRID[0].resetData([]);
|
|
|
|
|
|
|
|
ARR_TAP_GRID[0].refreshLayout();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 주소 변동 이력
|
|
|
|
// 주소 변동 이력
|
|
|
|
ARR_TAP_GRID[1] = TuiGrid.of({...addrHisOptions, el: 'grid_addr_his', columns: addrHisColumns}, addrHisDatasource, (res) => {
|
|
|
|
ARR_TAP_GRID[1] = TuiGrid.of({...addrHisOptions, el: 'grid_addr_his', columns: addrHisColumns}, null);
|
|
|
|
ARR_TAP_GRID[1].resetData([]);
|
|
|
|
|
|
|
|
ARR_TAP_GRID[1].refreshLayout();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 전자고지 발송 이력
|
|
|
|
// 전자고지 발송 이력
|
|
|
|
ARR_TAP_GRID[2] = TuiGrid.of({...addrHisOptions, el: 'grid_etrn_noti_his', columns: etrnNotiHisColumns}, etrnNotiSndHisDatasource, (res) => {
|
|
|
|
ARR_TAP_GRID[2] = TuiGrid.of({...addrHisOptions, el: 'grid_etrn_noti_his', columns: etrnNotiHisColumns}, null);
|
|
|
|
ARR_TAP_GRID[2].resetData([]);
|
|
|
|
|
|
|
|
ARR_TAP_GRID[2].refreshLayout();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 민원 등록 내역
|
|
|
|
// 민원 등록 내역
|
|
|
|
ARR_TAP_GRID[3] = TuiGrid.of({...etrnNotiHisOptions, el: 'grid_cplnt', columns: cplntHisColumns}, cplntHisDatasource, (res) => {
|
|
|
|
ARR_TAP_GRID[3] = TuiGrid.of({...etrnNotiHisOptions, el: 'grid_cplnt', columns: cplntHisColumns}, null);
|
|
|
|
ARR_TAP_GRID[3].resetData([]);
|
|
|
|
|
|
|
|
ARR_TAP_GRID[3].refreshLayout();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 차량 번호 민원 등록 내역
|
|
|
|
// 차량 번호 민원 등록 내역
|
|
|
|
ARR_TAP_GRID[4] = TuiGrid.of({...etrnNotiHisOptions, el: 'grid_vhcle_no_cplnt', columns: vhcleNoCplntHisColumns}, vhcleNoCplntHisHisDatasource, (res) => {
|
|
|
|
ARR_TAP_GRID[4] = TuiGrid.of({...etrnNotiHisOptions, el: 'grid_vhcle_no_cplnt', columns: vhcleNoCplntHisColumns}, null);
|
|
|
|
ARR_TAP_GRID[4].resetData([]);
|
|
|
|
|
|
|
|
ARR_TAP_GRID[4].refreshLayout();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const gridResposeSet = (res, idx) => {
|
|
|
|
|
|
|
|
ARR_TAP_TOTCNT[idx] = res.data.pagination.totalCount;
|
|
|
|
|
|
|
|
$('#totCnt span').text(ARR_TAP_TOTCNT[idx]);
|
|
|
|
|
|
|
|
const gridInfo = ARR_TAP_NAV[idx]?.gridInfo;
|
|
|
|
|
|
|
|
if(gridInfo && gridInfo?.pageMove) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let datas = res.data?.contents.map(d => {
|
|
|
|
|
|
|
|
return {content: d.content}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ARR_TAP_NAV[idx].resetGrid(res, datas, (pagiNavigation)=>{
|
|
|
|
|
|
|
|
ARR_TAP_NAV[idx] = pagiNavigation;
|
|
|
|
|
|
|
|
fnBiz.pagePopup(popupDiv, ARR_TAP_NAV[idx].gridInfo.curRowData);
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$("#popupTabs .nav-link").on("click", function(){
|
|
|
|
$("#popupTabs .nav-link").on("click", function(){
|
|
|
|