|
|
@ -49,8 +49,8 @@
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>기관코드</th>
|
|
|
|
<th>기관코드</th>
|
|
|
|
<td><code:select id="insttCode" name="insttCode" codeId="XIT025" defaultSelect="${contents.insttCode}" title="기관코드" cls="selectBoxTotal" alt="기관코드"/></td>
|
|
|
|
<td><code:select id="insttCode" name="insttCode" codeId="XIT025" defaultSelect="${contents.insttCode}" title="기관코드" cls="selectBoxTotal" alt="기관코드"/></td>
|
|
|
|
<th>시스템코드</th>
|
|
|
|
<th>과태료코드</th>
|
|
|
|
<td><code:select id="sysCode" name="sysCode" codeId="FIM001" defaultSelect="${contents.sysCode}" title="시스템코드" cls="selectBoxTotal" alt="시스템코드"/></td>
|
|
|
|
<td><code:select id="sysCode" name="sysCode" codeId="FIM001" defaultSelect="${contents.sysCode}" title="과태료코드" cls="selectBoxTotal" alt="과태료코드"/></td>
|
|
|
|
<th>단속구분</th>
|
|
|
|
<th>단속구분</th>
|
|
|
|
<td><code:select id="regltSeCode" name="regltSeCode" codeId="FIM002" defaultSelect="${contents.regltSeCode}" title="단속구분코드" cls="selectBoxTotal" alt="단속구분코드"/></td>
|
|
|
|
<td><code:select id="regltSeCode" name="regltSeCode" codeId="FIM002" defaultSelect="${contents.regltSeCode}" title="단속구분코드" cls="selectBoxTotal" alt="단속구분코드"/></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
@ -116,8 +116,10 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="w_fix01 gridGroup" style="width:0px; min-width:300px!important;">
|
|
|
|
<div class="w_fix01 gridGroup" style="width:0px; min-width:300px!important;">
|
|
|
|
<p class="title deco_01">위반사진</p>
|
|
|
|
<p class="title deco_01">위반사진</p>
|
|
|
|
|
|
|
|
<%--FIXME: id 고정(변경불가)--%>
|
|
|
|
|
|
|
|
<div id="imgList"></div>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<img id="uploadImage"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
@ -132,17 +134,34 @@
|
|
|
|
</div><!--row -->
|
|
|
|
</div><!--row -->
|
|
|
|
|
|
|
|
|
|
|
|
</form>
|
|
|
|
</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">
|
|
|
|
<script type="text/javaScript" language="javascript" defer="defer">
|
|
|
|
|
|
|
|
|
|
|
|
//전역변수선언
|
|
|
|
//전역변수선언
|
|
|
|
let orgData;
|
|
|
|
let orgData;
|
|
|
|
var callbackSearch = () => fnBiz.search();
|
|
|
|
var callbackSearch = () => fnBiz.search();
|
|
|
|
|
|
|
|
var callbackReloadImage = () => fnBiz.downloadImg();
|
|
|
|
|
|
|
|
|
|
|
|
/* *******************************
|
|
|
|
/* *******************************
|
|
|
|
* Biz function
|
|
|
|
* Biz function
|
|
|
|
******************************* */
|
|
|
|
******************************* */
|
|
|
|
const fnBiz = {
|
|
|
|
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: () => {
|
|
|
|
add: () => {
|
|
|
|
if (!fnBiz.validate()) return;
|
|
|
|
if (!fnBiz.validate()) return;
|
|
|
|
|
|
|
|
|
|
|
@ -210,6 +229,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
$(document).ready(function(){
|
|
|
|
$(document).ready(function(){
|
|
|
|
orgData = $('form').serialize();
|
|
|
|
orgData = $('form').serialize();
|
|
|
|
|
|
|
|
fnBiz.downloadImg();
|
|
|
|
$('#totCnt span').text(window.opener.pageId.rowKey+1 + " / " + window.opener.$('#totCnt span').text());
|
|
|
|
$('#totCnt span').text(window.opener.pageId.rowKey+1 + " / " + window.opener.$('#totCnt span').text());
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|