|
|
|
@ -33,97 +33,97 @@
|
|
|
|
|
<tr>
|
|
|
|
|
<th>기관코드</th>
|
|
|
|
|
<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>
|
|
|
|
|
<th>시스템코드</th>
|
|
|
|
|
<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>
|
|
|
|
|
<th>민원구분</th>
|
|
|
|
|
<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>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>민원신청번호</th>
|
|
|
|
|
<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>
|
|
|
|
|
<th>민원접수번호</th>
|
|
|
|
|
<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>
|
|
|
|
|
<th>민원신청인명</th>
|
|
|
|
|
<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>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>신청인이메일</th>
|
|
|
|
|
<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>
|
|
|
|
|
<th>신청인우편번호</th>
|
|
|
|
|
<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>
|
|
|
|
|
<th>신청인주소</th>
|
|
|
|
|
<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>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>신청인핸드폰</th>
|
|
|
|
|
<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>
|
|
|
|
|
<th>신청인전화</th>
|
|
|
|
|
<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>
|
|
|
|
|
<th>처리상태</th>
|
|
|
|
|
<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>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>민원신청제목</th>
|
|
|
|
|
<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>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>민원신청내용</th>
|
|
|
|
|
<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>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>민원신청일시</th>
|
|
|
|
|
<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>
|
|
|
|
|
</td>
|
|
|
|
|
<th>민원처리기간</th>
|
|
|
|
|
<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>
|
|
|
|
|
</td>
|
|
|
|
|
<th>민원등록일시</th>
|
|
|
|
|
<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>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<%-- <tr>--%>
|
|
|
|
|
<%-- <th>등록일시</th>--%>
|
|
|
|
|
<%-- <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>--%>
|
|
|
|
|
<%-- </td>--%>
|
|
|
|
|
<%-- <th>등록인</th>--%>
|
|
|
|
|
<%-- <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>--%>
|
|
|
|
|
<%-- </tr>--%>
|
|
|
|
|
|
|
|
|
@ -131,7 +131,7 @@
|
|
|
|
|
</table>
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
<c:forEach var="dtlDTO" items="${ctznStmtDtlDTOs}" varStatus="status">
|
|
|
|
|
<c:forEach var="dtlDTO" items="${ctznDtlDTOs}" varStatus="status">
|
|
|
|
|
|
|
|
|
|
<form name="frmStmtDtl${dtlDTO.ctznSttemntDetailSn}">
|
|
|
|
|
<div class="popup_btn">
|
|
|
|
@ -256,6 +256,7 @@
|
|
|
|
|
* Global Variable
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
let orgDtlDatas = [];
|
|
|
|
|
let downloadImgParam;
|
|
|
|
|
var imageEditorPopup = (flag, params) => fnBiz.pagePopup(flag, params);
|
|
|
|
|
var callbackReloadImage = () => fnBiz.downloadImg();
|
|
|
|
|
|
|
|
|
@ -264,15 +265,29 @@
|
|
|
|
|
* Biz function
|
|
|
|
|
******************************* */
|
|
|
|
|
const fnBiz = {
|
|
|
|
|
downloadImg: () => {
|
|
|
|
|
search: (params) => {
|
|
|
|
|
cmmAjax({
|
|
|
|
|
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: () => {
|
|
|
|
|
|
|
|
|
|
//ctznStmtDtlDTO
|
|
|
|
|
|
|
|
|
|
cmmAjax({
|
|
|
|
|
showSuccessMsg: false
|
|
|
|
|
<%--,url: '<c:url value="/fims/biz/ec/findNatlNewspaperAttchFiles.do"/>' --%>
|
|
|
|
|
,url: fimsApiUrl.FIND_EC_NATL_NEWS_PAPER_ATTCH_FILES
|
|
|
|
|
,data: {interfaceSeqN: '${reqDTO.interfaceSeqN}'}
|
|
|
|
|
//,data: {interfaceSeqN: '${reqDTO.interfaceSeqN}'}
|
|
|
|
|
,data: downloadImgParam
|
|
|
|
|
,success: (res) => {
|
|
|
|
|
cmmImgDownload('#imgList', res.data?.contents, true);
|
|
|
|
|
}
|
|
|
|
@ -391,10 +406,16 @@
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$('#prev').on('click', () => {
|
|
|
|
|
window.opener.onClickCtznStmtNavigationBtn('prev');
|
|
|
|
|
});
|
|
|
|
|
window.opener.pageNav.onClickNavBtn('prev', (gridInfo) => {
|
|
|
|
|
fnBiz.search(gridInfo.curRowData)
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$('#next').on('click', () => {
|
|
|
|
|
window.opener.onClickCtznStmtNavigationBtn('next');
|
|
|
|
|
window.opener.pageNav.onClickNavBtn('next', (gridInfo) => {
|
|
|
|
|
fnBiz.search(gridInfo.curRowData);
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
@ -402,22 +423,14 @@
|
|
|
|
|
* initialize
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
$(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())
|
|
|
|
|
</c:forEach>
|
|
|
|
|
|
|
|
|
|
downloadImgParam = {interfaceSeqN: '${reqDTO.interfaceSeqN}'};
|
|
|
|
|
fnBiz.downloadImg();
|
|
|
|
|
|
|
|
|
|
if(window.opener.gridInfo.curRowPos === 1){
|
|
|
|
|
$('#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);
|
|
|
|
|
window.opener.pageNav.reloadNav($('#prev'), $('#next'), $('#totCnt span'))
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|