개별총정보 상세조회 url 변경

main
이범준 1 year ago
parent d880612708
commit a6774c5d61

@ -1,15 +1,11 @@
package cokr.xit.fims.sprt.web;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import cokr.xit.fims.sprt.service.Sprt01Service;
import cokr.xit.base.code.CommonCode;
import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.sprt.service.Sprt01Service;
public class Sprt01Controller extends ApplicationController {
@ -29,21 +25,4 @@ public class Sprt01Controller extends ApplicationController {
return mav;
}
/** .
* @param crdnId
* @return fims/sprt/sprt01020-info
* <pre><code> {
* "totalDataInfo": {...}
* }</code></pre>
*/
@RequestMapping(name="개별총정보 상세조회", value="/020/info.do")
public ModelAndView getTotalDataInfo(String crdnId) {
ModelAndView mav = new ModelAndView("fims/sprt/sprt01020-info");
mav.addObject("pageName", "sprt01020-info");
if (!isEmpty(crdnId)) {
mav.addObject("totalDataInfo", sprt01Service.getTotalDataInfo(crdnId));
}
return mav;
}
}

@ -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/sprt01/020/info.do");
$P.photoInspectionControl.urls.getInfo = wctx.url("/"+taskSeCd+"/sprt/sprt02/010/main.do");
$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/sprt01/020/info.do");
$P.sameVehicleControl.sub.urls.getInfo = wctx.url("/"+taskSeCd+"/sprt/sprt02/010/main.do");
var clsForTask = taskSeCd.toLowerCase();
//업무별 조회조건

@ -136,7 +136,7 @@ $(document).ready(function(){
$P.crdnControl = new DatasetControl({
urls : {
load : wctx.url("/DPV/crdn/crdn03/030/list.do"),
getInfo : wctx.url("/DPV/sprt/sprt01/020/info.do"),
getInfo : wctx.url("/DPV/sprt/sprt02/010/main.do"),
update: wctx.url("/DPV/crdn/crdn03/030/update.do")
},
dataGetter : obj => obj["List"], appendData:true,

@ -209,7 +209,7 @@ $(document).ready(function(){
$P.fnResetAndChangeBiz = taskSeCd => {
$P.fnReset();
$P.crdnControl.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn04/040/list.do");
$P.crdnControl.urls.getInfo = wctx.url("/"+taskSeCd+"/sprt/sprt01/020/info.do");
$P.crdnControl.urls.getInfo = wctx.url("/"+taskSeCd+"/sprt/sprt02/010/main.do");
}
$P.refreshCrdnList = () => {

@ -303,7 +303,7 @@ $(document).ready(function(){
$P.fnResetAndChangeBiz = (taskSeCd) => {
$P.fnReset();
$P.crdnControl.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn06/010/list.do");
$P.crdnControl.urls.getInfo = wctx.url("/"+taskSeCd+"/sprt/sprt01/020/info.do");
$P.crdnControl.urls.getInfo = wctx.url("/"+taskSeCd+"/sprt/sprt02/010/main.do");
var clsForTask = taskSeCd.toLowerCase();

@ -297,7 +297,7 @@ $(document).ready(function(){
$P.fnResetAndChangeBiz = taskSeCd => {
$P.fnReset();
$P.crdnControl.urls.load = wctx.url("/"+taskSeCd+"/cvlc/cvlc02/030/list.do");
$P.crdnControl.urls.getInfo = wctx.url("/"+taskSeCd+"/sprt/sprt01/020/info.do");
$P.crdnControl.urls.getInfo = wctx.url("/"+taskSeCd+"/sprt/sprt02/010/main.do");
$P.crdnControl.urls.update = wctx.url("/"+taskSeCd+"/cvlc/cvlc02/030/update.do");
}

Loading…
Cancel
Save