|
|
@ -33,97 +33,97 @@
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>기관코드</th>
|
|
|
|
<th>기관코드</th>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<input type="text" name="insttCode" value='<c:out value="${ctznStmtDTO.insttCode}"/>' readonly>
|
|
|
|
<input type="text" name="insttCode" value='<c:out value="${ctznDTO.insttCode}"/>' readonly>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<th>시스템코드</th>
|
|
|
|
<th>시스템코드</th>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<input type="text" name="sysCode" value='<c:out value="${ctznStmtDTO.sysCode}"/>' readonly>
|
|
|
|
<input type="text" name="sysCode" value='<c:out value="${ctznDTO.sysCode}"/>' readonly>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<th>민원구분</th>
|
|
|
|
<th>민원구분</th>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<input type="text" name="cvplSe" value='<c:out value="${ctznStmtDTO.cvplSe}"/>' readonly>
|
|
|
|
<input type="text" name="cvplSe" value='<c:out value="${ctznDTO.cvplSe}"/>' readonly>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>민원신청번호</th>
|
|
|
|
<th>민원신청번호</th>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<input type="text" name="petiAncCodeV" value='<c:out value="${ctznStmtDTO.cvplReqstNo}"/>' readonly>
|
|
|
|
<input type="text" name="petiAncCodeV" value='<c:out value="${ctznDTO.cvplReqstNo}"/>' readonly>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<th>민원접수번호</th>
|
|
|
|
<th>민원접수번호</th>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<input type="text" name="petiNoC" value='<c:out value="${ctznStmtDTO.cvplRceptNo}"/>' readonly>
|
|
|
|
<input type="text" name="petiNoC" value='<c:out value="${ctznDTO.cvplRceptNo}"/>' readonly>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<th>민원신청인명</th>
|
|
|
|
<th>민원신청인명</th>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<input type="text" name="civilNoC" value='<c:out value="${ctznStmtDTO.cvplApplcntNm}"/>' readonly>
|
|
|
|
<input type="text" name="civilNoC" value='<c:out value="${ctznDTO.cvplApplcntNm}"/>' readonly>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>신청인이메일</th>
|
|
|
|
<th>신청인이메일</th>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<input type="text" name="peterNameV" value='<c:out value="${ctznStmtDTO.cvplApplcntEmailAdres}"/>' readonly>
|
|
|
|
<input type="text" name="peterNameV" value='<c:out value="${ctznDTO.cvplApplcntEmailAdres}"/>' readonly>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<th>신청인우편번호</th>
|
|
|
|
<th>신청인우편번호</th>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<input type="text" name="zipCodeC" value='<c:out value="${ctznStmtDTO.cvplApplcntZip}"/>' readonly>
|
|
|
|
<input type="text" name="zipCodeC" value='<c:out value="${ctznDTO.cvplApplcntZip}"/>' readonly>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<th>신청인주소</th>
|
|
|
|
<th>신청인주소</th>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<input type="text" name="addressV" value='<c:out value="${ctznStmtDTO.cvplApplcntAdres}"/>' readonly>
|
|
|
|
<input type="text" name="addressV" value='<c:out value="${ctznDTO.cvplApplcntAdres}"/>' readonly>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>신청인핸드폰</th>
|
|
|
|
<th>신청인핸드폰</th>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<input type="text" name="celNoV" value='<c:out value="${ctznStmtDTO.cvplApplcntMoblphonNo}"/>' readonly>
|
|
|
|
<input type="text" name="celNoV" value='<c:out value="${ctznDTO.cvplApplcntMoblphonNo}"/>' readonly>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<th>신청인전화</th>
|
|
|
|
<th>신청인전화</th>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<input type="text" name="telNoV" value='<c:out value="${ctznStmtDTO.cvplApplcntTlphonNo}"/>' readonly>
|
|
|
|
<input type="text" name="telNoV" value='<c:out value="${ctznDTO.cvplApplcntTlphonNo}"/>' readonly>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<th>처리상태</th>
|
|
|
|
<th>처리상태</th>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<input type="text" name="telNoV" value='<c:out value="${ctznStmtDTO.ctznSttemntProcessSttus}"/>' readonly>
|
|
|
|
<input type="text" name="telNoV" value='<c:out value="${ctznDTO.ctznSttemntProcessSttus}"/>' readonly>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>민원신청제목</th>
|
|
|
|
<th>민원신청제목</th>
|
|
|
|
<td colspan="5">
|
|
|
|
<td colspan="5">
|
|
|
|
<input type="text" name="petiTitleV" value='<c:out value="${ctznStmtDTO.cvplReqstSj}"/>' readonly>
|
|
|
|
<input type="text" name="petiTitleV" value='<c:out value="${ctznDTO.cvplReqstSj}"/>' readonly>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>민원신청내용</th>
|
|
|
|
<th>민원신청내용</th>
|
|
|
|
<td colspan="5">
|
|
|
|
<td colspan="5">
|
|
|
|
<textarea name="petiReasonL" rows="10" readonly><c:out value="${ctznStmtDTO.cvplReqstCn}" /></textarea>
|
|
|
|
<textarea name="petiReasonL" rows="10" readonly><c:out value="${ctznDTO.cvplReqstCn}" /></textarea>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>민원신청일시</th>
|
|
|
|
<th>민원신청일시</th>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<fmt:parseDate value="${ctznStmtDTO.cvplRceptDt}" var="cvplRceptDt" pattern="yyyyMMddHHmmss"/>
|
|
|
|
<fmt:parseDate value="${ctznDTO.cvplRceptDt}" var="cvplRceptDt" pattern="yyyyMMddHHmmss"/>
|
|
|
|
<input type="text" name="cvplRceptDt" value='<fmt:formatDate value="${cvplRceptDt}" pattern="yyyy-MM-dd HH:mm:ss"/>' readonly>
|
|
|
|
<input type="text" name="cvplRceptDt" value='<fmt:formatDate value="${cvplRceptDt}" pattern="yyyy-MM-dd HH:mm:ss"/>' readonly>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<th>민원처리기간</th>
|
|
|
|
<th>민원처리기간</th>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<fmt:parseDate value="${ctznStmtDTO.cvplProcessPd}" var="cvplProcessPd" pattern="yyyyMMddHHmmss"/>
|
|
|
|
<fmt:parseDate value="${ctznDTO.cvplProcessPd}" var="cvplProcessPd" pattern="yyyyMMddHHmmss"/>
|
|
|
|
<input type="text" name="cvplProcessPd" value='<fmt:formatDate value="${cvplProcessPd}" pattern="yyyy-MM-dd HH:mm:ss"/>' readonly>
|
|
|
|
<input type="text" name="cvplProcessPd" value='<fmt:formatDate value="${cvplProcessPd}" pattern="yyyy-MM-dd HH:mm:ss"/>' readonly>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<th>민원등록일시</th>
|
|
|
|
<th>민원등록일시</th>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<fmt:parseDate value="${ctznStmtDTO.cvplRegistDt}" var="cvplRegistDt" pattern="yyyyMMddHHmmss"/>
|
|
|
|
<fmt:parseDate value="${ctznDTO.cvplRegistDt}" var="cvplRegistDt" pattern="yyyyMMddHHmmss"/>
|
|
|
|
<input type="text" name="cvplRegistDt" value='<fmt:formatDate value="${cvplRegistDt}" pattern="yyyy-MM-dd HH:mm:ss"/>' readonly>
|
|
|
|
<input type="text" name="cvplRegistDt" value='<fmt:formatDate value="${cvplRegistDt}" pattern="yyyy-MM-dd HH:mm:ss"/>' readonly>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<%-- <tr>--%>
|
|
|
|
<%-- <tr>--%>
|
|
|
|
<%-- <th>등록일시</th>--%>
|
|
|
|
<%-- <th>등록일시</th>--%>
|
|
|
|
<%-- <td>--%>
|
|
|
|
<%-- <td>--%>
|
|
|
|
<%-- <fmt:parseDate value="${ctznStmtDTO.registDt}" var="registDt" pattern="yyyyMMddHHmmss"/>--%>
|
|
|
|
<%-- <fmt:parseDate value="${ctznDTO.registDt}" var="registDt" pattern="yyyyMMddHHmmss"/>--%>
|
|
|
|
<%-- <input type="text" name="registDt" value="<fmt:formatDate value="${registDt}" pattern="yyyy-MM-dd HH:mm:ss"/>' readonly>--%>
|
|
|
|
<%-- <input type="text" name="registDt" value="<fmt:formatDate value="${registDt}" pattern="yyyy-MM-dd HH:mm:ss"/>' readonly>--%>
|
|
|
|
<%-- </td>--%>
|
|
|
|
<%-- </td>--%>
|
|
|
|
<%-- <th>등록인</th>--%>
|
|
|
|
<%-- <th>등록인</th>--%>
|
|
|
|
<%-- <td>--%>
|
|
|
|
<%-- <td>--%>
|
|
|
|
<%-- <input type="text" name="sendYnC" value='<c:out value="${ctznStmtDTO.register}"/>' readonly>--%>
|
|
|
|
<%-- <input type="text" name="sendYnC" value='<c:out value="${ctznDTO.register}"/>' readonly>--%>
|
|
|
|
<%-- </td>--%>
|
|
|
|
<%-- </td>--%>
|
|
|
|
<%-- </tr>--%>
|
|
|
|
<%-- </tr>--%>
|
|
|
|
|
|
|
|
|
|
|
@ -131,7 +131,7 @@
|
|
|
|
</table>
|
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
|
|
<c:forEach var="dtlDTO" items="${ctznStmtDtlDTOs}" varStatus="status">
|
|
|
|
<c:forEach var="dtlDTO" items="${ctznDtlDTOs}" varStatus="status">
|
|
|
|
|
|
|
|
|
|
|
|
<form name="frmStmtDtl${dtlDTO.ctznSttemntDetailSn}">
|
|
|
|
<form name="frmStmtDtl${dtlDTO.ctznSttemntDetailSn}">
|
|
|
|
<div class="popup_btn">
|
|
|
|
<div class="popup_btn">
|
|
|
@ -256,6 +256,7 @@
|
|
|
|
* Global Variable
|
|
|
|
* Global Variable
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
let orgDtlDatas = [];
|
|
|
|
let orgDtlDatas = [];
|
|
|
|
|
|
|
|
let downloadImgParam;
|
|
|
|
var imageEditorPopup = (flag, params) => fnBiz.pagePopup(flag, params);
|
|
|
|
var imageEditorPopup = (flag, params) => fnBiz.pagePopup(flag, params);
|
|
|
|
var callbackReloadImage = () => fnBiz.downloadImg();
|
|
|
|
var callbackReloadImage = () => fnBiz.downloadImg();
|
|
|
|
|
|
|
|
|
|
|
@ -264,15 +265,29 @@
|
|
|
|
* Biz function
|
|
|
|
* Biz function
|
|
|
|
******************************* */
|
|
|
|
******************************* */
|
|
|
|
const fnBiz = {
|
|
|
|
const fnBiz = {
|
|
|
|
downloadImg: () => {
|
|
|
|
search: (params) => {
|
|
|
|
|
|
|
|
cmmAjax({
|
|
|
|
//ctznStmtDtlDTO
|
|
|
|
showSuccessMsg: false
|
|
|
|
|
|
|
|
,url: fimsApiUrl.FIND_EC_CTZN_STMT_DTL_AND_ATTCH_FILES
|
|
|
|
|
|
|
|
,data: params
|
|
|
|
|
|
|
|
,success: (res) => {
|
|
|
|
|
|
|
|
cmmImgDownload('#imgList', res.attchFiles, true);
|
|
|
|
|
|
|
|
window.opener.pageNav.reloadNav($('#prev'), $('#next'), $('#totCnt span'))
|
|
|
|
|
|
|
|
setFormData(document.getElementsByName('frmStmt'), res.ctznDTO);
|
|
|
|
|
|
|
|
for(let idx; idx<res.ctznDtlDTOs.length; idx++){
|
|
|
|
|
|
|
|
setFormData(document.getElementsByName('frmStmtDtl0'+idx), res.ctznDtlDTOs[idx]);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
,downloadImg: () => {
|
|
|
|
|
|
|
|
|
|
|
|
cmmAjax({
|
|
|
|
cmmAjax({
|
|
|
|
showSuccessMsg: false
|
|
|
|
showSuccessMsg: false
|
|
|
|
<%--,url: '<c:url value="/fims/biz/ec/findNatlNewspaperAttchFiles.do"/>' --%>
|
|
|
|
<%--,url: '<c:url value="/fims/biz/ec/findNatlNewspaperAttchFiles.do"/>' --%>
|
|
|
|
,url: fimsApiUrl.FIND_EC_NATL_NEWS_PAPER_ATTCH_FILES
|
|
|
|
,url: fimsApiUrl.FIND_EC_NATL_NEWS_PAPER_ATTCH_FILES
|
|
|
|
,data: {interfaceSeqN: '${reqDTO.interfaceSeqN}'}
|
|
|
|
//,data: {interfaceSeqN: '${reqDTO.interfaceSeqN}'}
|
|
|
|
|
|
|
|
,data: downloadImgParam
|
|
|
|
,success: (res) => {
|
|
|
|
,success: (res) => {
|
|
|
|
cmmImgDownload('#imgList', res.data?.contents, true);
|
|
|
|
cmmImgDownload('#imgList', res.data?.contents, true);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -391,10 +406,16 @@
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
$('#prev').on('click', () => {
|
|
|
|
$('#prev').on('click', () => {
|
|
|
|
window.opener.onClickCtznStmtNavigationBtn('prev');
|
|
|
|
window.opener.pageNav.onClickNavBtn('prev', (gridInfo) => {
|
|
|
|
|
|
|
|
fnBiz.search(gridInfo.curRowData)
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$('#next').on('click', () => {
|
|
|
|
$('#next').on('click', () => {
|
|
|
|
window.opener.onClickCtznStmtNavigationBtn('next');
|
|
|
|
window.opener.pageNav.onClickNavBtn('next', (gridInfo) => {
|
|
|
|
|
|
|
|
fnBiz.search(gridInfo.curRowData);
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
@ -402,22 +423,14 @@
|
|
|
|
* initialize
|
|
|
|
* initialize
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
$(document).ready(function () {
|
|
|
|
$(document).ready(function () {
|
|
|
|
<c:forEach var="dtlDTO" items="${ctznStmtDtlDTOs}" varStatus="status">
|
|
|
|
<c:forEach var="dtlDTO" items="${ctznDtlDTOs}" varStatus="status">
|
|
|
|
orgDtlDatas.push($('form[name=frmStmtDtl${dtlDTO.ctznSttemntDetailSn}]').serialize())
|
|
|
|
orgDtlDatas.push($('form[name=frmStmtDtl${dtlDTO.ctznSttemntDetailSn}]').serialize())
|
|
|
|
</c:forEach>
|
|
|
|
</c:forEach>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
downloadImgParam = {interfaceSeqN: '${reqDTO.interfaceSeqN}'};
|
|
|
|
fnBiz.downloadImg();
|
|
|
|
fnBiz.downloadImg();
|
|
|
|
|
|
|
|
|
|
|
|
if(window.opener.gridInfo.curRowPos === 1){
|
|
|
|
window.opener.pageNav.reloadNav($('#prev'), $('#next'), $('#totCnt span'))
|
|
|
|
$('#prev').attr('disabled', true);
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
$('#prev').attr('disabled', false);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if(window.opener.gridInfo.curRowPos === window.opener.gridInfo.totalCount){
|
|
|
|
|
|
|
|
$('#next').attr('disabled', true);
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
$('#next').attr('disabled', false);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
$('#totCnt span').text(window.opener.gridInfo.curRowPos + " / " + window.opener.gridInfo.totalCount);
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|