|
|
@ -337,7 +337,8 @@ $(document).ready(function(){
|
|
|
|
//단속사진검사 datasetControl 인스턴스
|
|
|
|
//단속사진검사 datasetControl 인스턴스
|
|
|
|
$P.photoInspectionControl = new DatasetControl({
|
|
|
|
$P.photoInspectionControl = new DatasetControl({
|
|
|
|
urls : { load : "", getInfo : "" },
|
|
|
|
urls : { load : "", getInfo : "" },
|
|
|
|
keymapper:info => info ? info.CRDN_ID : "", dataGetter:obj => obj.crdnList, appendData:true,
|
|
|
|
dataGetter : obj => obj["List"], appendData:true,
|
|
|
|
|
|
|
|
keymapper : info => info ? info.CRDN_ID : "",
|
|
|
|
formats: {
|
|
|
|
formats: {
|
|
|
|
CRDN_YMD_TM : datetimeFormat,
|
|
|
|
CRDN_YMD_TM : datetimeFormat,
|
|
|
|
CRDN_INPT_SE_CD : FIM003,
|
|
|
|
CRDN_INPT_SE_CD : FIM003,
|
|
|
@ -350,12 +351,14 @@ $(document).ready(function(){
|
|
|
|
//동일차량검사 datasetControl 인스턴스
|
|
|
|
//동일차량검사 datasetControl 인스턴스
|
|
|
|
$P.sameVehicleControl = new InspectionControl({
|
|
|
|
$P.sameVehicleControl = new InspectionControl({
|
|
|
|
urls : { load : "", getInfo : "" },
|
|
|
|
urls : { load : "", getInfo : "" },
|
|
|
|
keymapper:info => info ? info.CRDN_ID_LIST : "", dataGetter:obj => obj.crdnList, appendData:true,
|
|
|
|
dataGetter : obj => obj["List"], appendData:true,
|
|
|
|
|
|
|
|
keymapper : info => info ? info.CRDN_ID_LIST : "",
|
|
|
|
formats: { CRDN_CNT : numberFormat, FFNLG_AMT : numberFormat }
|
|
|
|
formats: { CRDN_CNT : numberFormat, FFNLG_AMT : numberFormat }
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
urls : { load : "", getInfo : "" },
|
|
|
|
urls : { load : "", getInfo : "" },
|
|
|
|
keymapper:info => info ? info.CRDN_ID : "", dataGetter:obj => obj.crdnList,
|
|
|
|
dataGetter : obj => obj["List"],
|
|
|
|
|
|
|
|
keymapper : info => info ? info.CRDN_ID : "",
|
|
|
|
formats: {
|
|
|
|
formats: {
|
|
|
|
CRDN_YMD_TM : datetimeFormat,
|
|
|
|
CRDN_YMD_TM : datetimeFormat,
|
|
|
|
CRDN_INPT_SE_CD : FIM003,
|
|
|
|
CRDN_INPT_SE_CD : FIM003,
|
|
|
@ -379,29 +382,26 @@ $(document).ready(function(){
|
|
|
|
* DatasetControl.on
|
|
|
|
* DatasetControl.on
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
$P.photoInspectionControl.onDatasetChange = (obj) => {
|
|
|
|
$P.photoInspectionControl.onDatasetChange = (obj) => {
|
|
|
|
var prefix = obj.infoPrefix;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$P.renderInspectionDataList(obj[prefix+"Total"], "photoInspection");
|
|
|
|
$P.renderInspectionDataList(obj["Total"], "photoInspection");
|
|
|
|
|
|
|
|
|
|
|
|
var prefix = obj.infoPrefix;
|
|
|
|
|
|
|
|
$("#photoInspectionPaging--${pageName}").setPagingInfo({
|
|
|
|
$("#photoInspectionPaging--${pageName}").setPagingInfo({
|
|
|
|
list: $P.photoInspectionControl.dataset,
|
|
|
|
list: $P.photoInspectionControl.dataset,
|
|
|
|
prefix: "photoInspectionPaging--${pageName}",
|
|
|
|
prefix: "photoInspectionPaging--${pageName}",
|
|
|
|
start: obj[prefix+"Start"], totalSize: obj[prefix+"Total"], fetchSize: obj[prefix+"Fetch"],
|
|
|
|
start: obj["Start"], totalSize: obj["Total"], fetchSize: obj["Fetch"],
|
|
|
|
func: "pageObject['${pageName}'].photoInspectionControl.load({index})"
|
|
|
|
func: "pageObject['${pageName}'].photoInspectionControl.load({index})"
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
$P.sameVehicleControl.main.onDatasetChange = (obj) => {
|
|
|
|
$P.sameVehicleControl.main.onDatasetChange = (obj) => {
|
|
|
|
var prefix = obj.infoPrefix;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$P.renderInspectionDataList(obj[prefix+"Total"], "sameVehicleInspectionMain");
|
|
|
|
$P.renderInspectionDataList(obj["Total"], "sameVehicleInspectionMain");
|
|
|
|
|
|
|
|
|
|
|
|
$("#sameVehicleInspectionMainPaging--${pageName}").setPagingInfo({
|
|
|
|
$("#sameVehicleInspectionMainPaging--${pageName}").setPagingInfo({
|
|
|
|
list: $P.sameVehicleControl.main.dataset,
|
|
|
|
list: $P.sameVehicleControl.main.dataset,
|
|
|
|
prefix: "sameVehicleInspectionMainPaging--${pageName}",
|
|
|
|
prefix: "sameVehicleInspectionMainPaging--${pageName}",
|
|
|
|
start: obj[prefix+"Start"], totalSize: obj[prefix+"Total"], fetchSize: obj[prefix+"Fetch"],
|
|
|
|
start: obj["Start"], totalSize: obj["Total"], fetchSize: obj["Fetch"],
|
|
|
|
func: "pageObject['${pageName}'].sameVehicleControl.main.load({index})"
|
|
|
|
func: "pageObject['${pageName}'].sameVehicleControl.main.load({index})"
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
@ -409,10 +409,7 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$P.sameVehicleControl.sub.onDatasetChange = (obj) => {
|
|
|
|
$P.sameVehicleControl.sub.onDatasetChange = (obj) => {
|
|
|
|
var prefix = obj.infoPrefix;
|
|
|
|
$P.renderInspectionDataList(obj["Total"], "sameVehicleInspectionSub");
|
|
|
|
|
|
|
|
|
|
|
|
$P.renderInspectionDataList(obj[prefix+"Total"], "sameVehicleInspectionSub");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
@ -584,7 +581,8 @@ $(document).ready(function(){
|
|
|
|
data : params || {},
|
|
|
|
data : params || {},
|
|
|
|
success : resp => {
|
|
|
|
success : resp => {
|
|
|
|
resp = resp.replace(/infoPrefix/g, levyExclPrefix)
|
|
|
|
resp = resp.replace(/infoPrefix/g, levyExclPrefix)
|
|
|
|
.replace(/prefixName/g, levyExclPrefixName)
|
|
|
|
.replace(/prefixName/g, levyExclPrefixName);
|
|
|
|
|
|
|
|
|
|
|
|
dialog.open({
|
|
|
|
dialog.open({
|
|
|
|
id : "levyExcldialog--${pageName}",
|
|
|
|
id : "levyExcldialog--${pageName}",
|
|
|
|
title : "부과제외 정보",
|
|
|
|
title : "부과제외 정보",
|
|
|
|