no message

main
이범준 8 months ago
parent d57d192202
commit 3ed5e64734

@ -45,7 +45,8 @@ public class StngController extends ApplicationController {
saveOtptStngInfo = "/010/save.do", saveOtptStngInfo = "/010/save.do",
extrStngMain = "/020/main.do", extrStngMain = "/020/main.do",
getExtrStngInfo = "/020/info.do", getExtrStngInfo = "/020/info.do",
saveExtrStngInfo = "/020/save.do" saveExtrStngInfo = "/020/save.do",
outsourcingStngMain = "/030/main.do"
; ;
} }
@ -255,4 +256,23 @@ public class StngController extends ApplicationController {
mav.addObject("saved", saved); mav.addObject("saved", saved);
return mav; return mav;
} }
/** .
* @return
*/
public ModelAndView outsourcingStngMain() {
ModelAndView mav = new ModelAndView("fims/stng01030-main");
mav.addObject("pageName", "stng01030");
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM054","FIM047","FIM078","FIM080");
mav.addObject("FIM047List", commonCodes.get("FIM047"));
mav.addObject("FIM054List", commonCodes.get("FIM054"));
mav.addObject("TaskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054")));
mav.addObject("FIM078List", commonCodes.get("FIM078"));
mav.addObject("FIM080List", commonCodes.get("FIM080"));
addCodes(commonCodes, mav, "FIM047", "FIM054", "FIM078","FIM080");
return mav;
}
} }

@ -820,5 +820,11 @@ public class CmnController {
public ModelAndView saveExtrStngInfo(ExtrForm extrForm) { public ModelAndView saveExtrStngInfo(ExtrForm extrForm) {
return super.saveExtrStngInfo(extrForm); return super.saveExtrStngInfo(extrForm);
} }
@Override
@RequestMapping(name="외주요청파일 서식 설정 메인 화면", value=METHOD_URL.outsourcingStngMain)
public ModelAndView outsourcingStngMain() {
return super.outsourcingStngMain();
}
} }
} }

@ -0,0 +1,5 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<c:set var="pageKorName" scope="request">외주요청파일 서식 설정</c:set>

@ -171,6 +171,7 @@
<span class="row g-3" style="display: flex;flex-direction:column"> <span class="row g-3" style="display: flex;flex-direction:column">
<button type="button" class="btn btn-xl btn-primary" onclick="fnOpenEqmCrdnLayoutStngDialog();">수신단속파일(장비) 서식 설정</button> <button type="button" class="btn btn-xl btn-primary" onclick="fnOpenEqmCrdnLayoutStngDialog();">수신단속파일(장비) 서식 설정</button>
<button type="button" class="btn btn-xl btn-primary" onclick="fnOpenOtptStngDialog();">출력물 서식 설정</button> <button type="button" class="btn btn-xl btn-primary" onclick="fnOpenOtptStngDialog();">출력물 서식 설정</button>
<button type="button" class="btn btn-xl btn-primary" onclick="fnOpenOutsourcingStngDialog();">고지서 외주요청파일 서식 설정</button>
<button type="button" class="btn btn-xl btn-primary" onclick="fnOpenExtrStngDialog();">pdf 고지서 정보 추출 설정</button> <button type="button" class="btn btn-xl btn-primary" onclick="fnOpenExtrStngDialog();">pdf 고지서 정보 추출 설정</button>
</span> </span>
</template> </template>
@ -205,6 +206,36 @@ function fnOpenSelectStngDialog(){
}); });
} }
/*--------------------- 장비단속레이아웃 설정 메인 화면 표시 ---------------------*/
function fnOpenEqmCrdnLayoutStngDialog(){
dialog.close("selectStngDialog");
var url = wctx.url("/crdn/crdn01/010/main.do");
var dialogId = "eqmCrdnLayoutStngDialog";
ajax.post({
url : url,
data : {},
success : (resp) => {
dialog.open({
id : dialogId,
title : "장비단속 레이아웃 설정",
size : "xxl",
content : resp,
init : () => {
$("#"+dialogId).find("input[name='dialogId']").val(dialogId);
$("#"+dialogId).find("form[name='frmSearch']").find("[name='sggCd']").val(MY_INFO.info.sggCd);
},
onClose : () => { }
});
}
});
}
/*--------------------- 출력물 설정 메인 화면 표시 ---------------------*/ /*--------------------- 출력물 설정 메인 화면 표시 ---------------------*/
function fnOpenOtptStngDialog(){ function fnOpenOtptStngDialog(){
@ -237,12 +268,13 @@ function fnOpenOtptStngDialog(){
} }
/*--------------------- PDF자료 추출 설정 메인 화면 표시 ---------------------*/ /*--------------------- 고지서 외주요청파일 서식 설정 ---------------------*/
function fnOpenExtrStngDialog(){ function fnOpenOutsourcingStngDialog(){
dialog.close("selectStngDialog"); dialog.close("selectStngDialog");
var url = wctx.url("/stng/stng01/020/main.do"); var url = wctx.url("/stng/stng01/030/main.do");
var dialogId = "extrStngDialog"; var dialogId = "outsourcingStngDialog";
ajax.post({ ajax.post({
url : url, url : url,
@ -251,7 +283,7 @@ function fnOpenExtrStngDialog(){
dialog.open({ dialog.open({
id : dialogId, id : dialogId,
title : "PDF자료 추출 설정", title : "외주요청파일 서식 설정",
size : "xxl", size : "xxl",
content : resp, content : resp,
init : () => { init : () => {
@ -265,14 +297,16 @@ function fnOpenExtrStngDialog(){
}); });
} }
}); });
} }
/*--------------------- 장비단속레이아웃 설정 메인 화면 표시 ---------------------*/
function fnOpenEqmCrdnLayoutStngDialog(){ /*--------------------- PDF자료 추출 설정 메인 화면 표시 ---------------------*/
function fnOpenExtrStngDialog(){
dialog.close("selectStngDialog"); dialog.close("selectStngDialog");
var url = wctx.url("/crdn/crdn01/010/main.do"); var url = wctx.url("/stng/stng01/020/main.do");
var dialogId = "eqmCrdnLayoutStngDialog"; var dialogId = "extrStngDialog";
ajax.post({ ajax.post({
url : url, url : url,
@ -281,7 +315,7 @@ function fnOpenEqmCrdnLayoutStngDialog(){
dialog.open({ dialog.open({
id : dialogId, id : dialogId,
title : "장비단속 레이아웃 설정", title : "PDF자료 추출 설정",
size : "xxl", size : "xxl",
content : resp, content : resp,
init : () => { init : () => {

Loading…
Cancel
Save