단속조회 및 납부안내 수정.

main
JoJH 3 weeks ago
parent 414abe0e31
commit 1639f17983

@ -123,8 +123,8 @@
<!-- 주소 --><!-- 우편번호 -->
<div class="col-md-12">
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="hirerAddr">주소</label>
<input is="id-input" type="text" class="form-control w-70" name="hirerAddr" data-map="HIRER_ADDR" autocomplete="off" />
<input is="id-input" type="text" class="form-control w-px-80" name="hirerZip" data-map="HIRER_ZIP" autocomplete="off" />
<input is="id-input" type="text" class="form-control w-70" name="hirerAddr" data-map="HIRER_ADDR" autocomplete="off" readonly />
<input is="id-input" type="text" class="form-control w-px-80" name="hirerZip" data-map="HIRER_ZIP" autocomplete="off" readonly />
<button type="button" class="btn btn-sm btn-outline-dark" name="btnZipCode" title="우편번호검색">
검색
</button>
@ -132,7 +132,7 @@
<!-- 상세주소 -->
<div class="col-md-12">
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="hirerDtlAddr">상세주소</label>
<input is="id-input" type="text" class="form-control w-85" name="hirerDtlAddr" data-map="HIRER_DTL_ADDR" autocomplete="off" />
<input is="id-input" type="text" class="form-control w-85" name="hirerDtlAddr" data-map="HIRER_DTL_ADDR" autocomplete="off" readonly />
</div>
</div>
</form>

@ -11,11 +11,10 @@
<form name="frmEdit">
<!-- hidden -->
<input type="hidden" name="lsctMpngId" data-map="LSCT_MPNG_ID" />
<input type="hidden" name="crdnId" data-map="CRDN_ID" />
<!-- 임대차계약 승인 정보 -->
<div class="card">
<input type="hidden" name="crdnId" data-map="CRDN_ID" />
<!-- 업무 버튼 -->
<div class="container-page-btn">
<label class="col-form-label bg-label-danger pe-2 w-px-120 text-sm-center">승인요청 정보</label>

@ -79,7 +79,6 @@
<!-- 검색 조건 영역 -->
<!-- 업무 버튼 및 건수 표시 -->
<div>
<div class="container-page-btn" name="gridButtonArea">
<!-- 건수, 페이지 표시 -->
<div class="d-flex flex-row justify-content-between">
@ -91,7 +90,7 @@
<span class="container-window-btn-right">
</span>
</div>
</div>
<!-- 업무 버튼 및 건수 표시 -->
<!-- DataTables(그리드) -->
@ -109,11 +108,13 @@
<th class="cmn" style="width: 160px;">업무구분</th>
<th class="cmn" style="width: 180px;" onclick="FimsSupport.searchFromGridTitle('CRDN_YMD', this.innerText, 'ymd', '');">단속일시</th>
<th class="cmn" style="width: 160px;" onclick="FimsSupport.searchFromGridTitle('VHRNO', this.innerText, 'match', 'part');">자동차등록번호</th>
<th class="cmn" style="width: 160px;" onclick="FimsSupport.searchFromGridTitle('RTPYR_NO_MASK', this.innerText, 'ymd', '');">납부자번호</th>
<th class="cmn" style="width: 200px;" onclick="FimsSupport.searchFromGridTitle('RTPYR_NM', this.innerText, 'match', 'part');">납부자명</th>
<th class="cmn" style="width: 120px;" onclick="FimsSupport.searchFromGridTitle('CRDN_STDG_NM', this.innerText, 'match', 'part');">단속법정동</th>
<th class="cmn" style="width: 280px;" onclick="FimsSupport.searchFromGridTitle('CRDN_PLC', this.innerText, 'match', 'part');">단속장소</th>
<th class="cmn" style="width: 160px;" onclick="FimsSupport.searchFromGridTitle('VLTN_ARTCL', this.innerText, 'match', 'part');">위반항목</th>
<th class="cmn" style="width: 120px;" onclick="FimsSupport.searchFromGridTitle('FFNLG_CRDN_AMT', this.innerText, 'match', 'part');">단속원금</th>
<th class="cmn" style="width: 120px;" onclick="FimsSupport.searchFromGridTitle('SUM_AMT', this.innerText, 'match', 'part');">미납금액</th>
<th class="cmn" style="width: 160px;" onclick="FimsSupport.searchFromGridTitle('CRDN_STTS_CD', this.innerText, 'codeValue', 'FIM010');">처리상태</th>
<th class="cmn" style="width: 180px;">등록일시</th>
<th class="cmn" style="width: 140px;">등록사용자</th>
@ -131,11 +132,13 @@
<td class="cmn text-center" onclick ondblclick>{TASK_SE_NM}</td>
<td class="cmn text-center" onclick ondblclick>{CRDN_DT}</td>
<td class="cmn text-start" onclick ondblclick>{VHRNO}</td>
<td class="cmn text-center" onclick ondblclick>{RTPYR_NO_MASK}</td>
<td class="cmn text-start" onclick ondblclick>{RTPYR_NM}</td>
<td class="cmn text-center" onclick ondblclick>{CRDN_STDG_NM}</td>
<td class="cmn text-start" onclick ondblclick>{CRDN_PLC}</td>
<td class="cmn text-start" onclick ondblclick>{VLTN_ARTCL}</td>
<td class="cmn text-end" onclick ondblclick>{FFNLG_CRDN_AMT}</td>
<td class="cmn text-end" onclick ondblclick>{SUM_AMT}</td>
<td class="cmn text-start" onclick ondblclick>{CRDN_STTS_NM}</td>
<td class="cmn text-center" onclick ondblclick>{REG_DT}</td>
<td class="cmn text-center" onclick ondblclick>{RGTR_NM}</td>
@ -146,7 +149,7 @@
</template>
<template name="tmpltNotFound">
<tr class="cmn">
<td valign="top" colspan="16" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
<td valign="top" colspan="18" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
</template>
</table>

