1. 개별총정보 -단속 상태 변경 추가.

2. controller 수정.
3. 기타 수정.
main
jjh 1 year ago
parent 0eac772b68
commit 41eff3ae7d

@ -51,7 +51,6 @@ public interface CrdnUpdtMapper extends AbstractMapper {
int updateCrdnAddition(Crdn crdn); int updateCrdnAddition(Crdn crdn);
/** .<br /> /** .<br />
* {@link cokr.xit.fims.crdn.service.bean.CrdnBean#update(Crdn)}
* @param crdn * @param crdn
* @return * @return
*/ */

@ -67,4 +67,10 @@ public interface CrdnService {
*/ */
String removeCrackdown(Crdn crdn); String removeCrackdown(Crdn crdn);
/** .
* @param crdn
* @return
*/
String updateCrackdownStatus(Crdn crdn);
} }

@ -216,7 +216,7 @@ public class CrdnBean extends AbstractComponent {
return crdnUpdtMapper.deleteCrdn(paramMap) >= 1 ? true : false; return crdnUpdtMapper.deleteCrdn(paramMap) >= 1 ? true : false;
} }
/** . /** .
* @param crdn * @param crdn
* @return * @return
* <ul><li> true</li> * <ul><li> true</li>
@ -247,7 +247,7 @@ public class CrdnBean extends AbstractComponent {
return retMessage; return retMessage;
} }
/** . /** .
* @param crdn * @param crdn
* @return * @return
* <ul><li> true</li> * <ul><li> true</li>
@ -302,4 +302,40 @@ public class CrdnBean extends AbstractComponent {
return retMessage; return retMessage;
} }
/** .
* @param crdn
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
public String updateCrackdownStatus(Crdn crdn) {
// 변수 선언
boolean retSuccess = false; // DB 처리 결과
String retMessage = ""; // 처리 결과 메시지
// 단속 ID로 단속 정보 조회
DataObject infoCrdn = crdnInfoMapper.selectCrdnInfo(crdn.getCrdnId());
// 단속상태이력(TB_CRDN_STTS_HSTRY)
CrdnSttsHstry crdnSttsHstry = new CrdnSttsHstry();
crdnSttsHstry.setCrdnId(infoCrdn.string("CRDN_ID"));
crdnSttsHstry.setBfrSttsCd(infoCrdn.string("CRDN_STTS_CD"));
crdnSttsHstry.setBfrSttsChgDt(infoCrdn.string("CRDN_STTS_CHG_DT"));
crdnSttsHstry.setEtcCn("[개별총정보-단속상태변경] " + crdn.getEtcCn());
crdnSttsHstry.setCrdnSttsCd(crdn.getCrdnSttsCd());
// 단속 상태 이력(TB_CRDN_STTS_HSTRY) 대장에 등록 한다.
retSuccess = crdnSttsHstryBean.createHstryUpdateCrdnSttsCd(crdnSttsHstry);
if (!retSuccess) {
// 예외를 발생시켜서 오류메세지를 보내고 DB Rollback
throw new RuntimeException("단속 대장의 단속상태코드 변경에 실패하였습니다.");
}
retMessage = "[S] 작업이 정상 처리 되었습니다.";
return retMessage;
}
} }

@ -229,4 +229,8 @@ public class CrdnServiceBean extends AbstractServiceBean implements CrdnService
return crdnBean.removeCrackdown(crdn); return crdnBean.removeCrackdown(crdn);
} }
@Override
public String updateCrackdownStatus(Crdn crdn) {
return crdnBean.updateCrackdownStatus(crdn);
}
} }

@ -26,11 +26,13 @@ public class Crdn06Controller extends ApplicationController {
public class METHOD_URL { public class METHOD_URL {
public static final String public static final String
crackdownManagementMain = "/010/main.do", crackdownManagementMain = "/010/main.do"
getCrackdownList = "/010/list.do", , getCrackdownList = "/010/list.do"
getCrackdownInfo = "/020/info.do", , removeCrackdown = "/010/remove.do"
updateCrackdown = "/020/update.do", , getCrackdownInfo = "/020/info.do"
removeCrackdown = "/010/remove.do" , updateCrackdown = "/020/update.do"
, getCrackdownStatusInfo = "/030/info.do"
, updateCrackdownStatus = "/030/update.do"
; ;
} }
@ -71,6 +73,29 @@ public class Crdn06Controller extends ApplicationController {
return setCollectionInfo(new ModelAndView("jsonView"), crdnService.getCrackdownList(query),""); return setCollectionInfo(new ModelAndView("jsonView"), crdnService.getCrackdownList(query),"");
} }
/** ID .
* @param crdnID ID
* @return jsonView
* <pre><code> {
* "affected":
* "saved": true, false
* }</code></pre>
*/
public ModelAndView removeCrackdown(Crdn crdn) {
boolean saved = false;
String retMessage = crdnService.removeCrackdown(crdn);
if (retMessage.contains("[S]")) {
saved = true;
} else {
saved = false;
}
return new ModelAndView("jsonView")
.addObject("saved", saved)
.addObject("retMessage", retMessage);
}
/** ID (info) . /** ID (info) .
* @param query * @param query
* @return fims/crdn/crdn06020-info jsonView * @return fims/crdn/crdn06020-info jsonView
@ -158,7 +183,31 @@ public class Crdn06Controller extends ApplicationController {
.addObject("retMessage", retMessage); .addObject("retMessage", retMessage);
} }
/** ID .
/** ID (info) .
* @param query
* @return fims/crdn/crdn06030-info jsonView
* <pre>{
* "crdnInfo":
* }</pre>
*/
public ModelAndView getCrackdownStatusInfo(CrdnQuery query) {
DataObject crdnInfo = crdnService.getCrackdownInfo(query);
boolean json = jsonResponse();
ModelAndView mav = new ModelAndView(json ? "jsonView" : "fims/crdn/crdn06030-info");
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM010");
return mav
.addObject("pageName", "crdn06030") //
.addObject("FIM010List", commonCodes.get("FIM010")) // 단속 처리 상태 코드(CRDN_STTS_CD)
.addObject("crdnInfo", json ? crdnInfo : toJson(crdnInfo))
;
}
/** ID .
* @param crdnID ID * @param crdnID ID
* @return jsonView * @return jsonView
* <pre><code> { * <pre><code> {
@ -166,9 +215,9 @@ public class Crdn06Controller extends ApplicationController {
* "saved": true, false * "saved": true, false
* }</code></pre> * }</code></pre>
*/ */
public ModelAndView removeCrackdown(Crdn crdn) { public ModelAndView updateCrackdownStatus(Crdn crdn) {
boolean saved = false; boolean saved = false;
String retMessage = crdnService.removeCrackdown(crdn); String retMessage = crdnService.updateCrackdownStatus(crdn);
if (retMessage.contains("[S]")) { if (retMessage.contains("[S]")) {
saved = true; saved = true;

@ -141,8 +141,8 @@ public class Sprt02Controller extends ApplicationController {
return mav return mav
.addObject("pageName", "sprt02020") .addObject("pageName", "sprt02020")
.addObject("pageNameMain", "sprt02010") .addObject("pageNameMain", "sprt02010")
.addObject("crdnPayer", json ? crdnPayer : toJson(crdnPayer)) // 단속, 납부자 정보
.addObject("totalInfo", json ? totalInfo : toJson(totalInfo)) // 단속 정보 .addObject("totalInfo", json ? totalInfo : toJson(totalInfo)) // 단속 정보
.addObject("crdnPayer", json ? crdnPayer : toJson(crdnPayer)) // 단속, 납부자 정보
; ;
} }
@ -258,8 +258,8 @@ public class Sprt02Controller extends ApplicationController {
return mav return mav
.addObject("pageName", "sprt02030") .addObject("pageName", "sprt02030")
.addObject("pageNameMain", "sprt02010") .addObject("pageNameMain", "sprt02010")
.addObject("opnnSbmsn", json ? opnnSbmsn : toJson(opnnSbmsn)) // 의견제출 정보
.addObject("totalInfo", json ? totalInfo : toJson(totalInfo)) // 단속 정보 .addObject("totalInfo", json ? totalInfo : toJson(totalInfo)) // 단속 정보
.addObject("opnnSbmsn", json ? opnnSbmsn : toJson(opnnSbmsn)) // 의견제출 정보
; ;
} }
@ -292,6 +292,9 @@ public class Sprt02Controller extends ApplicationController {
List<?> svbtc = sndb01Service.getSvbtcs(sndb01Query); List<?> svbtc = sndb01Service.getSvbtcs(sndb01Query);
// 단속(TB_CRDN) 대장 조회
DataObject totalInfo = sprt02Service.getCrdnInfo(req);
boolean json = jsonResponse(); boolean json = jsonResponse();
ModelAndView mav = new ModelAndView(json ? "jsonView" : "fims/sprt/sprt02040-info"); ModelAndView mav = new ModelAndView(json ? "jsonView" : "fims/sprt/sprt02040-info");
@ -300,6 +303,7 @@ public class Sprt02Controller extends ApplicationController {
.addObject("pageName", "sprt02040") .addObject("pageName", "sprt02040")
.addObject("pageNameMain", "sprt02010") .addObject("pageNameMain", "sprt02010")
.addObject("infoPrefix", "sndng") // prefix .addObject("infoPrefix", "sndng") // prefix
.addObject("totalInfo", json ? totalInfo : toJson(totalInfo)) // 단속 정보
.addObject("sndngDtlList", json ? sndngDtl : toJson(sndngDtl)) // 발송 정보 .addObject("sndngDtlList", json ? sndngDtl : toJson(sndngDtl)) // 발송 정보
.addObject("pageDataName2", "Svbtc") // dataset2 .addObject("pageDataName2", "Svbtc") // dataset2
.addObject("svbtcList", json ? svbtc : toJson(svbtc)) // 공시송달 정보 .addObject("svbtcList", json ? svbtc : toJson(svbtc)) // 공시송달 정보
@ -400,6 +404,9 @@ public class Sprt02Controller extends ApplicationController {
DataObject levy = levy01Service.getLevyInfo(levyQuery); DataObject levy = levy01Service.getLevyInfo(levyQuery);
// 단속(TB_CRDN) 대장 조회
DataObject totalInfo = sprt02Service.getCrdnInfo(req);
boolean json = jsonResponse(); boolean json = jsonResponse();
ModelAndView mav = new ModelAndView(json ? "jsonView" : "fims/sprt/sprt02060-info"); ModelAndView mav = new ModelAndView(json ? "jsonView" : "fims/sprt/sprt02060-info");
@ -407,6 +414,7 @@ public class Sprt02Controller extends ApplicationController {
return mav return mav
.addObject("pageName", "sprt02060") .addObject("pageName", "sprt02060")
.addObject("pageNameMain", "sprt02010") .addObject("pageNameMain", "sprt02010")
.addObject("totalInfo", json ? totalInfo : toJson(totalInfo)) // 단속 정보
.addObject("levy", json ? levy : toJson(levy)) // 부과 정보 .addObject("levy", json ? levy : toJson(levy)) // 부과 정보
; ;
} }
@ -432,6 +440,9 @@ public class Sprt02Controller extends ApplicationController {
List<DataObject> rcvmt = rcvm01Service.getRcvmts(rcvmQuery); List<DataObject> rcvmt = rcvm01Service.getRcvmts(rcvmQuery);
// 단속(TB_CRDN) 대장 조회
DataObject totalInfo = sprt02Service.getCrdnInfo(req);
boolean json = jsonResponse(); boolean json = jsonResponse();
ModelAndView mav = new ModelAndView(json ? "jsonView" : "fims/sprt/sprt02070-info"); ModelAndView mav = new ModelAndView(json ? "jsonView" : "fims/sprt/sprt02070-info");
@ -439,6 +450,7 @@ public class Sprt02Controller extends ApplicationController {
return mav return mav
.addObject("pageName", "sprt02070") .addObject("pageName", "sprt02070")
.addObject("pageNameMain", "sprt02010") .addObject("pageNameMain", "sprt02010")
.addObject("totalInfo", json ? totalInfo : toJson(totalInfo)) // 단속 정보
.addObject("infoPrefix", "rcvmt") // prefix .addObject("infoPrefix", "rcvmt") // prefix
.addObject("rcvmt", json ? rcvmt : toJson(rcvmt)) // 수납 정보 .addObject("rcvmt", json ? rcvmt : toJson(rcvmt)) // 수납 정보
; ;

@ -9,6 +9,7 @@ import org.springframework.web.servlet.ModelAndView;
import cokr.xit.fims.crdn.Crdn; import cokr.xit.fims.crdn.Crdn;
import cokr.xit.fims.crdn.CrdnQuery; import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.web.Crdn06Controller.METHOD_URL;
import cokr.xit.fims.cvlc.CrdnCvlcpt; import cokr.xit.fims.cvlc.CrdnCvlcpt;
import cokr.xit.fims.excl.CrdnReReg; import cokr.xit.fims.excl.CrdnReReg;
import cokr.xit.fims.excl.ExclQuery; import cokr.xit.fims.excl.ExclQuery;
@ -249,6 +250,19 @@ public class BpvController {
public ModelAndView removeCrackdown(Crdn crdn) { public ModelAndView removeCrackdown(Crdn crdn) {
return super.removeCrackdown(crdn); return super.removeCrackdown(crdn);
} }
@Override
@RequestMapping(name="전용차로과태료업무 단속자료 조회", value=METHOD_URL.getCrackdownStatusInfo)
public ModelAndView getCrackdownStatusInfo(CrdnQuery query) {
return super.getCrackdownStatusInfo(query);
}
@Override
@RequestMapping(name="전용차로과태료업무 단속처리상태 수정", value=METHOD_URL.updateCrackdownStatus)
public ModelAndView updateCrackdownStatus(Crdn crdn) {
return super.updateCrackdownStatus(crdn);
}
} }
@Controller @Controller

@ -263,13 +263,13 @@ public class DpvController {
class Crdn06Controller extends cokr.xit.fims.crdn.web.Crdn06Controller { class Crdn06Controller extends cokr.xit.fims.crdn.web.Crdn06Controller {
@Override @Override
@RequestMapping(name="장애인과태료업무 단속자료 목록", value=METHOD_URL.getCrackdownList) @RequestMapping(name="장애인과태료업무 단속자료 목록 조회", value=METHOD_URL.getCrackdownList)
public ModelAndView getCrackdownList(CrdnQuery query) { public ModelAndView getCrackdownList(CrdnQuery query) {
return super.getCrackdownList(query); return super.getCrackdownList(query);
} }
@Override @Override
@RequestMapping(name="장애인과태료업무 단속자료", value=METHOD_URL.getCrackdownInfo) @RequestMapping(name="장애인과태료업무 단속자료 조회", value=METHOD_URL.getCrackdownInfo)
public ModelAndView getCrackdownInfo(CrdnQuery query) { public ModelAndView getCrackdownInfo(CrdnQuery query) {
return super.getCrackdownInfo(query); return super.getCrackdownInfo(query);
} }
@ -285,6 +285,19 @@ public class DpvController {
public ModelAndView removeCrackdown(Crdn crdn) { public ModelAndView removeCrackdown(Crdn crdn) {
return super.removeCrackdown(crdn); return super.removeCrackdown(crdn);
} }
@Override
@RequestMapping(name="장애인과태료업무 단속자료 조회", value=METHOD_URL.getCrackdownStatusInfo)
public ModelAndView getCrackdownStatusInfo(CrdnQuery query) {
return super.getCrackdownStatusInfo(query);
}
@Override
@RequestMapping(name="장애인과태료업무 단속처리상태 수정", value=METHOD_URL.updateCrackdownStatus)
public ModelAndView updateCrackdownStatus(Crdn crdn) {
return super.updateCrackdownStatus(crdn);
}
} }
@Controller @Controller

@ -256,6 +256,19 @@ public class EcaController {
public ModelAndView removeCrackdown(Crdn crdn) { public ModelAndView removeCrackdown(Crdn crdn) {
return super.removeCrackdown(crdn); return super.removeCrackdown(crdn);
} }
@Override
@RequestMapping(name="전기차과태료업무 단속자료 조회", value=METHOD_URL.getCrackdownStatusInfo)
public ModelAndView getCrackdownStatusInfo(CrdnQuery query) {
return super.getCrackdownStatusInfo(query);
}
@Override
@RequestMapping(name="전기차과태료업무 단속처리상태 수정", value=METHOD_URL.updateCrackdownStatus)
public ModelAndView updateCrackdownStatus(Crdn crdn) {
return super.updateCrackdownStatus(crdn);
}
} }
@Controller @Controller

@ -262,6 +262,19 @@ public class PvsController {
public ModelAndView removeCrackdown(Crdn crdn) { public ModelAndView removeCrackdown(Crdn crdn) {
return super.removeCrackdown(crdn); return super.removeCrackdown(crdn);
} }
@Override
@RequestMapping(name="주정차과태료업무 단속자료 조회", value=METHOD_URL.getCrackdownStatusInfo)
public ModelAndView getCrackdownStatusInfo(CrdnQuery query) {
return super.getCrackdownStatusInfo(query);
}
@Override
@RequestMapping(name="주정차과태료업무 단속처리상태 수정", value=METHOD_URL.updateCrackdownStatus)
public ModelAndView updateCrackdownStatus(Crdn crdn) {
return super.updateCrackdownStatus(crdn);
}
} }
@Controller @Controller

@ -1,213 +1,220 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<c:set var="prefixName" scope="request">단속자료 수정</c:set> <!-- inner page html -->
<div class="content-wrapper">
<!-- Page Body --> <!-- Content -->
<div class="card"> <div class="container-xxl flex-grow-1 px-0">
<!-- 입력 영역 --> <c:set var="prefixName" scope="request">단속자료 수정</c:set>
<form id="frmEdit--${pageName}" name="frmEdit">
<!-- hidden --> <!-- Page Body -->
<input type="hidden" id="crdnId--${pageName}" name="crdnId" data-map="CRDN_ID" /> <div class="card">
<input type="hidden" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" /> <!-- 입력 영역 -->
<input type="hidden" id="taskSeCd--${pageName}" name="taskSeCd" data-map="TASK_SE_CD" /> <form id="frmEdit--${pageName}" name="frmEdit">
<!-- hidden -->
<div class="row g-1"> <input type="hidden" id="crdnId--${pageName}" name="crdnId" data-map="CRDN_ID" />
<!-- 단속 일자 --> <input type="hidden" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" />
<div class="col-md-6"> <input type="hidden" id="taskSeCd--${pageName}" name="taskSeCd" data-map="TASK_SE_CD" />
<label for="crdnYmd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">단속일자</label>
<input type="text" class="form-control form-date" id="crdnYmd--${pageName}" name="crdnYmd" data-map="CRDN_YMD" data-fmt-type="day" maxlength="10" required /> <div class="row g-1">
<button type="button" class="bx bx-sm bx-calendar bg-white"></button> <!-- 단속 일자 -->
</div> <div class="col-md-6">
<!-- 단속 시간 --> <label for="crdnYmd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">단속일자</label>
<div class="col-md-6"> <input type="text" class="form-control form-date" id="crdnYmd--${pageName}" name="crdnYmd" data-map="CRDN_YMD" data-fmt-type="day" maxlength="10" required />
<label for="crdnTm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">단속시간</label> <button type="button" class="bx bx-sm bx-calendar bg-white"></button>
<input type="text" class="form-control form-time" id="crdnTm--${pageName}" name="crdnTm" data-map="CRDN_TM" data-fmt-type="time" maxlength="8" required placeholder="시:분:초" /> </div>
</div> <!-- 단속 시간 -->
<!-- 차량번호 --> <div class="col-md-6">
<div class="col-md-6"> <label for="crdnTm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">단속시간</label>
<label for="vhrno--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">차량번호</label> <input type="text" class="form-control form-time" id="crdnTm--${pageName}" name="crdnTm" data-map="CRDN_TM" data-fmt-type="time" maxlength="8" required placeholder="시:분:초" />
<input type="text" class="form-control w-40" id="vhrno--${pageName}" name="vhrno" data-map="VHRNO" /> </div>
<button type="button" class="btn btn-sm btn-outline-dark" id="btnVehicle--${pageName}" title="우편번호 검색" onclick="fnVehicle${pageName}();"> <!-- 차량번호 -->
조회 <div class="col-md-6">
</button> <label for="vhrno--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">차량번호</label>
</div> <input type="text" class="form-control w-40" id="vhrno--${pageName}" name="vhrno" data-map="VHRNO" />
<!-- 위반 내용 --> <button type="button" class="btn btn-sm btn-outline-dark" id="btnVehicle--${pageName}" title="우편번호 검색" onclick="fnVehicle${pageName}();">
<div class="col-md-6"> 조회
<label for="vltnCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">위반내용</label> </button>
<select class="form-select" id="vltnCd--${pageName}" name="vltnCd" data-map="VLTN_CD"> </div>
<c:forEach items="${VLTNList}" var="item"> <!-- 위반 내용 -->
<option value="${item.code}">${item.value}</option> <div class="col-md-6">
</c:forEach> <label for="vltnCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">위반내용</label>
</select> <select class="form-select" id="vltnCd--${pageName}" name="vltnCd" data-map="VLTN_CD">
</div> <c:forEach items="${VLTNList}" var="item">
<!-- 법정동 -->
<div class="col-md-6 select2-primary">
<label for="crdnStdgNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">법정동</label>
<input type="text" class="form-control w-px-150" id="crdnStdgNm--${pageName}" name="crdnStdgNm" data-map="CRDN_STDG_NM" list="stdgNmList--${pageName}" />
<datalist id="stdgNmList--${pageName}">
<c:forEach items="${stdgNmList}" var="item">
<option value="${item}"></option>
</c:forEach>
</datalist>
</div>
<!-- 도로명 -->
<div class="col-md-6 select2-primary">
<label for="crdnRoadNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">도로명</label>
<input type="text" class="form-control" id="crdnRoadNm--${pageName}" name="crdnRoadNm" data-map="CRDN_ROAD_NM" />
</div>
<!-- 단속 장소 -->
<div class="col-md-12">
<label for="crdnPlc--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">단속장소</label>
<input type="text" class="form-control w-80" id="crdnPlc--${pageName}" name="crdnPlc" data-map="CRDN_PLC" data-maxlengthb="200" />
</div>
<!-- 상세 단속 장소 -->
<div class="col-md-12" slot="edit">
<template class="bpv">
<slot>
<label for="dtlCrdnPlc--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">상세단속장소</label>
<input type="text" class="form-control w-80" id="dtlCrdnPlc--${pageName}" name="dtlCrdnPlc" data-map="DTL_CRDN_PLC" data-maxlenghb="200" />
</slot>
</template>
</div>
<div class="col-md-6" slot="edit">
<template class="pvs">
<slot>
<label for="crdnSpareaCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">특별구역</label>
<select class="form-select" id="crdnSpareaCd--${pageName}" name="crdnSpareaCd" data-map="CRDN_SPAREA_CD">
<c:forEach items="${FIM007List}" var="item">
<option value="${item.code}">${item.value}</option> <option value="${item.code}">${item.value}</option>
</c:forEach> </c:forEach>
</select> </select>
</slot> </div>
</template> <!-- 법정동 -->
</div> <div class="col-md-6 select2-primary">
<div class="col-md-6" slot="edit"> <label for="crdnStdgNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">법정동</label>
<template class="pvs"> <input type="text" class="form-control w-px-150" id="crdnStdgNm--${pageName}" name="crdnStdgNm" data-map="CRDN_STDG_NM" list="stdgNmList--${pageName}" />
<slot> <datalist id="stdgNmList--${pageName}">
<label for="towngYnNm--${pageName}"> <c:forEach items="${stdgNmList}" var="item">
<input type="checkbox" class="form-check-input" id="towngYnNm--${pageName}" name="towngYnNm" data-map="TOWNG_YN_NM" />견인여부 <option value="${item}"></option>
</label> </c:forEach>
</slot> </datalist>
</template> </div>
</div> <!-- 도로명 -->
<!-- 기타 내용 --> <div class="col-md-6 select2-primary">
<div class="col-md-12"> <label for="crdnRoadNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">도로명</label>
<label for="etcCn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">특기사항</label> <input type="text" class="form-control" id="crdnRoadNm--${pageName}" name="crdnRoadNm" data-map="CRDN_ROAD_NM" />
<input type="text" class="form-control w-80" id="etcCn--${pageName}" name="etcCn" data-map="ETC_CN" data-maxlengthb="1000" /> </div>
</div> <!-- 단속 장소 -->
<div class="col-md-6"> <div class="col-md-12">
<label for="vin--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">차대번호</label> <label for="crdnPlc--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">단속장소</label>
<input type="text" class="form-control" id="vin--${pageName}" name="vin" data-map="VIN" readonly placeholder="입력항목이 아닙니다." /> <input type="text" class="form-control w-80" id="crdnPlc--${pageName}" name="crdnPlc" data-map="CRDN_PLC" data-maxlengthb="200" />
</div> </div>
<div class="col-md-6"> <!-- 상세 단속 장소 -->
<label for="vhclNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">차량명칭</label> <div class="col-md-12" slot="edit">
<input type="text" class="form-control" id="vhclNm--${pageName}" name="vhclNm" data-map="VHCL_NM" readonly placeholder="입력항목이 아닙니다." /> <template class="bpv">
</div> <slot>
<div class="col-md-6"> <label for="dtlCrdnPlc--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">상세단속장소</label>
<label for="vhclColor--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">차량색상</label> <input type="text" class="form-control w-80" id="dtlCrdnPlc--${pageName}" name="dtlCrdnPlc" data-map="DTL_CRDN_PLC" data-maxlenghb="200" />
<input type="text" class="form-control" id="vhclColor--${pageName}" name="vhclColor" data-map="VHCL_COLOR" readonly placeholder="입력항목이 아닙니다." /> </slot>
</div> </template>
<div class="col-md-12" slot="edit"> </div>
<template class="pvs bpv"> <div class="col-md-6" slot="edit">
<slot> <template class="pvs">
<label for="ffnlgCarmdlCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">차종</label> <slot>
<select class="form-select" id="ffnlgCarmdlCd--${pageName}" name ="ffnlgCarmdlCd" data-map="FFNLG_CARMDL_CD"> <label for="crdnSpareaCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">특별구역</label>
<option value=""></option> <select class="form-select" id="crdnSpareaCd--${pageName}" name="crdnSpareaCd" data-map="CRDN_SPAREA_CD">
<c:forEach items="${FIM009List}" var="item"> <c:forEach items="${FIM007List}" var="item">
<option value="${item.code}">${item.value}</option> <option value="${item.code}">${item.value}</option>
</c:forEach> </c:forEach>
</select> </select>
</slot> </slot>
</template> </template>
</div> </div>
<div class="col-md-12" slot="edit"> <div class="col-md-6" slot="edit">
<template class="eca"> <template class="pvs">
<slot> <slot>
<label for="useFuelCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">연료구분</label> <label for="towngYnNm--${pageName}">
<select id="useFuelCd--${pageName}" class="form-select" name="useFuelCd" data-map="USE_FUEL_CD" disabled> <input type="checkbox" class="form-check-input" id="towngYnNm--${pageName}" name="towngYnNm" data-map="TOWNG_YN_NM" />견인여부
<option value=""></option> </label>
<c:forEach items="${LVS005List}" var="item"> </slot>
<option value="${item.code}">${item.value}</option> </template>
</c:forEach> </div>
</select> <!-- 기타 내용 -->
</slot> <div class="col-md-12">
</template> <label for="etcCn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">특기사항</label>
</div> <input type="text" class="form-control w-80" id="etcCn--${pageName}" name="etcCn" data-map="ETC_CN" data-maxlengthb="1000" />
<div class="col-md-6" slot="edit"> </div>
<template class="dpv eca pvs"> <div class="col-md-6">
<slot> <label for="vin--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">차대번호</label>
<label for="towngYn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">견인지시</label> <input type="text" class="form-control" id="vin--${pageName}" name="vin" data-map="VIN" readonly placeholder="입력항목이 아닙니다." />
<select class="form-select" id="towngYn--${pageName}" name="towngYn" data-map="TOWNG_YN"> </div>
<c:forEach items="${FIM053List}" var="item"> <div class="col-md-6">
<option value="${item.code}">${item.value}</option> <label for="vhclNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">차량명칭</label>
</c:forEach> <input type="text" class="form-control" id="vhclNm--${pageName}" name="vhclNm" data-map="VHCL_NM" readonly placeholder="입력항목이 아닙니다." />
</select> </div>
</slot> <div class="col-md-6">
</template> <label for="vhclColor--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">차량색상</label>
</div> <input type="text" class="form-control" id="vhclColor--${pageName}" name="vhclColor" data-map="VHCL_COLOR" readonly placeholder="입력항목이 아닙니다." />
<div class="col-md-6" slot="edit"> </div>
<template class="dpv eca pvs"> <div class="col-md-12" slot="edit">
<slot> <template class="pvs bpv">
<label for="crdnSn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">스티커번호</label> <slot>
<input type="text" class="form-control" id="crdnSn--${pageName}" name="crdnSn" data-map="CRDN_SN" maxlength="20" data-maxlengthb="20" /> <label for="ffnlgCarmdlCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">차종</label>
</slot> <select class="form-select" id="ffnlgCarmdlCd--${pageName}" name ="ffnlgCarmdlCd" data-map="FFNLG_CARMDL_CD">
</template> <option value=""></option>
</div> <c:forEach items="${FIM009List}" var="item">
<div class="col-md-6" slot="edit"> <option value="${item.code}">${item.value}</option>
<template class="dpv"> </c:forEach>
<slot> </select>
<label for="parkngPsbltyRsltCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">장애차량확인</label> </slot>
<select class="form-select" id="parkngPsbltyRsltCd--${pageName}" name="parkngPsbltyRsltCd" data-map="PARKNG_PSBLTY_RSLT_CD"> </template>
<c:forEach items="${FIM034List}" var="item"> </div>
<c:if test="${item.code == '0' or item.code == '1'}"> <div class="col-md-12" slot="edit">
<option value="${item.code}">${item.value}</option> <template class="eca">
</c:if> <slot>
</c:forEach> <label for="useFuelCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">연료구분</label>
</select> <select id="useFuelCd--${pageName}" class="form-select" name="useFuelCd" data-map="USE_FUEL_CD" disabled>
</slot> <option value=""></option>
</template> <c:forEach items="${LVS005List}" var="item">
</div> <option value="${item.code}">${item.value}</option>
<div class="col-md-12" slot="edit"> </c:forEach>
<template class="pvs bpv"> </select>
<slot> </slot>
<label for="teamId--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">단속조</label> </template>
<select class="form-select" id="teamId--${pageName}" name="teamId" data-map="TEAM_ID"> </div>
<option value=""></option> <div class="col-md-6" slot="edit">
<c:forEach items="${TeamList}" var="item"> <template class="dpv eca pvs">
<option value="${item.TEAM_ID}">${item.TEAM_NM}</option> <slot>
</c:forEach> <label for="towngYn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">견인지시</label>
</select> <select class="form-select" id="towngYn--${pageName}" name="towngYn" data-map="TOWNG_YN">
</slot> <c:forEach items="${FIM053List}" var="item">
</template> <option value="${item.code}">${item.value}</option>
</div> </c:forEach>
<div class="col-md-12" slot="edit"> </select>
<template class="pvs bpv"> </slot>
<slot> </template>
<label class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">단속원</label> </div>
<input type="text" class="form-control" id="teamer1--${pageName}" name="teamer1" data-map="TEAMER_1" /> <div class="col-md-6" slot="edit">
<input type="text" class="form-control" id="teamer2--${pageName}" name="teamer2" data-map="TEAMER_2" /> <template class="dpv eca pvs">
<input type="text" class="form-control" id="teamer3--${pageName}" name="teamer3" data-map="TEAMER_3" /> <slot>
<input type="text" class="form-control" id="teamer4--${pageName}" name="teamer4" data-map="TEAMER_4" /> <label for="crdnSn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">스티커번호</label>
</slot> <input type="text" class="form-control" id="crdnSn--${pageName}" name="crdnSn" data-map="CRDN_SN" maxlength="20" data-maxlengthb="20" />
</template> </slot>
</div> </template>
</div>
<div class="col-md-6" slot="edit">
<template class="dpv">
<slot>
<label for="parkngPsbltyRsltCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">장애차량확인</label>
<select class="form-select" id="parkngPsbltyRsltCd--${pageName}" name="parkngPsbltyRsltCd" data-map="PARKNG_PSBLTY_RSLT_CD">
<c:forEach items="${FIM034List}" var="item">
<c:if test="${item.code == '0' or item.code == '1'}">
<option value="${item.code}">${item.value}</option>
</c:if>
</c:forEach>
</select>
</slot>
</template>
</div>
<div class="col-md-12" slot="edit">
<template class="pvs bpv">
<slot>
<label for="teamId--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">단속조</label>
<select class="form-select" id="teamId--${pageName}" name="teamId" data-map="TEAM_ID">
<option value=""></option>
<c:forEach items="${TeamList}" var="item">
<option value="${item.TEAM_ID}">${item.TEAM_NM}</option>
</c:forEach>
</select>
</slot>
</template>
</div>
<div class="col-md-12" slot="edit">
<template class="pvs bpv">
<slot>
<label class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">단속원</label>
<input type="text" class="form-control" id="teamer1--${pageName}" name="teamer1" data-map="TEAMER_1" />
<input type="text" class="form-control" id="teamer2--${pageName}" name="teamer2" data-map="TEAMER_2" />
<input type="text" class="form-control" id="teamer3--${pageName}" name="teamer3" data-map="TEAMER_3" />
<input type="text" class="form-control" id="teamer4--${pageName}" name="teamer4" data-map="TEAMER_4" />
</slot>
</template>
</div>
</div>
</form>
<!-- /입력 영역 -->
</div>
<!-- <div class="card"> -->
<!-- 업무 버튼 표시 -->
<div>
<span class="container-page-btn">
<span class="container-window-btn-right">
<!-- 업무 버튼 -->
<button type="button" class="btn btn-primary" id="btnSave--${pageName}" title="저장" onclick="fnSave${pageName}()">저장</button>
</span>
</span>
</div> </div>
</form> <!-- / 업무 버튼 표시 -->
<!-- /입력 영역 -->
</div> </div> <!-- / Content <div class="container-xxl flex-grow-1 px-0"> -->
<!-- <div class="card"> --> </div> <!-- / inner page html <div class="content-wrapper"> -->
<!-- 업무 버튼 표시 -->
<div>
<span class="container-page-btn">
<span class="container-window-btn-right">
<!-- 업무 버튼 -->
<button type="button" class="btn btn-primary" id="btnSave--${pageName}" title="저장" onclick="fnSave${pageName}()">저장</button>
</span>
</span>
</div>
<!-- / 업무 버튼 표시 -->
<script> <script>
/************************************************************************** /**************************************************************************

@ -0,0 +1,152 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<!-- inner page html -->
<div class="content-wrapper">
<!-- Content -->
<div class="container-xxl flex-grow-1 px-0">
<c:set var="prefixName" scope="request">단속 상태 정보</c:set>
<!-- Page Body -->
<div class="card">
<!-- 입력 영역 -->
<form id="frmEdit--${pageName}" name="frmEdit">
<!-- hidden -->
<input type="hidden" id="crdnId--${pageName}" name="crdnId" data-map="CRDN_ID" />
<input type="hidden" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" />
<input type="hidden" id="taskSeCd--${pageName}" name="taskSeCd" data-map="TASK_SE_CD" />
<div class="row g-1">
<!-- 단속 처리 상태 코드 -->
<div class="col-md-12">
<label for="crdnSttsCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">처리 상태</label>
<select class="form-select" id="crdnSttsCd--${pageName}" name="crdnSttsCd" data-map="CRDN_STTS_CD" required>
<option value="">선택하세요</option>
<c:forEach items="${FIM010List}" var="item">
<option value="${item.code}">${item.value}</option>
</c:forEach>
</select>
</div>
<!-- 기타 내용 -->
<div class="col-md-12">
<label for="etcCn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">기타 내용</label>
<input type="text" class="form-control w-80" id="etcCn--${pageName}" name="etcCn" data-map="ETC_CN" data-maxlengthb="1000" />
</div>
</div>
</form> <!-- /입력 영역 -->
</div> <!-- <div class="card"> -->
<!-- 업무 버튼 표시 -->
<div>
<span class="container-page-btn">
<span class="container-window-btn-right">
<!-- 업무 버튼 -->
<button type="button" class="btn btn-primary" id="btnSave--${pageName}" title="저장" onclick="fnSave${pageName}()">저장</button>
</span>
</span>
</div>
<!-- / 업무 버튼 표시 -->
</div> <!-- / Content <div class="container-xxl flex-grow-1 px-0"> -->
</div> <!-- / inner page html <div class="content-wrapper"> -->
<script>
/**************************************************************************
* Global Variable
**************************************************************************/
// URL
var ${pageName}PrefixUrl = "/crdn/crdn06";
// FormFields
var ${pageName}Fields = new FormFields("#frmEdit--${pageName}");
/**************************************************************************
* DatasetControl
**************************************************************************/
var ${pageName}Control = new DatasetControl({
prefix : "crdnSttsCd"
, prefixName : "단속 상태"
, keymapper : info => info ? info.CRDN_ID : ""
, dataGetter : obj => obj.crdnInfo
, urls : {
update : wctx.url(${pageName}PrefixUrl + "/030/update.do") // 저장
}
});
${pageName}Control.onCurrentChange = item => {
${pageName}Fields.set(item);
// 업무구분에 따른 url 변경
${pageName}Control.urls.update = wctx.url($("#taskSeCd--${pageName}").val() + ${pageName}PrefixUrl + "/030/update.do");
}
/**************************************************************************
* DatasetControl 이벤트
**************************************************************************/
// 저장 callback
${pageName}Control.onSave = (resp) => {
let dialogTitle = $("#" + ${pageName}Control.prefix + "Dialog").find("h5.modal-title").html();
let showMessage = resp.retMessage.replace(/[S]|[F]/g, dialogTitle);
dialog.alert(showMessage);
if (resp.saved) {
dialog.close(${pageName}Control.prefix + "Dialog");
}
}
// 저장
${pageName}Control.save = (info) => {
if (!info) return;
ajax.post({
url : ${pageName}Control.urls.update
, data : info
, success : resp => ${pageName}Control.onSave(resp)
});
}
/**************************************************************************
* 초기 셋팅
**************************************************************************/
// 검색조건 초기값 셋팅
initForm${pageName} = () => {
}
// 이벤트 설정
setEvent${pageName} = () => {
}
/**************************************************************************
* function
**************************************************************************/
// 저장
fnSave${pageName} = () => {
// validate 확인
if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return;
dialog.alert({
content : "현재 " + ${pageName}Control.prefixName + " 정보를 저장하시겠습니까?"
, onOK : () => {
${pageName}Control.save(${pageName}Fields.get());
}
});
}
/**************************************************************************
* script 진입
**************************************************************************/
$(document).ready(function() {
// 이벤트 설정
setEvent${pageName}();
// 화면 초기 설정
initForm${pageName}();
// Dataset 셋팅 - 단건일 경우 setData
${pageName}Control.setData([${crdnInfo}]);
});
// #sourceURL=crdn06030-info.jsp
</script>

@ -258,7 +258,7 @@
<div class="content-backdrop fade"></div> <div class="content-backdrop fade"></div>
</div> </div>
<!-- Content wrapper --> <!-- / inner page html <div class="content-wrapper"> -->
<script> <script>
/************************************************************************** /**************************************************************************
@ -597,5 +597,4 @@
// ${pageName}Control.addData(${levyExcl}); // ${pageName}Control.addData(${levyExcl});
}); });
// #sourceURL=excl01010-main.jsp
</script> </script>

@ -1,67 +1,74 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<!-- Page Body --> <!-- inner page html -->
<div class="card"> <div class="content-wrapper">
<!-- 입력 영역 --> <!-- Content -->
<form id="frmEdit--${pageName}" name="frmEdit"> <div class="container-xxl flex-grow-1 px-0">
<!-- hidden --> <c:set var="prefixName" scope="request">부과제외 정보</c:set>
<input type="hidden" id="crdnId--${pageName}" name="crdnId" data-map="CRDN_ID" />
<input type="hidden" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" /> <!-- Page Body -->
<input type="hidden" id="taskSeCd--${pageName}" name="taskSeCd" data-map="TASK_SE_CD" /> <div class="card">
<input type="hidden" id="levyExclId--${pageName}" name="levyExclId" data-map="LEVY_EXCL_ID" /> <!-- 입력 영역 -->
<form id="frmEdit--${pageName}" name="frmEdit">
<div class="row g-1"> <!-- hidden -->
<!-- 차량번호 --> <input type="hidden" id="crdnId--${pageName}" name="crdnId" data-map="CRDN_ID" />
<div class="col-md-12"> <input type="hidden" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" />
<label for="vhrno--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">차량번호</label> <input type="hidden" id="taskSeCd--${pageName}" name="taskSeCd" data-map="TASK_SE_CD" />
<input type="text" class="form-control w-px-120" id="vhrno--${pageName}" name="vhrno" data-map="VHRNO" readonly /> <input type="hidden" id="levyExclId--${pageName}" name="levyExclId" data-map="LEVY_EXCL_ID" />
</div>
<!-- 부과 제외 구분 --> <div class="row g-1">
<div class="col-md-12"> <!-- 차량번호 -->
<label for="levyExclSeNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">부과제외구분</label> <div class="col-md-12">
<input type="text" class="form-control w-px-120" id="levyExclSeNm--${pageName}" readonly /> <label for="vhrno--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">차량번호</label>
<input type="hidden" id="levyExclSeCd--${pageName}" name="levyExclSeCd" data-map="LEVY_EXCL_SE_CD" /> <input type="text" class="form-control w-px-120" id="vhrno--${pageName}" name="vhrno" data-map="VHRNO" readonly />
</div> </div>
<!-- 부과 제외 일자 --> <!-- 부과 제외 구분 -->
<div class="col-md-12"> <div class="col-md-12">
<label for="levyExclYmd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">부과제외일자</label> <label for="levyExclSeNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">부과제외구분</label>
<input type="text" class="form-control form-date" id="levyExclYmd--${pageName}" name="levyExclYmd" data-map="LEVY_EXCL_YMD" <input type="text" class="form-control w-px-120" id="levyExclSeNm--${pageName}" readonly />
data-fmt-type="day" title="날짜 선택" maxlength="10" required /> <input type="hidden" id="levyExclSeCd--${pageName}" name="levyExclSeCd" data-map="LEVY_EXCL_SE_CD" />
<button type="button" class="bx bx-sm bx-calendar bg-white"></button> </div>
</div> <!-- 부과 제외 일자 -->
<!-- 부과 제외 사유 --> <div class="col-md-12">
<div class="col-md-12"> <label for="levyExclYmd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">부과제외일자</label>
<label for="levyExclRsnCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">부과제외사유</label> <input type="text" class="form-control form-date" id="levyExclYmd--${pageName}" name="levyExclYmd" data-map="LEVY_EXCL_YMD"
<select class="form-select" id="levyExclRsnCd--${pageName}" name="levyExclRsnCd" data-map="LEVY_EXCL_RSN_CD" required> data-fmt-type="day" title="날짜 선택" maxlength="10" required />
<option value="">선택하세요</option> <button type="button" class="bx bx-sm bx-calendar bg-white"></button>
<c:forEach items="${FIM022List}" var="item"> </div>
<option value="${item.code}">${item.value}</option> <!-- 부과 제외 사유 -->
</c:forEach> <div class="col-md-12">
</select> <label for="levyExclRsnCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">부과제외사유</label>
</div> <select class="form-select" id="levyExclRsnCd--${pageName}" name="levyExclRsnCd" data-map="LEVY_EXCL_RSN_CD" required>
<!-- 기타 내용 --> <option value="">선택하세요</option>
<div class="col-md-12"> <c:forEach items="${FIM022List}" var="item">
<label for="etcCn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">기타 내용</label> <option value="${item.code}">${item.value}</option>
<textarea type="text" class="form-control w-80" id="etcCn--${pageName}" name="etcCn" data-map="ETC_CN" rows="3" data-maxlengthb="1000"> </c:forEach>
</textarea> </select>
</div> </div>
<!-- 기타 내용 -->
<div class="col-md-12">
<label for="etcCn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">기타 내용</label>
<textarea type="text" class="form-control w-80" id="etcCn--${pageName}" name="etcCn" data-map="ETC_CN" rows="3" data-maxlengthb="1000">
</textarea>
</div>
</div>
</form> <!-- /입력 영역 -->
</div> <!-- <div class="card"> -->
<!-- 업무 버튼 표시 -->
<div>
<span class="container-page-btn">
<span class="container-window-btn-right">
<!-- 업무 버튼 -->
<button type="button" class="btn btn-primary" id="btnSave--${pageName}" title="저장" onclick="fnSave${pageName}()">저장</button>
</span>
</span>
</div> </div>
</form> <!-- / 업무 버튼 표시 -->
<!-- /입력 영역 -->
</div> </div> <!-- / Content <div class="container-xxl flex-grow-1 px-0"> -->
<!-- <div class="card"> --> </div> <!-- / inner page html <div class="content-wrapper"> -->
<!-- 업무 버튼 표시 -->
<div>
<span class="container-page-btn">
<span class="container-window-btn-right">
<!-- 업무 버튼 -->
<button type="button" class="btn btn-primary" id="btnSave--${pageName}" title="저장" onclick="fnSave${pageName}()">저장</button>
</span>
</span>
</div>
<!-- / 업무 버튼 표시 -->
<script> <script>
/************************************************************************** /**************************************************************************
@ -217,5 +224,4 @@
${pageName}Control.setData([${levyExclInfo}]); ${pageName}Control.setData([${levyExclInfo}]);
}); });
// #sourceURL=excl01020-info.jsp
</script> </script>

@ -274,7 +274,7 @@
<div class="content-backdrop fade"></div> <div class="content-backdrop fade"></div>
</div> </div>
<!-- Content wrapper --> <!-- / inner page html <div class="content-wrapper"> -->
<script> <script>
/************************************************************************** /**************************************************************************
@ -624,5 +624,4 @@
fnResetAndChangeBiz${pageName}(defaultBizValue); fnResetAndChangeBiz${pageName}(defaultBizValue);
}); });
// #sourceURL=excl02010-main.jsp
</script> </script>

@ -1,170 +1,178 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<!-- Page Body --> <!-- inner page html -->
<div class="card"> <div class="content-wrapper">
<!-- 입력 영역 --> <!-- Content -->
<form id="frmEdit--${pageName}" name="frmEdit"> <div class="container-xxl flex-grow-1 px-0">
<!-- hidden --> <c:set var="prefixName" scope="request">의견제출 정보</c:set>
<input type="hidden" id="crdnId--${pageName}" name="crdnId" data-map="CRDN_ID" />
<input type="hidden" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" /> <!-- Page Body -->
<input type="hidden" id="taskSeCd--${pageName}" name="taskSeCd" data-map="TASK_SE_CD" /> <div class="card">
<input type="hidden" id="opnnId--${pageName}" name="opnnId" data-map="OPNN_ID" /> <!-- 입력 영역 -->
<form id="frmEdit--${pageName}" name="frmEdit">
<div class="row g-1"> <!-- hidden -->
<!-- 차량번호 --> <input type="hidden" id="crdnId--${pageName}" name="crdnId" data-map="CRDN_ID" />
<div class="col-md-4"> <input type="hidden" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" />
<label for="vhrno--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">차량번호</label> <input type="hidden" id="taskSeCd--${pageName}" name="taskSeCd" data-map="TASK_SE_CD" />
<input type="text" class="form-control w-30" id="vhrno--${pageName}" name="vhrno" data-map="VHRNO" readonly /> <input type="hidden" id="opnnId--${pageName}" name="opnnId" data-map="OPNN_ID" />
</div>
<!-- 단속일시 --> <div class="row g-1">
<div class="col-md-4"> <!-- 차량번호 -->
<label for="crdnYmd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">단속일시</label> <div class="col-md-4">
<input type="text" class="form-control w-30" id="crdnYmd--${pageName}" name="crdnYmd" data-map="CRDN_YMD" readonly /> <label for="vhrno--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">차량번호</label>
</div> <input type="text" class="form-control w-30" id="vhrno--${pageName}" name="vhrno" data-map="VHRNO" readonly />
<!-- 납부자 명 --> </div>
<div class="col-md-4"> <!-- 단속일시 -->
<label for="rtpyrNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">납부자</label> <div class="col-md-4">
<input type="text" class="form-control w-60" id="rtpyrNm--${pageName}" name="rtpyrNm" data-map="RTPYR_NM" readonly /> <label for="crdnYmd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">단속일시</label>
</div> <input type="text" class="form-control w-30" id="crdnYmd--${pageName}" name="crdnYmd" data-map="CRDN_YMD" readonly />
<!-- 접수 번호 --> </div>
<div class="col-md-4"> <!-- 납부자 명 -->
<label for="rcptNo--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">접수 번호</label> <div class="col-md-4">
<input type="text" class="form-control w-30" id="rcptNo--${pageName}" name="rcptNo" data-map="RCPT_NO" required /> <label for="rtpyrNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">납부자</label>
</div> <input type="text" class="form-control w-60" id="rtpyrNm--${pageName}" name="rtpyrNm" data-map="RTPYR_NM" readonly />
<!-- 접수 일자 --> </div>
<div class="col-md-4"> <!-- 접수 번호 -->
<label for="rcptYmd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">접수 일자</label> <div class="col-md-4">
<input type="text" class="form-control form-date" id="rcptYmd--${pageName}" name="rcptYmd" data-map="RCPT_YMD" <label for="rcptNo--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">접수 번호</label>
data-fmt-type="day" title="날짜 선택" maxlength="10" required /> <input type="text" class="form-control w-30" id="rcptNo--${pageName}" name="rcptNo" data-map="RCPT_NO" required />
<button type="button" class="bx bx-sm bx-calendar bg-white"></button> </div>
</div> <!-- 접수 일자 -->
<!-- 접수 구분 --> <div class="col-md-4">
<div class="col-md-4"> <label for="rcptYmd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">접수 일자</label>
<label for="rcptSeCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">접수 구분</label> <input type="text" class="form-control form-date" id="rcptYmd--${pageName}" name="rcptYmd" data-map="RCPT_YMD"
<select class="form-select" id="rcptSeCd--${pageName}" name="rcptSeCd" data-map="RCPT_SE_CD" required> data-fmt-type="day" title="날짜 선택" maxlength="10" required />
<option value="">선택하세요</option> <button type="button" class="bx bx-sm bx-calendar bg-white"></button>
<c:forEach items="${FIM029List}" var="item"> </div>
<option value="${item.code}">${item.value}</option> <!-- 접수 구분 -->
</c:forEach> <div class="col-md-4">
</select> <label for="rcptSeCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">접수 구분</label>
</div> <select class="form-select" id="rcptSeCd--${pageName}" name="rcptSeCd" data-map="RCPT_SE_CD" required>
<!-- 진술자 이름 --> <option value="">선택하세요</option>
<div class="col-md-4"> <c:forEach items="${FIM029List}" var="item">
<label for="sttrNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">성명</label> <option value="${item.code}">${item.value}</option>
<input type="text" class="form-control w-40" id="sttrNm--${pageName}" name="sttrNm" data-map="STTR_NM" required /> </c:forEach>
<button type="button" class="btn btn-sm btn-outline-dark" id="btnPayer--${pageName}" title="납부자 정보 적용" onclick="fnPayer${pageName}();"> </select>
납부자 </div>
</button> <!-- 진술자 이름 -->
</div> <div class="col-md-4">
<!-- 진술자 생년월일 --> <label for="sttrNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">성명</label>
<div class="col-md-4"> <input type="text" class="form-control w-40" id="sttrNm--${pageName}" name="sttrNm" data-map="STTR_NM" required />
<label for="sttrBrdt--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">생년월일</label> <button type="button" class="btn btn-sm btn-outline-dark" id="btnPayer--${pageName}" title="납부자 정보 적용" onclick="fnPayer${pageName}();">
<input type="text" class="form-control w-25" id="sttrBrdt--${pageName}" name="sttrBrdt" data-map="STTR_BRDT" placeholder="YY-MM-DD" /> 납부자
</div> </button>
<!-- 소유주 관계 구분 코드 --> </div>
<div class="col-md-4"> <!-- 진술자 생년월일 -->
<label for="ownrRelCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">소유주 관계 구분</label> <div class="col-md-4">
<select class="form-select" id="ownrRelCd--${pageName}" name="ownrRelCd" data-map="OWNR_REL_CD"> <label for="sttrBrdt--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">생년월일</label>
<option value="">선택하세요</option> <input type="text" class="form-control w-25" id="sttrBrdt--${pageName}" name="sttrBrdt" data-map="STTR_BRDT" placeholder="YY-MM-DD" />
<c:forEach items="${FIM032List}" var="item"> </div>
<option value="${item.code}">${item.value}</option> <!-- 소유주 관계 구분 코드 -->
</c:forEach> <div class="col-md-4">
</select> <label for="ownrRelCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">소유주 관계 구분</label>
</div> <select class="form-select" id="ownrRelCd--${pageName}" name="ownrRelCd" data-map="OWNR_REL_CD">
<!-- 진술자 주소 --><!-- 진술자 우편번호 --> <option value="">선택하세요</option>
<div class="col-md-12"> <c:forEach items="${FIM032List}" var="item">
<label for="sttrAddr--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">주소</label> <option value="${item.code}">${item.value}</option>
<input type="text" class="form-control w-75" id="sttrAddr--${pageName}" name="sttrAddr" data-map="STTR_ADDR" /> </c:forEach>
<input type="text" class="form-control w-px-75" id="sttrZip--${pageName}" name="sttrZip" data-map="STTR_ZIP" /> </select>
<button type="button" class="btn btn-sm btn-outline-dark" id="btnZip--${pageName}" title="우편번호 검색" onclick="fnZip${pageName}();"> </div>
검색 <!-- 진술자 주소 --><!-- 진술자 우편번호 -->
</button> <div class="col-md-12">
</div> <label for="sttrAddr--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">주소</label>
<!-- 진술자 상세주소 --> <input type="text" class="form-control w-75" id="sttrAddr--${pageName}" name="sttrAddr" data-map="STTR_ADDR" />
<div class="col-md-12"> <input type="text" class="form-control w-px-75" id="sttrZip--${pageName}" name="sttrZip" data-map="STTR_ZIP" />
<label for="sttrDaddr--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">상세 주소</label> <button type="button" class="btn btn-sm btn-outline-dark" id="btnZip--${pageName}" title="우편번호 검색" onclick="fnZip${pageName}();">
<input type="text" class="form-control w-87" id="sttrDaddr--${pageName}" name="sttrDaddr" data-map="STTR_DADDR" /> 검색
</div> </button>
<!-- 진술자 연락처 --> </div>
<div class="col-md-4"> <!-- 진술자 상세주소 -->
<label for="sttrCttpc--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">연락처</label> <div class="col-md-12">
<input type="text" class="form-control w-35" id="sttrCttpc--${pageName}" name="sttrCttpc" data-map="STTR_CTTPC" /> <label for="sttrDaddr--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">상세 주소</label>
</div> <input type="text" class="form-control w-87" id="sttrDaddr--${pageName}" name="sttrDaddr" data-map="STTR_DADDR" />
<!-- 진술자 이메일 --> </div>
<div class="col-md-8"> <!-- 진술자 연락처 -->
<label for="sttrEml--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">이메일</label> <div class="col-md-4">
<input type="text" class="form-control w-35" id="sttrEml--${pageName}" name="sttrEml" data-map="STTR_EML" /> <label for="sttrCttpc--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">연락처</label>
</div> <input type="text" class="form-control w-35" id="sttrCttpc--${pageName}" name="sttrCttpc" data-map="STTR_CTTPC" />
<!-- 의견 제출 내용 --> </div>
<div class="col-md-12"> <!-- 진술자 이메일 -->
<label for="opnnSbmsnCn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">의견제출 내용</label> <div class="col-md-8">
<textarea type="text" class="form-control w-87" id="opnnSbmsnCn--${pageName}" name="opnnSbmsnCn" data-map="OPNN_SBMSN_CN" rows="5" data-maxlengthb="4000"> <label for="sttrEml--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">이메일</label>
</textarea> <input type="text" class="form-control w-35" id="sttrEml--${pageName}" name="sttrEml" data-map="STTR_EML" />
</div> </div>
<!-- 의견 제출 구분 코드 --> <!-- 의견 제출 내용 -->
<div class="col-md-4"> <div class="col-md-12">
<label for="opnnSbmsnSeCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">의견제출 구분</label> <label for="opnnSbmsnCn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">의견제출 내용</label>
<select class="form-select" id="opnnSbmsnSeCd--${pageName}" name="opnnSbmsnSeCd" data-map="OPNN_SBMSN_SE_CD" required> <textarea type="text" class="form-control w-87" id="opnnSbmsnCn--${pageName}" name="opnnSbmsnCn" data-map="OPNN_SBMSN_CN" rows="5" data-maxlengthb="4000">
<option value="">선택하세요</option> </textarea>
<c:forEach items="${FIM033List}" var="item"> </div>
<option value="${item.code}">${item.value}</option> <!-- 의견 제출 구분 코드 -->
</c:forEach> <div class="col-md-4">
</select> <label for="opnnSbmsnSeCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">의견제출 구분</label>
</div> <select class="form-select" id="opnnSbmsnSeCd--${pageName}" name="opnnSbmsnSeCd" data-map="OPNN_SBMSN_SE_CD" required>
<!-- 의견 제출 요지 --> <option value="">선택하세요</option>
<div class="col-md-8"> <c:forEach items="${FIM033List}" var="item">
<label for="opnnSbmsnGist--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">의견제출 요지</label> <option value="${item.code}">${item.value}</option>
<input type="text" class="form-control w-80" id="opnnSbmsnGist--${pageName}" name="opnnSbmsnGist" data-map="OPNN_SBMSN_GIST" data-maxlengthb="300" /> </c:forEach>
</div> </select>
<!-- 담당자 검토 의견 --> </div>
<div class="col-md-12"> <!-- 의견 제출 요지 -->
<label for="picRvwOpnn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">검토 의견</label> <div class="col-md-8">
<textarea class="form-control w-87" id="picRvwOpnn--${pageName}" name="picRvwOpnn" data-map="PIC_RVW_OPNN" rows="3" data-maxlengthb="1000"> <label for="opnnSbmsnGist--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">의견제출 요지</label>
</textarea> <input type="text" class="form-control w-80" id="opnnSbmsnGist--${pageName}" name="opnnSbmsnGist" data-map="OPNN_SBMSN_GIST" data-maxlengthb="300" />
</div> </div>
<!-- 담당자 검토 의견 -->
<div class="col-md-12">
<label for="picRvwOpnn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">검토 의견</label>
<textarea class="form-control w-87" id="picRvwOpnn--${pageName}" name="picRvwOpnn" data-map="PIC_RVW_OPNN" rows="3" data-maxlengthb="1000">
</textarea>
</div>
</div>
</form>
<!-- /입력 영역 -->
<!-- 첨부 파일 -->
<div class="card">
<form id="frmFile--${pageName}" method="post" enctype="multipart/form-data" >
<input type="file" id="uploadFiles--${pageName}" name="uploadFiles" multiple="multiple" onchange="fnAddFiles(this);" hidden />
</form>
<div class="row g-1">
<div class="col-md-12">
<button type="button" class="btn btn-blue" id="btnAddFile--${pageName}" title="첨부파일 추가">파일 추가</button>
</div>
</div>
<!-- 첨부 파일 테이블 -->
<div class="table-responsive">
<table class="table table-bordered table-hover table-striped" id="fileList--${pageName}">
<thead>
<th class="text-center" style="width: 24px">NO.</th>
<th class="text-center" style="width: 200px">파일 번호</th>
<th class="text-center">파일 이름</th>
<th class="text-center" style="width: 200px">파일 크기</th>
<th class="text-center" style="width: 120px">다운로드</th>
<th class="text-center" style="width: 120px">삭제</th>
</thead>
<tbody></tbody>
</table>
</div> <!-- 첨부 파일 테이블 <div class="table-responsive"> -->
</div> <!-- 첨부 파일 <div class="card"> -->
</div> <!-- <div class="card"> -->
<!-- 업무 버튼 표시 -->
<div>
<span class="container-page-btn">
<span class="container-window-btn-right">
<!-- 업무 버튼 -->
<button type="button" class="btn btn-primary" id="btnSave--${pageName}" title="저장" onclick="fnSave${pageName}()">저장</button>
</span>
</span>
</div> </div>
</form> <!-- / 업무 버튼 표시 -->
<!-- /입력 영역 -->
</div> <!-- / Content <div class="container-xxl flex-grow-1 px-0"> -->
<!-- 첨부 파일 --> </div> <!-- / inner page html <div class="content-wrapper"> -->
<div class="card">
<form id="frmFile--${pageName}" method="post" enctype="multipart/form-data" >
<input type="file" id="uploadFiles--${pageName}" name="uploadFiles" multiple="multiple" onchange="fnAddFiles(this);" hidden />
</form>
<div class="row g-1">
<div class="col-md-12">
<button type="button" class="btn btn-blue" id="btnAddFile--${pageName}" title="첨부파일 추가">파일 추가</button>
</div>
</div>
<!-- 첨부 파일 테이블 -->
<div class="table-responsive">
<table class="table table-bordered table-hover table-striped" id="fileList--${pageName}">
<thead>
<th class="text-center" style="width: 24px">NO.</th>
<th class="text-center" style="width: 200px">파일 번호</th>
<th class="text-center">파일 이름</th>
<th class="text-center" style="width: 200px">파일 크기</th>
<th class="text-center" style="width: 120px">다운로드</th>
<th class="text-center" style="width: 120px">삭제</th>
</thead>
<tbody></tbody>
</table>
</div> <!-- 첨부 파일 테이블 <div class="table-responsive"> -->
</div> <!-- 첨부 파일 <div class="card"> -->
</div>
<!-- <div class="card"> -->
<!-- 업무 버튼 표시 -->
<div>
<span class="container-page-btn">
<span class="container-window-btn-right">
<!-- 업무 버튼 -->
<button type="button" class="btn btn-primary" id="btnSave--${pageName}" title="저장" onclick="fnSave${pageName}()">저장</button>
</span>
</span>
</div>
<!-- / 업무 버튼 표시 -->
<script> <script>
/************************************************************************** /**************************************************************************
@ -456,5 +464,4 @@
${pageName}Control.setData([${opnnSbmsnInfo}]); ${pageName}Control.setData([${opnnSbmsnInfo}]);
}); });
// #sourceURL=excl01020-info.jsp
</script> </script>

@ -5,7 +5,7 @@
<div class="content-wrapper"> <div class="content-wrapper">
<!-- Content --> <!-- Content -->
<div class="container-xxl flex-grow-1 px-0"> <div class="container-xxl flex-grow-1 px-0">
<c:set var="prefixName" scope="request">단속 재등록 관리</c:set> <c:set var="prefixName" scope="request">의견제출 심의 정보</c:set>
<!-- Page Body --> <!-- Page Body -->
<div class="card"> <div class="card">
@ -109,28 +109,22 @@
</textarea> </textarea>
</div> </div>
</div> </div>
</form> </form> <!-- /입력 영역 -->
<!-- /입력 영역 --> </div> <!-- <div class="card"> -->
</div>
<!-- <div class="card"> --> <!-- 업무 버튼 표시 -->
</div> <div>
<!-- / Content --> <span class="container-page-btn">
<span class="container-window-btn-right">
<!-- 업무 버튼 표시 --> <!-- 업무 버튼 -->
<div> <button type="button" class="btn btn-primary" id="btnSave--${pageName}" title="저장" onclick="fnSave${pageName}()">저장</button>
<span class="container-page-btn"> </span>
<span class="container-window-btn-right">
<!-- 업무 버튼 -->
<button type="button" class="btn btn-primary" id="btnSave--${pageName}" title="저장" onclick="fnSave${pageName}()">저장</button>
</span> </span>
</span> </div>
</div> <!-- / 업무 버튼 표시 -->
<!-- / 업무 버튼 표시 -->
<jsp:include page="/WEB-INF/jsp/include/bottom.jsp" />
<div class="content-backdrop fade"></div> </div> <!-- / Content <div class="container-xxl flex-grow-1 px-0"> -->
</div> </div> <!-- / inner page html <div class="content-wrapper"> -->
<script> <script>
/************************************************************************** /**************************************************************************
@ -302,5 +296,4 @@
fnChangeOpnnSbmsnSttsCd($("#opnnSbmsnSttsCd--${pageName}").val()); fnChangeOpnnSbmsnSttsCd($("#opnnSbmsnSttsCd--${pageName}").val());
}); });
// #sourceURL=excl01020-info.jsp
</script> </script>

@ -215,7 +215,7 @@
<div class="content-backdrop fade"></div> <div class="content-backdrop fade"></div>
</div> </div>
<!-- Content wrapper --> <!-- / inner page html <div class="content-wrapper"> -->
<script> <script>
/************************************************************************** /**************************************************************************
@ -467,5 +467,4 @@
fnResetAndChangeBiz${pageName}(defaultBizValue); fnResetAndChangeBiz${pageName}(defaultBizValue);
}); });
// #sourceURL=excl03010-main.jsp
</script> </script>

@ -143,7 +143,7 @@
<div class="content-backdrop fade"></div> <div class="content-backdrop fade"></div>
</div> </div>
<!-- / inner page html <div class="content-wrapper"> -->
<script> <script>
@ -352,7 +352,6 @@ $(document).ready(function(){
//보안모드 //보안모드
fn_securityModeToggle($("#securityMode--top").is(":checked")); fn_securityModeToggle($("#securityMode--top").is(":checked"));
}); });
</script> </script>

@ -1,76 +1,83 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<!-- Page Body --> <!-- inner page html -->
<div class="card"> <div class="content-wrapper">
<!-- 입력 영역 --> <!-- Content -->
<form id="frmEdit--${pageName}" name="frmEdit"> <div class="container-xxl flex-grow-1 px-0">
<!-- hidden --> <c:set var="prefixName" scope="request">과태료 감경 정보</c:set>
<input type="hidden" id="crdnId--${pageName}" name="crdnId" data-map="CRDN_ID" />
<input type="hidden" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" /> <!-- Page Body -->
<input type="hidden" id="taskSeCd--${pageName}" name="taskSeCd" data-map="TASK_SE_CD" /> <div class="card">
<input type="hidden" id="rductId--${pageName}" name="rductId" data-map="RDUCT_ID" /> <!-- 입력 영역 -->
<form id="frmEdit--${pageName}" name="frmEdit">
<div class="row g-1"> <!-- hidden -->
<!-- 납부자 명 --> <input type="hidden" id="crdnId--${pageName}" name="crdnId" data-map="CRDN_ID" />
<div class="col-md-6"> <input type="hidden" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" />
<label for="rtpyrNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">납부자명</label> <input type="hidden" id="taskSeCd--${pageName}" name="taskSeCd" data-map="TASK_SE_CD" />
<input type="text" class="form-control w-px-120" id="rtpyrNm--${pageName}" name="rtpyrNm" data-map="RTPYR_NM" readonly /> <input type="hidden" id="rductId--${pageName}" name="rductId" data-map="RDUCT_ID" />
</div>
<!-- 납부자 번호 --> <div class="row g-1">
<div class="col-md-6"> <!-- 납부자 명 -->
<label for="rtpyrNo--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">납부자번호</label> <div class="col-md-6">
<input type="text" class="form-control w-50" id="rtpyrNo--${pageName}" name="rtpyrNo" data-map="RTPYR_NO" readonly /> <label for="rtpyrNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">납부자명</label>
</div> <input type="text" class="form-control w-px-120" id="rtpyrNm--${pageName}" name="rtpyrNm" data-map="RTPYR_NM" readonly />
<!-- 과태료 단속 금액 --> </div>
<div class="col-md-6"> <!-- 납부자 번호 -->
<label for="ffnlgCrdnAmt--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">단속금액</label> <div class="col-md-6">
<input type="text" class="form-control w-30 text-end" id="ffnlgCrdnAmt--${pageName}" name="ffnlgCrdnAmt" data-map="FFNLG_CRDN_AMT" readonly /> * <label for="rtpyrNo--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">납부자번호</label>
<input type="text" class="form-control w-15 text-end" id="wksnRductRt--${pageName}" name="wksnRductRt" data-map="WKSN_RDUCT_RT" readonly /> % <input type="text" class="form-control w-50" id="rtpyrNo--${pageName}" name="rtpyrNo" data-map="RTPYR_NO" readonly />
</div> </div>
<!-- 감경 금액 --> <!-- 과태료 단속 금액 -->
<div class="col-md-6"> <div class="col-md-6">
<label for="rductAmt--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">감경금액</label> <label for="ffnlgCrdnAmt--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">단속금액</label>
<input type="text" class="form-control w-30 text-end" id="rductAmt--${pageName}" name="rductAmt" data-map="RDUCT_AMT" readonly /> <input type="text" class="form-control w-30 text-end" id="ffnlgCrdnAmt--${pageName}" name="ffnlgCrdnAmt" data-map="FFNLG_CRDN_AMT" readonly /> *
</div> <input type="text" class="form-control w-15 text-end" id="wksnRductRt--${pageName}" name="wksnRductRt" data-map="WKSN_RDUCT_RT" readonly /> %
<!-- 감경 일자 --> </div>
<div class="col-md-6"> <!-- 감경 금액 -->
<label for="rductYmd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">감경일자</label> <div class="col-md-6">
<input type="text" class="form-control form-date" id="rductYmd--${pageName}" name="rductYmd" data-map="RDUCT_YMD" <label for="rductAmt--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">감경금액</label>
data-fmt-type="day" title="날짜 선택" maxlength="10" required /> <input type="text" class="form-control w-30 text-end" id="rductAmt--${pageName}" name="rductAmt" data-map="RDUCT_AMT" readonly />
<button type="button" class="bx bx-sm bx-calendar bg-white"></button> </div>
</div> <!-- 감경 일자 -->
<!-- 감경 사유 코드 --> <div class="col-md-6">
<div class="col-md-6"> <label for="rductYmd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">감경일자</label>
<label for="rductRsnCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">감경사유</label> <input type="text" class="form-control form-date" id="rductYmd--${pageName}" name="rductYmd" data-map="RDUCT_YMD"
<select class="form-select" id="rductRsnCd--${pageName}" name="rductRsnCd" data-map="RDUCT_RSN_CD" required> data-fmt-type="day" title="날짜 선택" maxlength="10" required />
<c:forEach items="${FIM019List}" var="item"> <button type="button" class="bx bx-sm bx-calendar bg-white"></button>
<option value="${item.code}">${item.value}</option> </div>
</c:forEach> <!-- 감경 사유 코드 -->
</select> <div class="col-md-6">
</div> <label for="rductRsnCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">감경사유</label>
<!-- 기타 내용 --> <select class="form-select" id="rductRsnCd--${pageName}" name="rductRsnCd" data-map="RDUCT_RSN_CD" required>
<div class="col-md-12"> <c:forEach items="${FIM019List}" var="item">
<label for="etcCn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">기타 내용</label> <option value="${item.code}">${item.value}</option>
<textarea type="text" class="form-control w-80" id="etcCn--${pageName}" name="etcCn" data-map="ETC_CN" rows="3" data-maxlengthb="1000"> </c:forEach>
</textarea> </select>
</div> </div>
<!-- 기타 내용 -->
<div class="col-md-12">
<label for="etcCn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">기타 내용</label>
<textarea type="text" class="form-control w-80" id="etcCn--${pageName}" name="etcCn" data-map="ETC_CN" rows="3" data-maxlengthb="1000">
</textarea>
</div>
</div>
</form> <!-- /입력 영역 -->
</div> <!-- <div class="card"> -->
<!-- 업무 버튼 표시 -->
<div>
<span class="container-page-btn">
<span class="container-window-btn-right">
<!-- 업무 버튼 -->
<button type="button" class="btn btn-primary" id="btnSave--${pageName}" title="저장" onclick="fnSave${pageName}()">저장</button>
</span>
</span>
</div> </div>
</form> <!-- / 업무 버튼 표시 -->
<!-- /입력 영역 -->
</div> </div> <!-- / Content <div class="container-xxl flex-grow-1 px-0"> -->
<!-- <div class="card"> --> </div> <!-- / inner page html <div class="content-wrapper"> -->
<!-- 업무 버튼 표시 -->
<div>
<span class="container-page-btn">
<span class="container-window-btn-right">
<!-- 업무 버튼 -->
<button type="button" class="btn btn-primary" id="btnSave--${pageName}" title="저장" onclick="fnSave${pageName}()">저장</button>
</span>
</span>
</div>
<!-- / 업무 버튼 표시 -->
<script> <script>
/************************************************************************** /**************************************************************************
@ -203,5 +210,4 @@
${pageName}Control.setData([${rductInfo}]); ${pageName}Control.setData([${rductInfo}]);
}); });
// #sourceURL=excl01020-info.jsp
</script> </script>

@ -642,6 +642,25 @@
}); });
} }
// 단속 상태 변경
getInfoCrdnSttsCd${pageName} = (params) => {
if (!params) return;
ajax.get({
url : wctx.url(params.taskSeCd + "/crdn/crdn06/030/info.do")
, data : params || {}
, success : resp => {
dialog.open({
id : ${pageName}Control.prefixed("SttsCdDialog")
, title : ${pageName}Control.prefixName + " 상태 변경"
, content : resp
, size : "lg"
, onClose : () => { refreshDataInfo${pageName}(); } // callback 자료 조회
});
}
});
}
// 납부자 초기화 // 납부자 초기화
deletePayer${pageName} = (params) => { deletePayer${pageName} = (params) => {
@ -904,7 +923,23 @@
// 단속 상태 변경 // 단속 상태 변경
fnUpdateCrdnSttsCd${pageName} = () => { fnUpdateCrdnSttsCd${pageName} = () => {
console.log("단속 상태 변경"); let crdnId = ${pageName}Control.dataset.getValue("CRDN_ID");
let sggCd = ${pageName}Control.dataset.getValue("SGG_CD");
let taskSeCd = ${pageName}Control.dataset.getValue("TASK_SE_CD");
// 단속 ID 가 없다면.. return
if (crdnId == undefined || crdnId == "") {
return;
}
let params = {
callPurpose : "update"
, crdnId : crdnId
, sggCd : sggCd
, taskSeCd : taskSeCd
};
getInfoCrdnSttsCd${pageName}(params);
} }
/************************************************************************** /**************************************************************************

@ -267,7 +267,9 @@
* function * function
**************************************************************************/ **************************************************************************/
// 심의 dialog // 심의 dialog
getInfoOpnnSbmsnDlbrt = (params) => { getInfoOpnnSbmsnDlbrt${pageName} = (params) => {
if (!params) return;
ajax.get({ ajax.get({
url : wctx.url(params.taskSeCd + "/excl/excl02/030/info.do") url : wctx.url(params.taskSeCd + "/excl/excl02/030/info.do")
, data : params || {} , data : params || {}
@ -436,7 +438,7 @@
, taskSeCd : taskSeCd , taskSeCd : taskSeCd
}; };
getInfoOpnnSbmsnDlbrt(params); getInfoOpnnSbmsnDlbrt${pageName}(params);
} }
// 심의의결서 출력 // 심의의결서 출력

@ -258,7 +258,7 @@
<div class="content-backdrop fade"></div> <div class="content-backdrop fade"></div>
</div> </div>
<!-- Content wrapper --> <!-- / inner page html <div class="content-wrapper"> -->
<script> <script>
/************************************************************************** /**************************************************************************

@ -1,50 +1,58 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<!-- Page Body --> <!-- inner page html -->
<div class="card"> <div class="content-wrapper">
<!-- 입력 영역 --> <!-- Content -->
<form id="frmEdit--${pageName}" name="frmEdit"> <div class="container-xxl flex-grow-1 px-0">
<!-- hidden --> <c:set var="prefixName" scope="request">민원 상담 내용 정보</c:set>
<input type="hidden" id="crdnId--${pageName}" name="crdnId" data-map="CRDN_ID" />
<input type="hidden" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" /> <!-- Page Body -->
<input type="hidden" id="taskSeCd--${pageName}" name="taskSeCd" data-map="TASK_SE_CD" /> <div class="card">
<input type="hidden" id="cvlcptDscsnId--${pageName}" name="cvlcptDscsnId" data-map="CVLCPT_DSCSN_ID" /> <!-- 입력 영역 -->
<input type="hidden" id="vhrno--${pageName}" name="vhrno" data-map="VHRNO" /> <form id="frmEdit--${pageName}" name="frmEdit">
<input type="hidden" id="rtpyrNo--${pageName}" name="rtpyrNo" data-map="RTPYR_NO" /> <!-- hidden -->
<input type="hidden" id="crdnId--${pageName}" name="crdnId" data-map="CRDN_ID" />
<div class="row g-1"> <input type="hidden" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" />
<!-- 민원 접수 구분 코드 --> <input type="hidden" id="taskSeCd--${pageName}" name="taskSeCd" data-map="TASK_SE_CD" />
<div class="col-md-12"> <input type="hidden" id="cvlcptDscsnId--${pageName}" name="cvlcptDscsnId" data-map="CVLCPT_DSCSN_ID" />
<label for="cvlcptRcptSeCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">접수구분</label> <input type="hidden" id="vhrno--${pageName}" name="vhrno" data-map="VHRNO" />
<select class="form-select" id="cvlcptRcptSeCd--${pageName}" name="cvlcptRcptSeCd" data-map="CVLCPT_RCPT_SE_CD" required> <input type="hidden" id="rtpyrNo--${pageName}" name="rtpyrNo" data-map="RTPYR_NO" />
<option value="">선택하세요</option>
<c:forEach items="${FIM065List}" var="item"> <div class="row g-1">
<option value="${item.code}">${item.value}</option> <!-- 민원 접수 구분 코드 -->
</c:forEach> <div class="col-md-12">
</select> <label for="cvlcptRcptSeCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">접수구분</label>
</div> <select class="form-select" id="cvlcptRcptSeCd--${pageName}" name="cvlcptRcptSeCd" data-map="CVLCPT_RCPT_SE_CD" required>
<!-- 상담 내용 --> <option value="">선택하세요</option>
<div class="col-md-12"> <c:forEach items="${FIM065List}" var="item">
<label for="dscsnCn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">상담 내용</label> <option value="${item.code}">${item.value}</option>
<textarea type="text" class="form-control w-80" id="dscsnCn--${pageName}" name="dscsnCn" data-map="DSCSN_CN" rows="5" data-maxlengthb="4000"> </c:forEach>
</textarea> </select>
</div> </div>
<!-- 상담 내용 -->
<div class="col-md-12">
<label for="dscsnCn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">상담 내용</label>
<textarea type="text" class="form-control w-80" id="dscsnCn--${pageName}" name="dscsnCn" data-map="DSCSN_CN" rows="5" data-maxlengthb="4000">
</textarea>
</div>
</div>
</form> <!-- /입력 영역 -->
</div> <!-- <div class="card"> -->
<!-- 업무 버튼 표시 -->
<div>
<span class="container-page-btn">
<span class="container-window-btn-right">
<!-- 업무 버튼 -->
<button type="button" class="btn btn-primary" id="btnSave--${pageName}" title="저장" onclick="fnSave${pageName}()">저장</button>
</span>
</span>
</div> </div>
</form> <!-- /입력 영역 --> <!-- / 업무 버튼 표시 -->
</div>
<!-- <div class="card"> --> </div> <!-- / Content <div class="container-xxl flex-grow-1 px-0"> -->
</div> <!-- / inner page html <div class="content-wrapper"> -->
<!-- 업무 버튼 표시 -->
<div>
<span class="container-page-btn">
<span class="container-window-btn-right">
<!-- 업무 버튼 -->
<button type="button" class="btn btn-primary" id="btnSave--${pageName}" title="저장" onclick="fnSave${pageName}()">저장</button>
</span>
</span>
</div>
<!-- / 업무 버튼 표시 -->
<script> <script>
/************************************************************************** /**************************************************************************

Loading…
Cancel
Save