|
|
|
@ -49,8 +49,8 @@
|
|
|
|
|
<tr>
|
|
|
|
|
<th>기관코드</th>
|
|
|
|
|
<td><code:select id="insttCode" name="insttCode" codeId="XIT025" defaultSelect="${contents.insttCode}" title="기관코드" cls="selectBoxTotal" alt="기관코드"/></td>
|
|
|
|
|
<th>시스템코드</th>
|
|
|
|
|
<td><code:select id="sysCode" name="sysCode" codeId="FIM001" defaultSelect="${contents.sysCode}" title="시스템코드" cls="selectBoxTotal" alt="시스템코드"/></td>
|
|
|
|
|
<th>과태료코드</th>
|
|
|
|
|
<td><code:select id="sysCode" name="sysCode" codeId="FIM001" defaultSelect="${contents.sysCode}" title="과태료코드" cls="selectBoxTotal" alt="과태료코드"/></td>
|
|
|
|
|
<th>단속구분</th>
|
|
|
|
|
<td><code:select id="regltSeCode" name="regltSeCode" codeId="FIM002" defaultSelect="${contents.regltSeCode}" title="단속구분코드" cls="selectBoxTotal" alt="단속구분코드"/></td>
|
|
|
|
|
</tr>
|
|
|
|
@ -116,8 +116,10 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="w_fix01 gridGroup" style="width:0px; min-width:300px!important;">
|
|
|
|
|
<p class="title deco_01">위반사진</p>
|
|
|
|
|
<%--FIXME: id 고정(변경불가)--%>
|
|
|
|
|
<div id="imgList"></div>
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
|
|
<img id="uploadImage"/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
@ -132,17 +134,34 @@
|
|
|
|
|
</div><!--row -->
|
|
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/framework/js/cmm/cmmDownloadImg.js" defer></script>
|
|
|
|
|
<script type="text/javaScript" language="javascript" defer="defer">
|
|
|
|
|
|
|
|
|
|
//전역변수선언
|
|
|
|
|
let orgData;
|
|
|
|
|
var callbackSearch = () => fnBiz.search();
|
|
|
|
|
|
|
|
|
|
var callbackReloadImage = () => fnBiz.downloadImg();
|
|
|
|
|
|
|
|
|
|
/* *******************************
|
|
|
|
|
* Biz function
|
|
|
|
|
******************************* */
|
|
|
|
|
const fnBiz = {
|
|
|
|
|
downloadImg: () => {
|
|
|
|
|
cmmAjax({
|
|
|
|
|
showSuccessMsg: false
|
|
|
|
|
,url: '<c:url value="/fims/biz/ec/findNatlNewspaperAttchFiles.do"/>'
|
|
|
|
|
,data: {interfaceSeqN: '${contents.interfaceSeqN}'}
|
|
|
|
|
,success: (res) => {
|
|
|
|
|
// 이미지 클릭시 image editor open
|
|
|
|
|
const pr = {
|
|
|
|
|
interfaceSeqN: '${reqDTO.interfaceSeqN}',
|
|
|
|
|
ctznSttemntDetailSn: '${reqDTO.ctznSttemntDetailSn}'
|
|
|
|
|
}
|
|
|
|
|
<%-- FIXME: id 고정(#ctznImg - 변경불가)--%>
|
|
|
|
|
sttemntImgDownload(res.data?.contents, '#ctznImg', pr, true);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
add: () => {
|
|
|
|
|
if (!fnBiz.validate()) return;
|
|
|
|
|
|
|
|
|
@ -210,6 +229,7 @@
|
|
|
|
|
|
|
|
|
|
$(document).ready(function(){
|
|
|
|
|
orgData = $('form').serialize();
|
|
|
|
|
fnBiz.downloadImg();
|
|
|
|
|
$('#totCnt span').text(window.opener.pageId.rowKey+1 + " / " + window.opener.$('#totCnt span').text());
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|