@ -6,189 +6,186 @@
<!-- inner page html -->
<div class="content-pop" data-doctx="${pageName}">
<!-- Content -->
<div class="container flex-grow-1 px-0">
<div class="d-flex flex-row justify-content-evenly">
<!-- 단속 정보 -->
<div class="col-xl-9">
<!-- 입력 영역 -->
<form name="frmEdit">
<!-- hidden -->
<input type="hidden" name="crdnId" data-map="CRDN_ID" />
<div class="card">
<!-- 업무 버튼 -->
<div class="container-page-btn">
<label class="col-form-label bg-label-danger pe-2 w-px-120 text-sm-center">단속 정보</label>
<!-- 업무 버튼 -->
<span class="container-window-btn-right">
<!-- 자료 이동 버튼 -->
<input is="id-input" type="text" class="form-control w-px-120 text-center fw-bold" name="countStatus" readonly />
<button type="button" class="w-px-50 btn-PageUp" name="btnPrev">◀</button>
<button type="button" class="w-px-50 btn-PageDown" name="btnNext">▶</button>
</span>
</div> <!-- <div class="container-page-btn"> -->
<!-- 입력 영역 -->
<form name="frmEdit">
<!-- hidden -->
<input type="hidden" name="crdnId" data-map="CRDN_ID" />
<div class="row g-1">
<!-- 단속 일시 -->
<div class="col-md-4">
<div class="col-md-6">
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="crdnDt">단속일시</label>
<input is="id-input" type="text" class="form-control w-45" name="crdnDt" data-map="CRDN_DT" data-fmt-type="dt" readonly />
<input is="id-input" type="text" class="form-control w-40" name="crdnDt" data-map="CRDN_DT" data-fmt-type="dt" readonly />
</div>
<!-- 차량번호 -->
<div class="col-md-4">
<div class="col-md-6">
<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 />
</div>
<!-- 위반 항목 -->
<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>
<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-40" name="vhrno" data-map="VHRNO" readonly />
</div>
<!-- 법정동 -->
<div class="col-md-4">
<div class="col-md-6">
<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-40" name="crdnStdgNm" data-map="CRDN_STDG_NM" readonly />
</div>
<!-- 단속 장소 -->
<div class="col-md-4">
<div class="col-md-6">
<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 />
</div>
<!-- 단속상태 -->
<div class="col-md-4">
<div class="col-md-6">
<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-40" name="vltnArtcl" data-map="VLTN_ARTCL" readonly />
</div>
<div class="col-md-6">
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="crdnSttsNm">단속상태</label>
<input is="id-input" type="text" class="form-control w-45 fw-bold text-primary" name="crdnSttsNm" data-map="CRDN_STTS_NM" readonly />
<input is="id-input" type="text" class="form-control w-40 fw-bold text-primary" name="crdnSttsNm" data-map="CRDN_STTS_NM" readonly />
</div>
<!-- 납부자 구분 코드 -->
<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>
<input is="id-input" type="text" class="form-control w-25" name="rtpyrSeNm" data-map="RTPYR_SE_NM" readonly />
<div class="col-md-6">
<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-40" name="vhclNm" data-map="VHCL_NM" readonly />
</div>
<div class="col-md-6">
<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-40" name="vhclColr" data-map="VHCL_COLR" readonly />
</div>
<div class="col-md-6">
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="rtpyrNoMask">납부자번호</label>
<input is="id-input" type="text" class="form-control w-40" name="rtpyrNoMask" data-map="RTPYR_NO_MASK" readonly />
</div>
<div class="col-md-6">
<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-40" name="rtpyrNm" data-map="RTPYR_NM" readonly />
</div>
<!-- 납부자 번호 -->
<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>
<input is="id-input" type="text" class="form-control w-45" name="rtpyrNo" data-map="RTPYR_NO" readonly />
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="levyPcptax">부과금액</label>
<input is="id-input" type="text" class="form-control w-40" name="levyPcptax" data-map="LEVY_PCPTAX" data-fmt-type="number" readonly />
</div>
<!-- 납부자 명 -->
<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>
<input is="id-input" type="text" class="form-control w-45" name="rtpyrNm" data-map="RTPYR_NM" readonly />
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="levyAdamt">부과가산금</label>
<input is="id-input" type="text" class="form-control w-40" name="levyAdamt" data-map="LEVY_ADAMT" data-fmt-type="number" readonly />
</div>
<div class="col-md-4">
<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 fw-bold text-red" name="sumAmt" data-map="SUM_AMT" data-fmt-type="number" readonly />
</div>
</div> <!-- <div class="row g-1"> -->
</div> <!-- <div class="card"> -->
</form>
<!-- 입력 영역 -->
</div> <!-- <div class="col-xl-9 mx-1"> -->
<!-- 가상계좌 정보 -->
<div class="col-xl-3">
<!-- 업무 버튼 -->
<div class="container-page-btn">
<span class="container-window-btn-right">
<!-- 자료 이동 버튼 -->
<input is="id-input" type="text" class="form-control w-px-120 text-center fw-bold" name="countStatus" readonly />
<button type="button" class="w-px-50 btn-PageUp" name="btnPrev">◀</button>
<button type="button" class="w-px-50 btn-PageDown" name="btnNext">▶</button>
</span>
</div> <!-- <div class="container-page-btn"> -->
<div class="card">
<div class="row g-1">
<div class="col-md-12">
<textarea is="id-textarea" type="text" class="form-control w-100" name="vrActno" cols="100%" rows="9" readonly></textarea>
</div>
<!-- 단속 정보 -->
<!-- 전자납부번호 -->
<div class="col-md-12">
<input is="id-input" type="text" class="form-control w-100" name="epaynoMask" data-map="EPAYNO_MASK" readonly />
</div>
</div>
</div> <!-- <div class="card"> -->
</div> <!-- <div class="col-xl-3 mx-1"> -->
<!-- 가상계좌 정보 -->
</div> <!-- <div class="d-flex flex-row justify-content-evenly"> -->
<!-- 단속 이미지 -->
<jsp:include page="/WEB-INF/jsp/fims/photo-main.jsp" />
<p></p>
<div class="container flex-grow-1 px-0">
<!-- 입력 영역 -->
<form name="frmEditLsct">
<!-- 임대 기업 정보 -->
<div class="card">
<!-- 업무 버튼 -->
<div class="container-page-btn">
<label class="col-form-label bg-label-danger pe-2 w-px-120 text-sm-center">임대기업 정보</label>
</div> <!-- <div class="container-page-btn"> -->
<div class="row g-1">
<div class="col-md-4">
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="entSeNm">기업구분</label>
<input is="id-input" type="text" class="form-control w-25" name="entSeNm" data-map="ENT_SE_NM" readonly />
</div>
<div class="col-md-4">
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="entRegNo">법인(사업자)번호</label>
<input is="id-input" type="text" class="form-control w-45" name="entRegNo" data-map="ENT_REG_NO" readonly />
</div>
<div class="col-md-4">
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="entNm">기업명</label>
<input is="id-input" type="text" class="form-control w-45" name="entNm" data-map="ENT_NM" readonly />
</div>
</div>
</div>
<!-- 임대 기업 정보 -->
<!-- 임대차계약 정보 -->
<div class="card">
<!-- 업무 버튼 -->
<div class="container-page-btn">
<label class="col-form-label bg-label-danger pe-2 w-px-120 text-sm-center">임대차계약 정보</label>
<!-- 버튼 우측 정렬 -->
<span class="container-window-btn-right">
</span>
</div> <!-- <div class="container-page-btn"> -->
<!-- 입력 영역 -->
<form name="frmEditLsct">
<div class="row g-1">
<!-- 계약 시작 일시 -->
<div class="col-md-4">
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="ctrtBgngYmd">계약시작일시</label>
<input is="id-input" type="text" class="form-control w-45" name="ctrtBgngYmd" data-map="CTRT_BGNG_DT" data-fmt-type="dt" readonly />
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="dmndDt">요청일시</label>
<input is="id-input" type="text" class="form-control w-45" name="dmndDt" data-map="DMND_DT" data-fmt-type="dt" readonly />
</div>
<div class="col-md-4">
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="chgAprvDt">변경승인일시</label>
<input is="id-input" type="text" class="form-control w-45" name="chgAprvDt" data-map="CHG_APRV_DT" data-fmt-type="dt" readonly />
</div>
<div class="col-md-4">
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="chgAprvSttsNm">변경승인상태</label>
<input is="id-input" type="text" class="form-control w-45" name="chgAprvSttsNm" data-map="CHG_APRV_STTS_NM" readonly />
</div>
<div class="col-md-4">
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="ctrtBgngDt">계약시작일시</label>
<input is="id-input" type="text" class="form-control w-45" name="ctrtBgngDt" data-map="CTRT_BGNG_DT" data-fmt-type="dt" readonly />
</div>
<!-- 계약 종료 일시 -->
<div class="col-md-4">
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="ctrtEndYmd">계약종료일시</label>
<input is="id-input" type="text" class="form-control w-45" name="ctrtEndYmd" data-map="CTRT_END_DT" data-fmt-type="dt" readonly />
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="ctrtEndDt">계약종료일시</label>
<input is="id-input" type="text" class="form-control w-45" name="ctrtEndDt" data-map="CTRT_END_DT" data-fmt-type="dt" readonly />
</div>
<!-- 자동차등록번호 -->
<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>
<input is="id-input" type="text" class="form-control w-45" name="vhrno" data-map="VHRNO" readonly />
</div>
<!-- 임차인 구분 코드 -->
<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>
<input is="id-input" type="text" class="form-control w-25" name="hirerSeNm" data-map="HIRER_SE_NM" readonly />
</div>
<!-- 임차인 등록 번호 -->
<div class="col-md-4">
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="hirerRegNo">임차인등록번호</label>
<input is="id-input" type="text" class="form-control w-45" name="hirerRegNo" data-map="HIRER_REG_NO" readonly />
</div>
<!-- 임차인 명 -->
<div class="col-md-4">
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="hirerNm">임차인명</label>
<input is="id-input" type="text" class="form-control w-45" name="hirerNm" data-map="HIRER_NM" readonly />
</div>
<!-- 임차인 전화번호 -->
<div class="col-md-4">
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="hirerTelno">전화번호</label>
<input is="id-input" type="text" class="form-control w-45" name="hirerTelno" data-map="HIRER_TELNO" readonly />
</div>
<!-- 임차인 휴대 전화번호 -->
<div class="col-md-4">
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="hirerMblTelno">휴대전화번호</label>
<input is="id-input" type="text" class="form-control w-45" name="hirerMblTelno" data-map="HIRER_MBL_TELNO" readonly />
</div>
<!-- 임차인 이메일 주소 -->
<div class="col-md-4">
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="hirerEmlAddr">이메일</label>
<input is="id-input" type="text" class="form-control w-60" name="hirerEmlAddr" data-map="HIRER_EML_ADDR" readonly />
</div>
<!-- 주소 --><!-- 우편번호 -->
<div class="col-md-12">
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="hirerAddr">주소</label>
<input is="id-input" type="text" class="form-control w-80" name="hirerAddr" data-map="HIRER_ADDR" readonly />
<input is="id-input" type="text" class="form-control w-px-75" name="hirerZip" data-map="HIRER_ZIP" readonly />
</div>
<!-- 상세주소 -->
<div class="col-md-12">
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="hirerDtlAddr">상세주소</label>
<input is="id-input" type="text" class="form-control w-87" name="hirerDtlAddr" data-map="HIRER_DTL_ADDR" readonly />
</div>
<!-- 등록 일시 / 등록자 -->
<div class="col-md-6">
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="regDt">등록일시</label>
<input is="id-input" type="text" class="form-control w-30" name="regDt" data-map="REG_DT" data-fmt-type="dt" readonly />
<input is="id-input" type="text" class="form-control w-25" name="rgtrNm" data-map="RGTR_NM" readonly />
</div>
<!-- 수정 일시 / 수정자 -->
<div class="col-md-6">
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="mdfcnDt">수정일시</label>
<input is="id-input" type="text" class="form-control w-30" name="mdfcnDt" data-map="MDFCN_DT" data-fmt-type="dt" readonly />
<input is="id-input" type="text" class="form-control w-25" name="mdfrNm" data-map="MDFR_NM" readonly />
</div>
</div>
</div> <!-- <div class="card"> -->
<!-- 임대차계약 정보 -->
</form>
<!-- 입력 영역 -->
</div>
<!-- 임대차계약 정보 -->
<!-- 첨부 파일 -->
<div class="card">
<!-- 첨부 파일 테이블 -->
<div class="table-responsive">
<table class="table table-bordered table-hover table-striped" name="fileList">
<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>
</thead>
<tbody name="tbodyFileList">
</tbody>
</table>
</div> <!-- 첨부 파일 테이블 <div class="table-responsive"> -->
</div> <!-- <div class="card"> -->
<!-- 첨부 파일 -->
</div> <!-- <div class="container flex-grow-1 px-0"> -->
<!-- Content -->
</div>
@ -332,55 +329,6 @@
$P.ctrl.urls.load = wctx.url(prefixUrl + "/020/info.do") // 검색
}
// 임대차계약 첨부 파일 조회
$P.fnSearchFileList = (lsctId) => {
let tableFileList = $P.findn("fileList"); // table element 찾기
let fileLength = tableFileList.rows.length;
// 기존 table에 자료가 존재하면 tableRow 삭제
for (let iLoop = 1; iLoop < fileLength; iLoop++) {
tableFileList.deleteRow(1); // table 행(Row) 삭제
}
// 임대차계약 ID가 없다면 첨부파일을 조회하지 안는다..
if (!lsctId) return;
// 첨부파일 리스트
ajax.get({
url: "file/list.do"
, data: {
infoType: "120"
, infoKeys: lsctId
, fetchSize: 0
}
, success: (resp) => {
let fileNo = 0;
let fileList = resp.fileList;
fileList.forEach(function (item, index, array) {
fileNo = index + 1;
let innerHtml = "";
innerHtml += "<tr>";
innerHtml += "<td class='text-center'>" + fileNo + "</td>";
innerHtml += "<td class='text-center'>" + item.FILE_ID + "</td>";
innerHtml += "<td class='text-center'>" + item.FILE_NM + "</td>";
innerHtml += "<td class='text-center'>" + item.FILE_SIZE + " byte</td>";
innerHtml += "<td class='text-center'>" + "<button type='button' class='btn' onclick=";
innerHtml += "pageObject['${pageName}'].fnFileDownload(" + item.FILE_ID + ");" + "><i class='bx bx-download me-1'></i></button>" + "</td>";
innerHtml += "</tr>";
$P.$findn("tbodyFileList").append(innerHtml);
});
}
});
}
// 첨부파일 다운로드 아이콘 클릭 이벤트
$P.fnFileDownload = (fileID) => {
top.location.href = "/file/download.do?fileID=" + fileID;
}
/**************************************************************************
* 버튼 clickEvent
**************************************************************************/
@ -435,15 +383,14 @@
};
}
, async function(vhrnoEl) {
return await $P.getVehicleTotalInfo(vhrnoEl); // 차적조회는 "단속정보 수정" 에서 해라...
return await $P.getVehicleTotalInfo(vhrnoEl);
}
);
// 6. 사진영역 초기화
let crdnInfo = $P.ctrl.getCurrent();
let existVideo = false;
initPhotoMain("${pageName}", crdnInfo.fileList, existVideo);
initPhotoMain("${pageName}", crdnInfo.fileList, false);
});
</script>

@ -29,11 +29,6 @@ function newRent03020Control(pageName, doctx="[data-doctx='rent03020']") {
// 화면에 임대차계약 Dataset 셋팅
let formFields2 = new FimsFormFields(ctrl.selector("[name='frmEditLsct']"));
formFields2.set(ctrl, item);
let fileKey = item.data.LSCT_ID;
if (fileKey != null) {
pageObject[pageName].fnSearchFileList(fileKey);
}
};
// 상세 정보 dialog
@ -81,6 +76,9 @@ function newRent03020Control(pageName, doctx="[data-doctx='rent03020']") {
// Dataset 셋팅
ctrl.setData([resp.Info]); // 정보
// 사진영역 초기화
initPhotoMain(pageName, resp.Info.fileList, false);
}
});
}

Loading…
Cancel
Save