|
|
@ -6,7 +6,7 @@
|
|
|
|
<div class="d-flex flex-row justify-content-evenly">
|
|
|
|
<div class="d-flex flex-row justify-content-evenly">
|
|
|
|
<div class="w-px-1150">
|
|
|
|
<div class="w-px-1150">
|
|
|
|
<!-- 입력 영역 -->
|
|
|
|
<!-- 입력 영역 -->
|
|
|
|
<form name="frmEditCrdnPayer">
|
|
|
|
<form name="frmCrdnPayer">
|
|
|
|
<input type="hidden" name="crdnId" data-map="CRDN_ID" />
|
|
|
|
<input type="hidden" name="crdnId" data-map="CRDN_ID" />
|
|
|
|
<input type="hidden" name="rtpyrId" data-map="RTPYR_ID" />
|
|
|
|
<input type="hidden" name="rtpyrId" data-map="RTPYR_ID" />
|
|
|
|
|
|
|
|
|
|
|
@ -45,17 +45,14 @@
|
|
|
|
</div> <!-- <div class="container-page-btn"> -->
|
|
|
|
</div> <!-- <div class="container-page-btn"> -->
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row g-1">
|
|
|
|
<div class="row g-1">
|
|
|
|
<!-- 등록구분 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="crdnRegSeNm">등록구분</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="crdnRegSeNm">등록구분</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-45" name="crdnRegSeNm" data-map="CRDN_REG_SE_NM" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-45" name="crdnRegSeNm" data-map="CRDN_REG_SE_NM" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 입력구분 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="crdnInptSeNm">입력구분</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="crdnInptSeNm">입력구분</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-45" name="crdnInptSeNm" data-map="CRDN_INPT_SE_NM" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-45" name="crdnInptSeNm" data-map="CRDN_INPT_SE_NM" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 단속 시작 시각 ~ 단속 종료 시각 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<span slot="edit">
|
|
|
|
<span slot="edit">
|
|
|
|
<template class="pes pvs"> <!-- 밤샘주차 주정차 -->
|
|
|
|
<template class="pes pvs"> <!-- 밤샘주차 주정차 -->
|
|
|
@ -67,17 +64,14 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 단속 일시 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="crdnYmdTm">단속일시</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="crdnYmdTm">단속일시</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-45" name="crdnYmdTm" data-map="CRDN_YMD_TM" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-45" name="crdnYmdTm" data-map="CRDN_YMD_TM" data-fmt-type="dt" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 차량번호 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="vhrno">차량번호</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="vhrno">차량번호</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-45" name="vhrno" data-map="VHRNO" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-45" name="vhrno" data-map="VHRNO" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 위반 항목 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="vltnArtcl">위반항목</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="vltnArtcl">위반항목</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-45" name="vltnArtcl" data-map="VLTN_ARTCL" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-45" name="vltnArtcl" data-map="VLTN_ARTCL" readonly />
|
|
|
@ -91,17 +85,14 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 법정동 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="crdnStdgNm">법정동</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="crdnStdgNm">법정동</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-45" name="crdnStdgNm" data-map="CRDN_STDG_NM" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-45" name="crdnStdgNm" data-map="CRDN_STDG_NM" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 단속 장소 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="crdnPlc">단속장소</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="crdnPlc">단속장소</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-60" name="crdnPlc" data-map="CRDN_PLC" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-60" name="crdnPlc" data-map="CRDN_PLC" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 단속일련번호 / 상세단속장소 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<span slot="edit">
|
|
|
|
<span slot="edit">
|
|
|
|
<template class="dpv eca pvs"> <!-- 장애인 전기차 주정차 -->
|
|
|
|
<template class="dpv eca pvs"> <!-- 장애인 전기차 주정차 -->
|
|
|
@ -118,88 +109,71 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 민원 신청인 명 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="cvlcptAplcntNm">민원신청인</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="cvlcptAplcntNm">민원신청인</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-45" name="cvlcptAplcntNm" data-map="CVLCPT_APLCNT_NM" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-45" name="cvlcptAplcntNm" data-map="CVLCPT_APLCNT_NM" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 민원 접수 일자 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="cvlcptRcptYmd">민원접수일</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="cvlcptRcptYmd">민원접수일</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-30" name="cvlcptRcptYmd" data-map="CVLCPT_RCPT_YMD" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-45" name="cvlcptRcptYmd" data-map="CVLCPT_RCPT_YMD" data-fmt-type="day" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 담당자 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="cvlcptPrcsPicNm">담당자</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="cvlcptPrcsPicNm">담당자</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-45" name="cvlcptPrcsPicNm" data-map="CVLCPT_PRCS_PIC_NM" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-45" name="cvlcptPrcsPicNm" data-map="CVLCPT_PRCS_PIC_NM" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 차대번호 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="vin">차대번호</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="vin">차대번호</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-45" name="vin" data-map="VIN" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-45" name="vin" data-map="VIN" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 차량 명 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="vhclNm">차량명</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="vhclNm">차량명</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-60" name="vhclNm" data-map="VHCL_NM" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-60" name="vhclNm" data-map="VHCL_NM" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 차량 색상 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="vhclColr">차량색상</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="vhclColr">차량색상</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-45" name="vhclColr" data-map="VHCL_COLR" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-45" name="vhclColr" data-map="VHCL_COLR" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 사전통지 일자 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="advntceBgngYmd">사전통지일자</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="advntceBgngYmd">사전통지일자</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-30" name="advntceBgngYmd" data-map="ADVNTCE_BGNG_YMD" readonly /> ~
|
|
|
|
<input is="id-input" type="text" class="form-control w-30" name="advntceBgngYmd" data-map="ADVNTCE_BGNG_YMD" data-fmt-type="day" readonly /> ~
|
|
|
|
<input is="id-input" type="text" class="form-control w-30" name="advntceDudtYmd" data-map="ADVNTCE_DUDT_YMD" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-30" name="advntceDudtYmd" data-map="ADVNTCE_DUDT_YMD" data-fmt-type="day" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 기타 내용 -->
|
|
|
|
|
|
|
|
<div class="col-md-8">
|
|
|
|
<div class="col-md-8">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end align-top" for="etcCn">기타내용</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end align-top" for="etcCn">기타내용</label>
|
|
|
|
<textarea is="id-textarea" type="text" class="form-control w-80" name="etcCn" data-map="ETC_CN" cols="100%" rows="3" readonly></textarea>
|
|
|
|
<textarea is="id-textarea" type="text" class="form-control w-80" name="etcCn" data-map="ETC_CN" cols="100%" rows="3" readonly></textarea>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 과태료 단속원금 -->
|
|
|
|
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="ffnlgCrdnAmt">과태료단속원금</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="ffnlgCrdnAmt">과태료단속원금</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-40 text-sm-end" name="ffnlgCrdnAmt" data-map="FFNLG_CRDN_AMT" data-fmt-type="number" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-40 text-sm-end" name="ffnlgCrdnAmt" data-map="FFNLG_CRDN_AMT" data-fmt-type="number" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 과태료 감경 율 -->
|
|
|
|
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="ffnlgRdcrt">과태료감경율</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="ffnlgRdcrt">과태료감경율</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-20 text-sm-end" name="ffnlgRdcrt" data-map="FFNLG_RDCRT" readonly /> %
|
|
|
|
<input is="id-input" type="text" class="form-control w-20 text-sm-end" name="ffnlgRdcrt" data-map="FFNLG_RDCRT" readonly /> %
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 과태료 금액 -->
|
|
|
|
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="ffnlgAmt">과태료금액</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="ffnlgAmt">과태료금액</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-40 text-sm-end" name="ffnlgAmt" data-map="FFNLG_AMT" data-fmt-type="number" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-40 text-sm-end" name="ffnlgAmt" data-map="FFNLG_AMT" data-fmt-type="number" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 사전통지 금액 -->
|
|
|
|
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="advntceAmt">사전감경금액</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="advntceAmt">사전감경금액</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-40 text-sm-end" name="advntceAmt" data-map="ADVNTCE_AMT" data-fmt-type="number" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-40 text-sm-end" name="advntceAmt" data-map="ADVNTCE_AMT" data-fmt-type="number" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 부과 금액 -->
|
|
|
|
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="levyAmt">부과금액</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="levyAmt">부과금액</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-40 text-sm-end" name="levyAmt" data-map="LEVY_AMT" data-fmt-type="number" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-40 text-sm-end" name="levyAmt" data-map="LEVY_AMT" data-fmt-type="number" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 감액 금액 -->
|
|
|
|
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="reducAmt">감액금액</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="reducAmt">감액금액</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-40 text-sm-end" name="reducAmt" data-map="REDUC_AMT" data-fmt-type="number" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-40 text-sm-end" name="reducAmt" data-map="REDUC_AMT" data-fmt-type="number" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 수납 금액 -->
|
|
|
|
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="rcvmtAmt">수납금액</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="rcvmtAmt">수납금액</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-40 text-sm-end" name="rcvmtAmt" data-map="RCVMT_AMT" data-fmt-type="number" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-40 text-sm-end" name="rcvmtAmt" data-map="RCVMT_AMT" data-fmt-type="number" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 미납 금액 -->
|
|
|
|
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="sumAmt">미납금액</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="sumAmt">미납금액</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-40 text-sm-end fw-bold text-red" name="sumAmt" data-map="SUM_AMT" data-fmt-type="number" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-40 text-sm-end fw-bold text-red" name="sumAmt" data-map="SUM_AMT" data-fmt-type="number" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 업무별 화면 표시 -->
|
|
|
|
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<span slot="edit">
|
|
|
|
<span slot="edit">
|
|
|
|
<template class="bpv pvs"> <!-- 전용차로 주정차 -->
|
|
|
|
<template class="bpv pvs"> <!-- 전용차로 주정차 -->
|
|
|
@ -263,63 +237,53 @@
|
|
|
|
<label class="col-form-label bg-label-danger pe-2 w-px-120 text-sm-center">납부자 정보</label>
|
|
|
|
<label class="col-form-label bg-label-danger pe-2 w-px-120 text-sm-center">납부자 정보</label>
|
|
|
|
<!-- 버튼 우측 정렬 -->
|
|
|
|
<!-- 버튼 우측 정렬 -->
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" name="btnDeleteCrdnPayer" title="납부자 초기화">
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" name="btnDeleteCrdnPayer" title="초기화">
|
|
|
|
납부자 초기화
|
|
|
|
납부자 초기화
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" name="btnUpdatePayer" title="납부자 수정">
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" name="btnUpdatePayer" title="수정">
|
|
|
|
납부자 수정
|
|
|
|
납부자 수정
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div> <!-- <div class="container-page-btn"> -->
|
|
|
|
</div> <!-- <div class="container-page-btn"> -->
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row g-1">
|
|
|
|
<div class="row g-1">
|
|
|
|
<!-- 납부자 명 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="rtpyrNm">납부자성명</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="rtpyrSeNm">납부자구분</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-50" name="rtpyrNm" data-map="RTPYR_NM" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-30" name="rtpyrSeNm" data-map="RTPYR_SE_NM" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 납부자 구분 코드 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="rtpyrSeNm">납부자구분</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="rtpyrNm">납부자성명</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-25" name="rtpyrSeNm" data-map="RTPYR_SE_NM" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-55" name="rtpyrNm" data-map="RTPYR_NM" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 납부자 번호 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="rtpyrNo">납부자번호</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="rtpyrNo">납부자번호</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-40" name="rtpyrNo" data-map="RTPYR_NO" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-40" name="rtpyrNo" data-map="RTPYR_NO" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 납부자 전화번호 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="rtpyrTelno">전화번호</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="rtpyrTelno">전화번호</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-40" name="rtpyrTelno" data-map="RTPYR_TELNO" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-40" name="rtpyrTelno" data-map="RTPYR_TELNO" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 납부자 휴대 전화번호 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="rtpyrMblTelno">휴대전화번호</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="rtpyrMblTelno">휴대전화번호</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-40" name="rtpyrMblTelno" data-map="RTPYR_MBL_TELNO" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-40" name="rtpyrMblTelno" data-map="RTPYR_MBL_TELNO" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 납부자 이메일 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="rtpyrEml">이메일</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="rtpyrEml">이메일</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-60" name="rtpyrEml" data-map="RTPYR_EML" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-60" name="rtpyrEml" data-map="RTPYR_EML" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 납부자 전체주소 -->
|
|
|
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="wholAddr">주소</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="wholAddr">주소</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-80" name="wholAddr" data-map="WHOL_ADDR" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-80" name="wholAddr" data-map="WHOL_ADDR" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-px-75" name="zip" data-map="ZIP" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-px-75" name="zip" data-map="ZIP" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 납부자 입력 구분 코드 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="rtpyrInptSeNm">입력구분</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="rtpyrInptSeNm">입력구분</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-50" name="rtpyrInptSeNm" data-map="RTPYR_INPT_SE_NM" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-55" name="rtpyrInptSeNm" data-map="RTPYR_INPT_SE_NM" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 수정 일시 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="pMdfcnDt">수정일시</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="pMdfcnDt">수정일시</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-50" name="pMdfcnDt" data-map="P_MDFCN_DT" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-45" name="pMdfcnDt" data-map="P_MDFCN_DT" data-fmt-type="dt" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 수정자 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="pMdfrNm">수정자</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="pMdfrNm">수정자</label>
|
|
|
|
<input is="id-input" type="text" class="form-control w-40" name="pMdfrNm" data-map="P_MDFR_NM" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-40" name="pMdfrNm" data-map="P_MDFR_NM" readonly />
|
|
|
@ -337,6 +301,8 @@
|
|
|
|
</div> <!-- <div class="content-pop"> -->
|
|
|
|
</div> <!-- <div class="content-pop"> -->
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
|
|
|
|
LoadScript("sprt02020Script", wctx.url("/webjars/js/fims/sprt/sprt02020.js?ver=${ver}"));
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* Global Variable
|
|
|
|
* Global Variable
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
@ -349,145 +315,18 @@
|
|
|
|
// pageObject
|
|
|
|
// pageObject
|
|
|
|
let $P = pageObject["${pageName}"];
|
|
|
|
let $P = pageObject["${pageName}"];
|
|
|
|
|
|
|
|
|
|
|
|
$P.$findn("photoMainWrapper").addClass("w-px-380 min-w-px-380");
|
|
|
|
// datasetControl
|
|
|
|
|
|
|
|
$P.ctrlCrdn = newSprt02020Control("${pageName}", "[data-doctx=${pageName}]", "${pageNameMain}");
|
|
|
|
// FormFields
|
|
|
|
|
|
|
|
$P.formFields = new FimsFormFields($P.selectorn("frmEditCrdnPayer"));
|
|
|
|
|
|
|
|
// 단속 사진
|
|
|
|
// 단속 사진
|
|
|
|
$P.existFileArr = [];
|
|
|
|
$P.existFileArr = [];
|
|
|
|
$P.localUploadArr = [];
|
|
|
|
$P.localUploadArr = [];
|
|
|
|
$P.uploadSet = uploadSupport($P.selectorn("inputUploadSet"));
|
|
|
|
$P.uploadSet = uploadSupport($P.selectorn("inputUploadSet"));
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
$P.$findn("photoMainWrapper").addClass("w-px-380 min-w-px-380");
|
|
|
|
* DatasetControl
|
|
|
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
|
|
|
$P.ctrlCrdnPayer = new DatasetControl({
|
|
|
|
|
|
|
|
prefix: "crdn"
|
|
|
|
|
|
|
|
, prefixName: "단속"
|
|
|
|
|
|
|
|
, keymapper: info => info ? info.CRDN_ID : ""
|
|
|
|
|
|
|
|
, dataGetter: obj => obj.crdnPayerInfo
|
|
|
|
|
|
|
|
, formats: {
|
|
|
|
|
|
|
|
CRDN_YMD_TM: datetimeFormat
|
|
|
|
|
|
|
|
, CVLCPT_RCPT_YMD: dateFormat // 민원 접수 일자
|
|
|
|
|
|
|
|
, ADVNTCE_BGNG_YMD: dateFormat // 사전통지 시작 일자
|
|
|
|
|
|
|
|
, ADVNTCE_DUDT_YMD: dateFormat // 사전통지 납기 일자
|
|
|
|
|
|
|
|
, FFNLG_CRDN_AMT: numberFormat // 과태료 단속 금액
|
|
|
|
|
|
|
|
, FFNLG_AMT: numberFormat // 과태료 금액
|
|
|
|
|
|
|
|
, ADVNTCE_AMT: numberFormat // 사전통지 금액
|
|
|
|
|
|
|
|
, LEVY_AMT: numberFormat // 부과 금액
|
|
|
|
|
|
|
|
, REDUC_AMT: numberFormat // 감액 금액
|
|
|
|
|
|
|
|
, RCVMT_AMT: numberFormat // 수납 금액
|
|
|
|
|
|
|
|
, SUM_AMT: numberFormat // 합계 금액
|
|
|
|
|
|
|
|
, CRDN_BGNG_TM: timeFormat // 단속 시작 시각
|
|
|
|
|
|
|
|
, CRDN_END_TM: timeFormat // 단속 종료 시각
|
|
|
|
|
|
|
|
, P_MDFCN_DT: datetimeFormat // 납부자 수정 일시
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
|
|
|
* DatasetControl 이벤트
|
|
|
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
|
|
|
// 현재 선택 자료 변경 이벤트
|
|
|
|
|
|
|
|
$P.ctrlCrdnPayer.onCurrentChange = (item) => {
|
|
|
|
|
|
|
|
if (!item) return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Dataset 셋팅
|
|
|
|
|
|
|
|
$P.formFields.set($P.ctrlCrdnPayer, item);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let key = item.data.CRDN_ID;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 단속 정보 Dialog
|
|
|
|
|
|
|
|
$P.ctrlCrdnPayer.getInfo = (params) => {
|
|
|
|
|
|
|
|
if (!params) return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
|
|
|
|
url: wctx.url("/" + params.taskSeCd + "/crdn/crdn06/020/info.do")
|
|
|
|
|
|
|
|
, data: params || {}
|
|
|
|
|
|
|
|
, success: (resp) => {
|
|
|
|
|
|
|
|
let dialogName = $P.ctrlCrdnPayer.prefixed("Dialog");
|
|
|
|
|
|
|
|
let dialogId = dialogName + "-" + uuid();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dialog.open({
|
|
|
|
|
|
|
|
id: dialogId
|
|
|
|
|
|
|
|
, title: params.btnTitle
|
|
|
|
|
|
|
|
, size: "lg"
|
|
|
|
|
|
|
|
, content: resp
|
|
|
|
|
|
|
|
, init: () => {
|
|
|
|
|
|
|
|
$("#" + dialogId).attr("name", dialogName);
|
|
|
|
|
|
|
|
$("#" + dialogId).attr("data-ref-doctx", "${pageName}");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AppSupport.setDialogZindex();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
, onClose: () => { $P.fnRefreshDataInfo(); } // 자료 재조회
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 삭제 callback
|
|
|
|
|
|
|
|
$P.ctrlCrdnPayer.onRemove = (params, resp) => {
|
|
|
|
|
|
|
|
let showMessage = resp.rtnMsg.replace(/[S]|[F]/g, params.btnTitle);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dialog.alert({
|
|
|
|
|
|
|
|
content: showMessage
|
|
|
|
|
|
|
|
, init: () => { AppSupport.setDialogZindex(); }
|
|
|
|
|
|
|
|
, onOK: () => { }
|
|
|
|
|
|
|
|
, onClose: () => {
|
|
|
|
|
|
|
|
if (resp.saved) { pageObject["${mainPageName}"].fnClose(true); }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 삭제
|
|
|
|
|
|
|
|
$P.ctrlCrdnPayer.remove = (params) => {
|
|
|
|
|
|
|
|
if (!params) return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ajax.post({
|
|
|
|
|
|
|
|
url: wctx.url("/" + params.taskSeCd + "/crdn/crdn06/010/remove.do")
|
|
|
|
|
|
|
|
, data: params || {}
|
|
|
|
|
|
|
|
, success: (resp) => {
|
|
|
|
|
|
|
|
$P.ctrlCrdnPayer.onRemove(params, resp);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* 사용자 함수(function)
|
|
|
|
* 사용자 함수(function)
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
// 자료 재조회
|
|
|
|
|
|
|
|
$P.fnRefreshDataInfo = () => {
|
|
|
|
|
|
|
|
let crdnId = pageObject["${mainPageName}"].mainCtrl.getValue("CRDN_ID"); // 단속 ID
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 단속 ID 가 없다면.. return
|
|
|
|
|
|
|
|
if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let params = {
|
|
|
|
|
|
|
|
callPurpose: "refresh"
|
|
|
|
|
|
|
|
, sggCd: pageObject["${mainPageName}"].mainCtrl.getValue("SGG_CD")
|
|
|
|
|
|
|
|
, taskSeCd: pageObject["${mainPageName}"].mainCtrl.getValue("TASK_SE_CD")
|
|
|
|
|
|
|
|
, crdnId: pageObject["${mainPageName}"].mainCtrl.getValue("CRDN_ID")
|
|
|
|
|
|
|
|
, delYn: "N"
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
|
|
|
|
url: wctx.url(params.taskSeCd + "/sprt/sprt02/020/info.do")
|
|
|
|
|
|
|
|
, headers: { Accept: "application/json; charset=utf-8" } // json
|
|
|
|
|
|
|
|
, data: params || {}
|
|
|
|
|
|
|
|
, success: (resp) => {
|
|
|
|
|
|
|
|
// 초기화
|
|
|
|
|
|
|
|
$P.findn("frmEditCrdnPayer").reset(); // 화면 초기화
|
|
|
|
|
|
|
|
$P.ctrlCrdnPayer.dataset.clear(); // Dataset 초기화
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// sprt02010-main 단속 정보
|
|
|
|
|
|
|
|
pageObject["${mainPageName}"].mainCtrl.setData([resp.totalInfo]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 단속, 납부자 정보
|
|
|
|
|
|
|
|
if (resp.crdnPayerInfo) { $P.ctrlCrdnPayer.setData([resp.crdnPayerInfo]); }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 민원 원본 보기
|
|
|
|
// 민원 원본 보기
|
|
|
|
$P.viewCvlcptOrgnl = (params) => {
|
|
|
|
$P.viewCvlcptOrgnl = (params) => {
|
|
|
|
if (!params) return;
|
|
|
|
if (!params) return;
|
|
|
@ -547,14 +386,14 @@
|
|
|
|
// 서버에 전송할 data(파라미터) 생성
|
|
|
|
// 서버에 전송할 data(파라미터) 생성
|
|
|
|
let params = {
|
|
|
|
let params = {
|
|
|
|
callPurpose: "remove"
|
|
|
|
callPurpose: "remove"
|
|
|
|
, sggCd: $P.ctrlCrdnPayer.getValue("SGG_CD") // 시군구 코드
|
|
|
|
|
|
|
|
, taskSeCd: $P.ctrlCrdnPayer.getValue("TASK_SE_CD") // 업무 구분 코드
|
|
|
|
|
|
|
|
, crdnId: $P.ctrlCrdnPayer.getValue("CRDN_ID") // 단속 ID
|
|
|
|
|
|
|
|
, btnTitle: obj.btnTitle // 버튼 title
|
|
|
|
, btnTitle: obj.btnTitle // 버튼 title
|
|
|
|
|
|
|
|
, sggCd: $P.ctrlCrdn.getValue("SGG_CD") // 시군구 코드
|
|
|
|
|
|
|
|
, taskSeCd: $P.ctrlCrdn.getValue("TASK_SE_CD") // 업무 구분 코드
|
|
|
|
|
|
|
|
, crdnId: $P.ctrlCrdn.getValue("CRDN_ID") // 단속 ID
|
|
|
|
, delRsn: obj.reason // 삭제 사유
|
|
|
|
, delRsn: obj.reason // 삭제 사유
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
$P.ctrlCrdnPayer.remove(params);
|
|
|
|
$P.ctrlCrdn.remove(params);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 단속 재등록
|
|
|
|
// 단속 재등록
|
|
|
@ -598,7 +437,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
AppSupport.setDialogZindex();
|
|
|
|
AppSupport.setDialogZindex();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
, onClose: () => { $P.fnRefreshDataInfo(); } // 자료 재조회
|
|
|
|
, onClose: () => { $P.ctrlCrdn.refresh(); } // 자료 재조회
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -619,7 +458,7 @@
|
|
|
|
, init: () => { AppSupport.setDialogZindex(); }
|
|
|
|
, init: () => { AppSupport.setDialogZindex(); }
|
|
|
|
, onOK: () => { }
|
|
|
|
, onOK: () => { }
|
|
|
|
, onClose: () => {
|
|
|
|
, onClose: () => {
|
|
|
|
if (resp.saved) { $P.fnRefreshDataInfo(); } // 자료 재조회
|
|
|
|
if (resp.saved) { $P.ctrlCrdn.refresh(); } // 자료 재조회
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -630,12 +469,12 @@
|
|
|
|
$P.updatePayer = (params) => {
|
|
|
|
$P.updatePayer = (params) => {
|
|
|
|
if (!params) return;
|
|
|
|
if (!params) return;
|
|
|
|
|
|
|
|
|
|
|
|
if (params.rtpyrId == null || params.rtpyrId == "") {
|
|
|
|
if (params.rtpyrId) {
|
|
|
|
dialogTitle = "납부자 등록";
|
|
|
|
dialogTitle = "납부자 정보 수정";
|
|
|
|
params.callPurpose = "create";
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
dialogTitle = "납부자 수정";
|
|
|
|
|
|
|
|
params.callPurpose = "update";
|
|
|
|
params.callPurpose = "update";
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
dialogTitle = "납부자 정보 등록";
|
|
|
|
|
|
|
|
params.callPurpose = "create";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
ajax.get({
|
|
|
@ -656,7 +495,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
AppSupport.setDialogZindex();
|
|
|
|
AppSupport.setDialogZindex();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
, onClose: () => { $P.fnRefreshDataInfo(); } // 자료 재조회
|
|
|
|
, onClose: () => { $P.ctrlCrdn.refresh(); } // 자료 재조회
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -667,13 +506,13 @@
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
// 민원원본 보기
|
|
|
|
// 민원원본 보기
|
|
|
|
$P.fnViewCvlcptOrgnl = (btnTitle) => {
|
|
|
|
$P.fnViewCvlcptOrgnl = (btnTitle) => {
|
|
|
|
let crdnId = $P.ctrlCrdnPayer.getValue("CRDN_ID"); // 단속 ID
|
|
|
|
|
|
|
|
let cvlcptLinkId = $P.ctrlCrdnPayer.getValue("CVLCPT_LINK_ID"); // 민원 연계 ID
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 단속 ID 가 없다면.. return
|
|
|
|
// 단속 ID 가 없다면.. return
|
|
|
|
if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return;
|
|
|
|
let crdnId = $P.ctrlCrdn.getValue("CRDN_ID"); // 단속 ID
|
|
|
|
|
|
|
|
if (!crdnId) return;
|
|
|
|
|
|
|
|
|
|
|
|
// 민원 연계 ID가 없다면.. return
|
|
|
|
// 민원 연계 ID가 없다면.. return
|
|
|
|
if (typeof cvlcptLinkId == "undefined" || cvlcptLinkId == null || cvlcptLinkId == "") {
|
|
|
|
let cvlcptLinkId = $P.ctrlCrdn.getValue("CVLCPT_LINK_ID"); // 민원 연계 ID
|
|
|
|
|
|
|
|
if (!cvlcptLinkId) {
|
|
|
|
dialog.alert({
|
|
|
|
dialog.alert({
|
|
|
|
content: "조회된 민원 대장 정보가 없습니다."
|
|
|
|
content: "조회된 민원 대장 정보가 없습니다."
|
|
|
|
+ "<br><br>" + "[" + btnTitle + "]" + " 실행이 취소되었습니다."
|
|
|
|
+ "<br><br>" + "[" + btnTitle + "]" + " 실행이 취소되었습니다."
|
|
|
@ -686,9 +525,9 @@
|
|
|
|
let params = {
|
|
|
|
let params = {
|
|
|
|
callPurpose: "view"
|
|
|
|
callPurpose: "view"
|
|
|
|
, btnTitle: btnTitle
|
|
|
|
, btnTitle: btnTitle
|
|
|
|
, sggCd: $P.ctrlCrdnPayer.getValue("SGG_CD") // 시군구 코드
|
|
|
|
, sggCd: $P.ctrlCrdn.getValue("SGG_CD") // 시군구 코드
|
|
|
|
, taskSeCd: $P.ctrlCrdnPayer.getValue("TASK_SE_CD") // 업무 구분 코드
|
|
|
|
, taskSeCd: $P.ctrlCrdn.getValue("TASK_SE_CD") // 업무 구분 코드
|
|
|
|
, crdnId: $P.ctrlCrdnPayer.getValue("CRDN_ID") // 단속 ID
|
|
|
|
, crdnId: $P.ctrlCrdn.getValue("CRDN_ID") // 단속 ID
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
$P.viewCvlcptOrgnl(params);
|
|
|
|
$P.viewCvlcptOrgnl(params);
|
|
|
@ -696,12 +535,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
// 민원답변 보기
|
|
|
|
// 민원답변 보기
|
|
|
|
$P.fnViewAnswerPreview = (btnTitle) => {
|
|
|
|
$P.fnViewAnswerPreview = (btnTitle) => {
|
|
|
|
let crdnId = $P.ctrlCrdnPayer.getValue("CRDN_ID"); // 단속 ID
|
|
|
|
|
|
|
|
let cvlcptLinkId = $P.ctrlCrdnPayer.getValue("CVLCPT_LINK_ID"); // 민원 연계 ID
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 단속 ID 가 없다면.. return
|
|
|
|
// 단속 ID 가 없다면.. return
|
|
|
|
|
|
|
|
let crdnId = $P.ctrlCrdn.getValue("CRDN_ID"); // 단속 ID
|
|
|
|
if (!crdnId) return;
|
|
|
|
if (!crdnId) return;
|
|
|
|
|
|
|
|
|
|
|
|
// 민원 연계 ID가 없다면.. return
|
|
|
|
// 민원 연계 ID가 없다면.. return
|
|
|
|
|
|
|
|
let cvlcptLinkId = $P.ctrlCrdn.getValue("CVLCPT_LINK_ID"); // 민원 연계 ID
|
|
|
|
if (!cvlcptLinkId) {
|
|
|
|
if (!cvlcptLinkId) {
|
|
|
|
dialog.alert({
|
|
|
|
dialog.alert({
|
|
|
|
content: "조회된 민원 대장 정보가 없습니다."
|
|
|
|
content: "조회된 민원 대장 정보가 없습니다."
|
|
|
@ -713,11 +552,11 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
let params = {
|
|
|
|
let params = {
|
|
|
|
callPurpose : "view"
|
|
|
|
callPurpose: "view"
|
|
|
|
, btnTitle: btnTitle
|
|
|
|
, btnTitle: btnTitle
|
|
|
|
, sggCd: $P.ctrlCrdnPayer.getValue("SGG_CD") // 시군구 코드
|
|
|
|
, sggCd: $P.ctrlCrdn.getValue("SGG_CD") // 시군구 코드
|
|
|
|
, taskSeCd: $P.ctrlCrdnPayer.getValue("TASK_SE_CD") // 업무 구분 코드
|
|
|
|
, taskSeCd: $P.ctrlCrdn.getValue("TASK_SE_CD") // 업무 구분 코드
|
|
|
|
, crdnId: $P.ctrlCrdnPayer.getValue("CRDN_ID") // 단속 ID
|
|
|
|
, crdnId: $P.ctrlCrdn.getValue("CRDN_ID") // 단속 ID
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
$P.viewAnswerPreview(params);
|
|
|
|
$P.viewAnswerPreview(params);
|
|
|
@ -725,39 +564,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
// 단속정보 수정
|
|
|
|
// 단속정보 수정
|
|
|
|
$P.fnUpdateCrdn = (btnTitle) => {
|
|
|
|
$P.fnUpdateCrdn = (btnTitle) => {
|
|
|
|
let crdnId = $P.ctrlCrdnPayer.getValue("CRDN_ID"); // 단속 ID
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 단속 ID 가 없다면.. return
|
|
|
|
// 단속 ID 가 없다면.. return
|
|
|
|
|
|
|
|
let crdnId = $P.ctrlCrdn.getValue("CRDN_ID"); // 단속 ID
|
|
|
|
if (!crdnId) return;
|
|
|
|
if (!crdnId) return;
|
|
|
|
|
|
|
|
|
|
|
|
let params = {
|
|
|
|
let params = {
|
|
|
|
callPurpose: "update"
|
|
|
|
callPurpose: "update"
|
|
|
|
, btnTitle: btnTitle
|
|
|
|
, btnTitle: btnTitle
|
|
|
|
, sggCd: $P.ctrlCrdnPayer.getValue("SGG_CD") // 시군구 코드
|
|
|
|
, sggCd: $P.ctrlCrdn.getValue("SGG_CD") // 시군구 코드
|
|
|
|
, taskSeCd: $P.ctrlCrdnPayer.getValue("TASK_SE_CD") // 업무 구분 코드
|
|
|
|
, taskSeCd: $P.ctrlCrdn.getValue("TASK_SE_CD") // 업무 구분 코드
|
|
|
|
, crdnId: $P.ctrlCrdnPayer.getValue("CRDN_ID") // 단속 ID
|
|
|
|
, crdnId: $P.ctrlCrdn.getValue("CRDN_ID") // 단속 ID
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
$P.ctrlCrdnPayer.getInfo(params);
|
|
|
|
$P.ctrlCrdn.getInfo(params);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 단속정보 삭제
|
|
|
|
// 단속정보 삭제
|
|
|
|
$P.fnRemoveCrdn = (btnTitle) => {
|
|
|
|
$P.fnRemoveCrdn = (btnTitle) => {
|
|
|
|
let crdnId = $P.ctrlCrdnPayer.getValue("CRDN_ID"); // 단속 ID
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 단속 ID 가 없다면.. return
|
|
|
|
// 단속 ID 가 없다면.. return
|
|
|
|
|
|
|
|
let crdnId = $P.ctrlCrdn.getValue("CRDN_ID"); // 단속 ID
|
|
|
|
if (!crdnId) return;
|
|
|
|
if (!crdnId) return;
|
|
|
|
|
|
|
|
|
|
|
|
// 단속 상태 코드
|
|
|
|
// 단속 상태 코드
|
|
|
|
let crdnSttsCd = $P.ctrlCrdnPayer.getValue("CRDN_STTS_CD");
|
|
|
|
let crdnSttsCd = $P.ctrlCrdn.getValue("CRDN_STTS_CD");
|
|
|
|
let crdnSttsNm = $P.ctrlCrdnPayer.getValue("CRDN_STTS_NM");
|
|
|
|
let crdnSttsNm = $P.ctrlCrdn.getValue("CRDN_STTS_NM");
|
|
|
|
|
|
|
|
|
|
|
|
// 단속 상태 코드 확인
|
|
|
|
// 단속 상태 코드 확인
|
|
|
|
if (Number(crdnSttsCd) > 51) {
|
|
|
|
if (Number(crdnSttsCd) > 51) {
|
|
|
|
dialog.alert({
|
|
|
|
dialog.alert({
|
|
|
|
content: "[" + title + "]" + " 작업은 단속상태가 '부과 이전' 자료만 처리 가능합니다."
|
|
|
|
content: "[" + btnTitle + "]" + " 작업은 단속상태가 '부과 이전' 자료만 처리 가능합니다."
|
|
|
|
+ "<br>" + "단속상태 : " + crdnSttsNm
|
|
|
|
+ "<br>" + "단속상태 : " + crdnSttsNm
|
|
|
|
+ "<br><br>" + "[" + title + "]" + " 실행이 취소되었습니다."
|
|
|
|
+ "<br><br>" + "[" + btnTitle + "]" + " 실행이 취소되었습니다."
|
|
|
|
, init: () => { AppSupport.setDialogZindex(); }
|
|
|
|
, init: () => { AppSupport.setDialogZindex(); }
|
|
|
|
, onOK: () => { }
|
|
|
|
, onOK: () => { }
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -766,7 +603,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
// 삭제 메세지 확인
|
|
|
|
// 삭제 메세지 확인
|
|
|
|
dialog.alert({
|
|
|
|
dialog.alert({
|
|
|
|
content: "선택하신 " + $P.ctrlCrdnPayer.prefixName + " 정보를 삭제하시겠습니까?"
|
|
|
|
content: "선택하신 " + $P.ctrlCrdn.prefixName + " 정보를 삭제하시겠습니까?"
|
|
|
|
, onOK: () => {
|
|
|
|
, onOK: () => {
|
|
|
|
// 삭제 사유 입력
|
|
|
|
// 삭제 사유 입력
|
|
|
|
fetch(wctx.url("/webjars/html/inputRsnDialog.html"))
|
|
|
|
fetch(wctx.url("/webjars/html/inputRsnDialog.html"))
|
|
|
@ -792,14 +629,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
// 단속 재등록
|
|
|
|
// 단속 재등록
|
|
|
|
$P.fnCreateCrdnReReg = (btnTitle) => {
|
|
|
|
$P.fnCreateCrdnReReg = (btnTitle) => {
|
|
|
|
let bfrCrdnId = $P.ctrlCrdnPayer.getValue("CRDN_ID"); // 단속 ID
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 단속 ID 가 없다면.. return
|
|
|
|
// 단속 ID 가 없다면.. return
|
|
|
|
|
|
|
|
let bfrCrdnId = $P.ctrlCrdn.getValue("CRDN_ID"); // 단속 ID
|
|
|
|
if (!bfrCrdnId) return;
|
|
|
|
if (!bfrCrdnId) return;
|
|
|
|
|
|
|
|
|
|
|
|
// 단속 상태 코드
|
|
|
|
// 단속 상태 코드
|
|
|
|
let crdnSttsCd = $P.ctrlCrdnPayer.getValue("CRDN_STTS_CD");
|
|
|
|
let crdnSttsCd = $P.ctrlCrdn.getValue("CRDN_STTS_CD");
|
|
|
|
let crdnSttsNm = $P.ctrlCrdnPayer.getValue("CRDN_STTS_NM");
|
|
|
|
let crdnSttsNm = $P.ctrlCrdn.getValue("CRDN_STTS_NM");
|
|
|
|
|
|
|
|
|
|
|
|
// 단속 상태 코드 확인
|
|
|
|
// 단속 상태 코드 확인
|
|
|
|
if (Number(crdnSttsCd) < 80 || Number(crdnSttsCd) > 88) {
|
|
|
|
if (Number(crdnSttsCd) < 80 || Number(crdnSttsCd) > 88) {
|
|
|
@ -820,9 +656,9 @@
|
|
|
|
let params = {
|
|
|
|
let params = {
|
|
|
|
callPurpose: "create"
|
|
|
|
callPurpose: "create"
|
|
|
|
, btnTitle: btnTitle
|
|
|
|
, btnTitle: btnTitle
|
|
|
|
, sggCd: $P.ctrlCrdnPayer.getValue("SGG_CD") // 시군구 코드
|
|
|
|
, sggCd: $P.ctrlCrdn.getValue("SGG_CD") // 시군구 코드
|
|
|
|
, taskSeCd: $P.ctrlCrdnPayer.getValue("TASK_SE_CD") // 업무 구분 코드
|
|
|
|
, taskSeCd: $P.ctrlCrdn.getValue("TASK_SE_CD") // 업무 구분 코드
|
|
|
|
, bfrCrdnId: $P.ctrlCrdnPayer.getValue("CRDN_ID") // 단속 ID
|
|
|
|
, bfrCrdnId: $P.ctrlCrdn.getValue("CRDN_ID") // 단속 ID
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
$P.createCrdnReReg(params);
|
|
|
|
$P.createCrdnReReg(params);
|
|
|
@ -844,8 +680,8 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
let params = {
|
|
|
|
let params = {
|
|
|
|
taskSeCd: $P.ctrlCrdnPayer.getValue("TASK_SE_CD") // 업무 구분
|
|
|
|
taskSeCd: $P.ctrlCrdn.getValue("TASK_SE_CD") // 업무 구분
|
|
|
|
, crdnIds: $P.ctrlCrdnPayer.getValue("CRDN_ID") // 단속 ID
|
|
|
|
, crdnIds: $P.ctrlCrdn.getValue("CRDN_ID") // 단속 ID
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
let inBrowser = false;
|
|
|
|
let inBrowser = false;
|
|
|
@ -861,7 +697,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
fetch(url + "?" + parameter)
|
|
|
|
fetch(url + "?" + parameter)
|
|
|
|
.then((response) => {
|
|
|
|
.then((response) => {
|
|
|
|
let header = response.headers.get('Content-Disposition');
|
|
|
|
let header = response.headers.get("Content-Disposition");
|
|
|
|
if (!header) {
|
|
|
|
if (!header) {
|
|
|
|
response.json().then((responseJson) => {
|
|
|
|
response.json().then((responseJson) => {
|
|
|
|
dialog.alert({
|
|
|
|
dialog.alert({
|
|
|
@ -871,17 +707,17 @@
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
new Error("");
|
|
|
|
new Error("");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
let parts = header.split(';');
|
|
|
|
let parts = header.split(";");
|
|
|
|
filenameInHeader = decodeURIComponent(parts[1].split('=')[1]);
|
|
|
|
filenameInHeader = decodeURIComponent(parts[1].split("=")[1]);
|
|
|
|
|
|
|
|
|
|
|
|
return response.blob();
|
|
|
|
return response.blob();
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.then((blob) => {
|
|
|
|
.then((blob) => {
|
|
|
|
AppSupport.openPDF(blob, filenameInHeader);
|
|
|
|
AppSupport.openPDF(blob, filenameInHeader);
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.catch(() => { });
|
|
|
|
.catch(() => { });
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
let parameter = toQuery(params);
|
|
|
|
let parameter = toQuery(params);
|
|
|
@ -891,17 +727,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
// 단속 상태 변경
|
|
|
|
// 단속 상태 변경
|
|
|
|
$P.fnUpdateCrdnSttsCd = (btnTitle) => {
|
|
|
|
$P.fnUpdateCrdnSttsCd = (btnTitle) => {
|
|
|
|
let crdnId = $P.ctrlCrdnPayer.getValue("CRDN_ID"); // 단속 ID
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 단속 ID 가 없다면.. return
|
|
|
|
// 단속 ID 가 없다면.. return
|
|
|
|
|
|
|
|
let crdnId = $P.ctrlCrdn.getValue("CRDN_ID"); // 단속 ID
|
|
|
|
if (!crdnId) return;
|
|
|
|
if (!crdnId) return;
|
|
|
|
|
|
|
|
|
|
|
|
let params = {
|
|
|
|
let params = {
|
|
|
|
callPurpose: "update"
|
|
|
|
callPurpose: "update"
|
|
|
|
, btnTitle: btnTitle
|
|
|
|
, btnTitle: btnTitle
|
|
|
|
, sggCd: $P.ctrlCrdnPayer.getValue("SGG_CD") // 시군구 코드
|
|
|
|
, sggCd: $P.ctrlCrdn.getValue("SGG_CD") // 시군구 코드
|
|
|
|
, taskSeCd: $P.ctrlCrdnPayer.getValue("TASK_SE_CD") // 업무 구분 코드
|
|
|
|
, taskSeCd: $P.ctrlCrdn.getValue("TASK_SE_CD") // 업무 구분 코드
|
|
|
|
, crdnId: $P.ctrlCrdnPayer.getValue("CRDN_ID") // 단속 ID
|
|
|
|
, crdnId: $P.ctrlCrdn.getValue("CRDN_ID") // 단속 ID
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
$P.getInfoCrdnSttsCd(params);
|
|
|
|
$P.getInfoCrdnSttsCd(params);
|
|
|
@ -909,12 +744,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
// 납부자 초기화
|
|
|
|
// 납부자 초기화
|
|
|
|
$P.fnDeleteCrdnPayer = (btnTitle) => {
|
|
|
|
$P.fnDeleteCrdnPayer = (btnTitle) => {
|
|
|
|
let crdnId = $P.ctrlCrdnPayer.getValue("CRDN_ID"); // 단속 ID
|
|
|
|
|
|
|
|
let rtpyrId = $P.ctrlCrdnPayer.getValue("RTPYR_ID"); // 납부자 ID
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 단속 ID 가 없다면.. return
|
|
|
|
// 단속 ID 가 없다면.. return
|
|
|
|
|
|
|
|
let crdnId = $P.ctrlCrdn.getValue("CRDN_ID"); // 단속 ID
|
|
|
|
if (!crdnId) return;
|
|
|
|
if (!crdnId) return;
|
|
|
|
|
|
|
|
|
|
|
|
// 납부자 ID 가 없다면.. return
|
|
|
|
// 납부자 ID 가 없다면.. return
|
|
|
|
|
|
|
|
let rtpyrId = $P.ctrlCrdn.getValue("RTPYR_ID"); // 납부자 ID
|
|
|
|
if (!rtpyrId) {
|
|
|
|
if (!rtpyrId) {
|
|
|
|
dialog.alert({
|
|
|
|
dialog.alert({
|
|
|
|
content: "조회된 납부자 대장 정보가 없습니다."
|
|
|
|
content: "조회된 납부자 대장 정보가 없습니다."
|
|
|
@ -932,10 +767,10 @@
|
|
|
|
let params = {
|
|
|
|
let params = {
|
|
|
|
callPurpose: "initialize"
|
|
|
|
callPurpose: "initialize"
|
|
|
|
, btnTitle: btnTitle
|
|
|
|
, btnTitle: btnTitle
|
|
|
|
, sggCd: $P.ctrlCrdnPayer.getValue("SGG_CD") // 시군구 코드
|
|
|
|
, sggCd: $P.ctrlCrdn.getValue("SGG_CD") // 시군구 코드
|
|
|
|
, taskSeCd: $P.ctrlCrdnPayer.getValue("TASK_SE_CD") // 업무 구분 코드
|
|
|
|
, taskSeCd: $P.ctrlCrdn.getValue("TASK_SE_CD") // 업무 구분 코드
|
|
|
|
, crdnId: $P.ctrlCrdnPayer.getValue("CRDN_ID") // 단속 ID
|
|
|
|
, crdnId: $P.ctrlCrdn.getValue("CRDN_ID") // 단속 ID
|
|
|
|
, rtpyrId: $P.ctrlCrdnPayer.getValue("RTPYR_ID") // 납부자 ID
|
|
|
|
, rtpyrId: $P.ctrlCrdn.getValue("RTPYR_ID") // 납부자 ID
|
|
|
|
, delYn: "N"
|
|
|
|
, delYn: "N"
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
@ -946,19 +781,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
// 납부자 수정
|
|
|
|
// 납부자 수정
|
|
|
|
$P.fnUpdatePayer = (btnTitle) => {
|
|
|
|
$P.fnUpdatePayer = (btnTitle) => {
|
|
|
|
let crdnId = $P.ctrlCrdnPayer.getValue("CRDN_ID"); // 단속 ID
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 단속 ID 가 없다면.. return
|
|
|
|
// 단속 ID 가 없다면.. return
|
|
|
|
|
|
|
|
let crdnId = $P.ctrlCrdn.getValue("CRDN_ID"); // 단속 ID
|
|
|
|
if (!crdnId) return;
|
|
|
|
if (!crdnId) return;
|
|
|
|
|
|
|
|
|
|
|
|
let params = {
|
|
|
|
let params = {
|
|
|
|
callPurpose: "update"
|
|
|
|
callPurpose: "update"
|
|
|
|
, btnTitle: btnTitle
|
|
|
|
, btnTitle: btnTitle
|
|
|
|
, sggCd: $P.ctrlCrdnPayer.getValue("SGG_CD") // 시군구 코드
|
|
|
|
, sggCd: $P.ctrlCrdn.getValue("SGG_CD") // 시군구 코드
|
|
|
|
, taskSeCd: $P.ctrlCrdnPayer.getValue("TASK_SE_CD") // 업무 구분 코드
|
|
|
|
, taskSeCd: $P.ctrlCrdn.getValue("TASK_SE_CD") // 업무 구분 코드
|
|
|
|
, crdnId: $P.ctrlCrdnPayer.getValue("CRDN_ID") // 단속 ID
|
|
|
|
, crdnId: $P.ctrlCrdn.getValue("CRDN_ID") // 단속 ID
|
|
|
|
, rtpyrId: $P.ctrlCrdnPayer.getValue("RTPYR_ID") // 납부자 ID
|
|
|
|
, rtpyrId: $P.ctrlCrdn.getValue("RTPYR_ID") // 납부자 ID
|
|
|
|
, vhrno: $P.ctrlCrdnPayer.getValue("VHRNO") // 차량번호
|
|
|
|
, vhrno: $P.ctrlCrdn.getValue("VHRNO") // 차량번호
|
|
|
|
, rtpyrInptSeCd: "01" // 납부자 입력 구분 코드
|
|
|
|
, rtpyrInptSeCd: "01" // 납부자 입력 구분 코드
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
@ -978,45 +812,45 @@
|
|
|
|
$P.setEvent = () => {
|
|
|
|
$P.setEvent = () => {
|
|
|
|
// 업무 버튼 이벤트
|
|
|
|
// 업무 버튼 이벤트
|
|
|
|
$P.$findn("btnViewCvlcptOrgnl").on("click", () => {
|
|
|
|
$P.$findn("btnViewCvlcptOrgnl").on("click", () => {
|
|
|
|
$P.fnViewCvlcptOrgnl($P.$findn("btnViewCvlcptOrgnl").attr("title")); // 민원 원본 보기
|
|
|
|
$P.fnViewCvlcptOrgnl($P.$findn("btnViewCvlcptOrgnl").attr("title")); // 민원 원본 보기
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$P.$findn("btnViewAnswerPreview").on("click", () => {
|
|
|
|
$P.$findn("btnViewAnswerPreview").on("click", () => {
|
|
|
|
$P.fnViewAnswerPreview($P.$findn("btnViewAnswerPreview").attr("title")); // 민원 답변 보기
|
|
|
|
$P.fnViewAnswerPreview($P.$findn("btnViewAnswerPreview").attr("title")); // 민원 답변 보기
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$P.$findn("btnPrintNhtPdf01").on("click", () => {
|
|
|
|
$P.$findn("btnPrintNhtPdf01").on("click", () => {
|
|
|
|
$P.fnMakeFileNht($P.$findn("btnPrintNhtPdf01").attr("title"), "pdf", "01"); // 고지서 출력
|
|
|
|
$P.fnMakeFileNht($P.$findn("btnPrintNhtPdf01").attr("title"), "pdf", "01"); // 고지서 출력
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$P.$findn("btnPrintNhtPdf02").on("click", () => {
|
|
|
|
$P.$findn("btnPrintNhtPdf02").on("click", () => {
|
|
|
|
$P.fnMakeFileNht($P.$findn("btnPrintNhtPdf02").attr("title"), "pdf", "02"); // 고지서 출력
|
|
|
|
$P.fnMakeFileNht($P.$findn("btnPrintNhtPdf02").attr("title"), "pdf", "02"); // 고지서 출력
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$P.$findn("btnUpdateCrdn").on("click", () => {
|
|
|
|
$P.$findn("btnUpdateCrdn").on("click", () => {
|
|
|
|
$P.fnUpdateCrdn($P.$findn("btnUpdateCrdn").attr("title")); // 단속 정보 수정
|
|
|
|
$P.fnUpdateCrdn($P.$findn("btnUpdateCrdn").attr("title")); // 단속 정보 수정
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$P.$findn("btnRemoveCrdn").on("click", () => {
|
|
|
|
$P.$findn("btnRemoveCrdn").on("click", () => {
|
|
|
|
$P.fnRemoveCrdn($P.$findn("btnRemoveCrdn").attr("title")); // 단속 정보 삭제
|
|
|
|
$P.fnRemoveCrdn($P.$findn("btnRemoveCrdn").attr("title")); // 단속 정보 삭제
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$P.$findn("btnUpdateCrdnSttsCd").on("click", () => {
|
|
|
|
$P.$findn("btnUpdateCrdnSttsCd").on("click", () => {
|
|
|
|
$P.fnUpdateCrdnSttsCd($P.$findn("btnUpdateCrdnSttsCd").attr("title")); // 단속 상태 변경
|
|
|
|
$P.fnUpdateCrdnSttsCd($P.$findn("btnUpdateCrdnSttsCd").attr("title")); // 단속 상태 변경
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$P.$findn("btnCreateCrdnReReg").on("click", () => {
|
|
|
|
$P.$findn("btnCreateCrdnReReg").on("click", () => {
|
|
|
|
$P.fnCreateCrdnReReg($P.$findn("btnCreateCrdnReReg").attr("title")); // 단속 재등록
|
|
|
|
$P.fnCreateCrdnReReg($P.$findn("btnCreateCrdnReReg").attr("title")); // 단속 재등록
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$P.$findn("btnDeleteCrdnPayer").on("click", () => {
|
|
|
|
$P.$findn("btnDeleteCrdnPayer").on("click", () => {
|
|
|
|
$P.fnDeleteCrdnPayer($P.$findn("btnDeleteCrdnPayer").attr("title")); // 납부자 초기화
|
|
|
|
$P.fnDeleteCrdnPayer($P.$findn("btnDeleteCrdnPayer").attr("title")); // 납부자 초기화
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$P.$findn("btnUpdatePayer").on("click", () => {
|
|
|
|
$P.$findn("btnUpdatePayer").on("click", () => {
|
|
|
|
$P.fnUpdatePayer($P.$findn("btnUpdatePayer").attr("title")); // 납부자 수정
|
|
|
|
$P.fnUpdatePayer($P.$findn("btnUpdatePayer").attr("title")); // 납부자 수정
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 초기 화면 설정
|
|
|
|
// 초기 화면 설정
|
|
|
|
$P.initForm = () => {
|
|
|
|
$P.fnReset = () => {
|
|
|
|
// 초기화
|
|
|
|
// 초기화
|
|
|
|
$P.findn("frmEditCrdnPayer").reset(); // 화면 초기화
|
|
|
|
$P.findn("frmCrdnPayer").reset(); // 화면 초기화
|
|
|
|
$P.ctrlCrdnPayer.dataset.clear(); // Dataset 초기화
|
|
|
|
$P.ctrlCrdn.dataset.clear(); // Dataset 초기화
|
|
|
|
|
|
|
|
|
|
|
|
// 화면 호출(callPurpose)이 view라면 버튼 비활성화 disabled = true
|
|
|
|
// 화면 호출(callPurpose)이 view라면 버튼 비활성화 disabled = true
|
|
|
|
if (pageObject['${mainPageName}'].callPurpose == "view") {
|
|
|
|
if (pageObject["${pageNameMain}"].callPurpose == "view") {
|
|
|
|
$P.$findn("btnPrintNhtPdf01").prop("disabled", true);
|
|
|
|
$P.$findn("btnPrintNhtPdf01").prop("disabled", true);
|
|
|
|
$P.$findn("btnPrintNhtPdf02").prop("disabled", true);
|
|
|
|
$P.$findn("btnPrintNhtPdf02").prop("disabled", true);
|
|
|
|
$P.$findn("btnUpdateCrdn").prop("disabled", true);
|
|
|
|
$P.$findn("btnUpdateCrdn").prop("disabled", true);
|
|
|
@ -1044,10 +878,10 @@
|
|
|
|
$P.$findn("btnDeleteExistPhoto").prop("disabled", false);
|
|
|
|
$P.$findn("btnDeleteExistPhoto").prop("disabled", false);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
let taskSeCd = pageObject["${mainPageName}"].mainCtrl.getValue("TASK_SE_CD");
|
|
|
|
let taskSeCd = pageObject["${pageNameMain}"].ctrlMain.getValue("TASK_SE_CD");
|
|
|
|
|
|
|
|
|
|
|
|
// 업무 구분에 따른 화면 설정
|
|
|
|
// 업무 구분에 따른 화면 설정
|
|
|
|
FimsSupport.renderForTask($P.findn("frmEditCrdnPayer"), taskSeCd.toLowerCase());
|
|
|
|
FimsSupport.renderForTask($P.findn("frmCrdnPayer"), taskSeCd.toLowerCase());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
@ -1057,10 +891,10 @@
|
|
|
|
$P.setEvent();
|
|
|
|
$P.setEvent();
|
|
|
|
|
|
|
|
|
|
|
|
// 2. 초기 화면 설정
|
|
|
|
// 2. 초기 화면 설정
|
|
|
|
$P.initForm();
|
|
|
|
$P.fnReset();
|
|
|
|
|
|
|
|
|
|
|
|
// 3. Dataset 설정 = 단속, 납부자 정보 조회
|
|
|
|
// 3. Dataset 설정 = 단속, 납부자 정보 조회
|
|
|
|
$P.ctrlCrdnPayer.setData([${crdnPayerInfo}]);
|
|
|
|
$P.ctrlCrdn.setData([${crdnPayerInfo}]);
|
|
|
|
|
|
|
|
|
|
|
|
// 4. 사진영역 설정
|
|
|
|
// 4. 사진영역 설정
|
|
|
|
settingPhotoMain("${pageName}", $P.findn("crdnId")
|
|
|
|
settingPhotoMain("${pageName}", $P.findn("crdnId")
|
|
|
@ -1077,7 +911,7 @@
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
// 5. 사진영역 초기화
|
|
|
|
// 5. 사진영역 초기화
|
|
|
|
let crdnPayerInfo = $P.ctrlCrdnPayer.getCurrent();
|
|
|
|
let crdnPayerInfo = $P.ctrlCrdn.getCurrent();
|
|
|
|
let existVideo = false;
|
|
|
|
let existVideo = false;
|
|
|
|
|
|
|
|
|
|
|
|
if (crdnPayerInfo.VIDEO_EXIST_YN == "Y") {
|
|
|
|
if (crdnPayerInfo.VIDEO_EXIST_YN == "Y") {
|
|
|
|