개별총정보 호출 수정

main
이범준 1 year ago
parent 6283f1c405
commit 5407edcba7

@ -554,11 +554,11 @@ $(document).ready(function(){
$P.fnResetAndChangeBiz = (taskSeCd) => {
$P.fnReset();
$P.photoInspectionControl.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn02/020/list.do?inspectionDataType=photo");
$P.photoInspectionControl.urls.getInfo = wctx.url("/"+taskSeCd+"/sprt/sprt02/010/main.do");
$P.photoInspectionControl.urls.getInfo = "";
$P.sameVehicleControl.main.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn02/020/list.do?inspectionDataType=sameVehicleMain");
$P.sameVehicleControl.main.urls.getInfo = "";
$P.sameVehicleControl.sub.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn02/020/list.do?inspectionDataType=sameVehicleSub");
$P.sameVehicleControl.sub.urls.getInfo = wctx.url("/"+taskSeCd+"/sprt/sprt02/010/main.do");
$P.sameVehicleControl.sub.urls.getInfo = "";
var clsForTask = taskSeCd.toLowerCase();
//업무별 조회조건
@ -722,14 +722,24 @@ $(document).ready(function(){
}
}
$P.dblclickInspectionDataList = (dataKey, gridType) => {
switch (gridType) {
case "photoInspection":
$P.photoInspectionControl.getInfo(dataKey);
break;
case "sameVehicleInspectionSub":
$P.sameVehicleControl.sub.getInfo(dataKey);
break;
}
var taskSeCd = $("#frmSearch--${pageName} input[name='taskSeCd']:checked").val();
var dialogUrl = wctx.url("/"+taskSeCd+"/sprt/sprt02/010/main.do");
ajax.get({
url : dialogUrl,
data : { "crdnId" : dataKey },
success : resp => {
dialog.open({
id : "totalDialog--${pageName}",
title : "개별총정보", size : "xxl", content : resp,
init : () => {}
});
}
});
}
$P.openLevyExclPop = (levyExclSeCd) => {

@ -234,7 +234,21 @@ $(document).ready(function(){
}
$P.dblclickCrdnList = (dataKey) => {
$P.crdnControl.getInfo(dataKey);
ajax.get({
url : $P.crdnControl.urls.getInfo,
data : { "crdnId" : dataKey },
success : resp => {
dialog.open({
id : "totalDialog--${pageName}",
title : "개별총정보", size : "xxl", content : resp,
init : () => {}
});
}
});
}
$P.renderCrdnList = (total) => {

@ -256,7 +256,21 @@ $(document).ready(function(){
}
$P.dblclickCrdnList = (dataKey) => {
$P.crdnControl.getInfo(dataKey);
ajax.get({
url : $P.crdnControl.urls.getInfo,
data : { "crdnId" : dataKey },
success : resp => {
dialog.open({
id : "totalDialog--${pageName}",
title : "개별총정보", size : "xxl", content : resp,
init : () => {}
});
}
});
}
$P.renderCrdnList = (total) => {

@ -364,7 +364,21 @@ $(document).ready(function(){
}
$P.dblclickCrdnList = (dataKey) => {
$P.crdnControl.getInfo(dataKey);
ajax.get({
url : $P.crdnControl.urls.getInfo,
data : { "crdnId" : dataKey },
success : resp => {
dialog.open({
id : "totalDialog--${pageName}",
title : "개별총정보", size : "xxl", content : resp,
init : () => {}
});
}
});
}
$P.renderCrdnList = (total) => {

@ -348,7 +348,21 @@ $(document).ready(function(){
}
$P.dblclickCrdnList = (dataKey) => {
$P.crdnControl.getInfo(dataKey);
ajax.get({
url : $P.crdnControl.urls.getInfo,
data : { "crdnId" : dataKey },
success : resp => {
dialog.open({
id : "totalDialog--${pageName}",
title : "개별총정보", size : "xxl", content : resp,
init : () => {}
});
}
});
}
$P.renderCrdnList = (total) => {

Loading…
Cancel
Save