fix: fimsTotal form change

main
Kurt92 2 years ago
parent 3a8131343a
commit 78e07d2478

@ -19,18 +19,130 @@
<p class="title">개별총정보</p> <p class="title">개별총정보</p>
</div> </div>
<div style="display: flex">
<button type="button" id="prevData" name="prevData" value="">prev</button> <button type="button" id="prevData" name="prevData" value="">prev</button>
<button type="button" id="nextData" name="nextData" value="">next</button> <div>
<div class="page_btn"> <span>
<span class="fll"> <div id="totCnt">전체 ㅣ <span></span></div>
<div class="list clearfix" id="totCnt">전체 ㅣ <span></span></div>
</span> </span>
</div> </div>
<button type="button" id="nextData" name="nextData" value="">next</button>
</div>
<div class="row"> <div class="row">
<div id="tabs_0"> <div id="tabs_0">
<div class="w_fix01 gridGroup"> <div class="w_fix01 gridGroup">
<p class="title deco_01">위반정보</p> <p class="title deco_01">위반정보</p>
<table class="basics_F mTB_01">
<table class="tbl03">
<caption><c:out value="${bizName}"/> 상세</caption>
<colgroup>
<col style="width: 13%;"/>
<col style="width: 20%;"/>
<col style="width: 13%;"/>
<col style="width: 20%;"/>
<col style="width: 13%;"/>
<col style="width: 20%;"/>
</colgroup>
<tbody>
<tr>
<th>기관코드</th>
<td>
<input type="text" name="insttCode" value='' readonly>
</td>
<th>시스템코드</th>
<td>
<input type="text" name="sysCode" value='' readonly>
</td>
<th>민원구분</th>
<td>
<input type="text" name="cvplSe" value='' readonly>
</td>
</tr>
<tr>
<th>민원신청번호</th>
<td>
<input type="text" name="petiAncCodeV" value='' readonly>
</td>
<th>민원접수번호</th>
<td>
<input type="text" name="petiNoC" value='' readonly>
</td>
<th>민원신청인명</th>
<td>
<input type="text" name="civilNoC" value='' readonly>
</td>
</tr>
<tr>
<th>신청인이메일</th>
<td>
<input type="text" name="peterNameV" value='' readonly>
</td>
<th>신청인우편번호</th>
<td>
<input type="text" name="zipCodeC" value='' readonly>
</td>
<th>신청인주소</th>
<td>
<input type="text" name="addressV" value='' readonly>
</td>
</tr>
<tr>
<th>신청인핸드폰</th>
<td>
<input type="text" name="celNoV" value='' readonly>
</td>
<th>신청인전화</th>
<td>
<input type="text" name="telNoV" value='' readonly>
</td>
<th>처리상태</th>
<td>
<input type="text" name="telNoV" value='' readonly>
</td>
</tr>
<tr>
<th>민원신청제목</th>
<td colspan="5">
<input type="text" name="petiTitleV" value='' readonly>
</td>
</tr>
<tr>
<th>민원신청내용</th>
<td colspan="5">
<textarea name="petiReasonL" rows="10" readonly></textarea>
</td>
</tr>
<tr>
<th>민원신청일시</th>
<td>
<input type="text" name="cvplRceptDt" value='<fmt:formatDate value="${cvplRceptDt}" pattern="yyyy-MM-dd HH:mm:ss"/>' readonly>
</td>
<th>민원처리기간</th>
<td>
<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"/>
<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"/>--%>
<%-- <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>--%>
<%-- </td>--%>
<%-- </tr>--%>
</tbody>
</table>
<%--<table class="basics_F mTB_01">
<colgroup> <colgroup>
<col style="width: 5%;"/> <col style="width: 5%;"/>
<col style="width: 12%;"/> <col style="width: 12%;"/>
@ -138,11 +250,14 @@
<code:select id="regltProcessSttusCode" name="regltProcessSttusCode" codeId="FIM010" defaultSelect="${contents.regltProcessSttusCode}" title="단속처리상태" cls="selectBoxTotal" alt="단속처리상태"/> <code:select id="regltProcessSttusCode" name="regltProcessSttusCode" codeId="FIM010" defaultSelect="${contents.regltProcessSttusCode}" title="단속처리상태" cls="selectBoxTotal" alt="단속처리상태"/>
</td> </td>
</tr> </tr>
</table> </table>--%>
</div> </div>
<div class="w_fix01 gridGroup"> <div class="w_fix01 gridGroup">
<p class="title deco_01">위반사진</p> <p class="title deco_01">위반사진</p>
<div>
</div>
</div> </div>
</div> </div>
@ -199,23 +314,6 @@
return true; return true;
} }
,pagePopup: function(flag, params){
let url = '<c:url value="/cmm/fimsPopup/fimsTotalPopup.do"/>';
let popTitle;
let popOption = {width: 1200, height:900};
switch (flag) {
case "add": //등록
popTitle = "자료등록";
break;
case "detail": //상세
popTitle = "개별총정보";
break;
default:
break;
}
CmmPopup.open(url, params, popOption, popTitle);
}
}; };
/************************************************************************** /**************************************************************************
@ -240,7 +338,7 @@
$('#prevData').on('click', () => { $('#prevData').on('click', () => {
window.opener.clickDataChangeBtn('prev'); window.opener.clickDataChangeBtn('prev');
if(window.opener.lastPage == ture) alert('no more prev view'); if(window.opener.lastPage == true) alert('no more prev view');
}); });
$('#nextData').on('click', () => { $('#nextData').on('click', () => {
window.opener.clickDataChangeBtn('next'); window.opener.clickDataChangeBtn('next');

@ -225,7 +225,6 @@
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
downloadImg: () => { 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"/>'
@ -244,7 +243,7 @@
.then((response) => response.blob()) .then((response) => response.blob())
.then((blob) => { .then((blob) => {
const url = URL.createObjectURL(blob); const url = URL.createObjectURL(blob);
console.log(url);
var x = document.createElement("img"); var x = document.createElement("img");
x.setAttribute("src", url); x.setAttribute("src", url);
//x.style = 'width:150px; display: block;'; //x.style = 'width:150px; display: block;';

@ -75,10 +75,12 @@
lastPageId = GRID.store.data.rawData[pageId.rowKey]; lastPageId = GRID.store.data.rawData[pageId.rowKey];
if(param == 'next') {pageId = GRID.store.data.rawData[pageId.rowKey+1];} if(param == 'next') {pageId = GRID.store.data.rawData[pageId.rowKey+1];}
else {pageId = GRID.store.data.rawData[pageId.rowKey-1];} else {pageId = GRID.store.data.rawData[pageId.rowKey-1];}
console.log(pageId);
if(pageId == undefined){ if(pageId == undefined){
pageId = lastPageId; pageId = lastPageId;
return lastPage = true; lastPage = true;
} else { } else {
lastPage = false;
fnBiz.pagePopup('detail', {regltId: pageId.regltId}); fnBiz.pagePopup('detail', {regltId: pageId.regltId});
} }
} }

Loading…
Cancel
Save