feat: image 크기 조정

main
minuk926 2 years ago
parent 08ed4183c4
commit d31917a05d

@ -65,7 +65,7 @@
switch (flag) { switch (flag) {
case "detail": case "detail":
url = '<c:url value="/fims/biz/ec/ecCctvCrackdownPopup.do"/>'; url = '<c:url value="/fims/biz/ec/ecCctvCrackdownPopup.do"/>';
popOption = {width: 1000, height:900}; popOption = {width: 900, height:800};
popTitle = "외부연계 데이타 상세"; popTitle = "외부연계 데이타 상세";
break; break;
case "file": case "file":

@ -6,7 +6,7 @@
<c:set var="bizName" value="외부연계 데이타"/> <c:set var="bizName" value="외부연계 데이타"/>
<div class="popup" style="min-width: 100px;" onbeforeunload="fnBiz.close()"> <div class="popup" style="min-width: 100px;" onbeforeunload="fnBiz.close()">
<div class="popup_inner" style="max-width: 1000px;"> <div class="popup_inner" style="max-width: 900px;">
<p class="pop_title"> <p class="pop_title">
<c:out value="${bizName}"/>(<c:out value="${extrlRegltCntcDTO.extrlRegltCntcId}"/>) 상세 <c:out value="${bizName}"/>(<c:out value="${extrlRegltCntcDTO.extrlRegltCntcId}"/>) 상세
</p> </p>
@ -161,7 +161,7 @@
<div id="imgList"></div> <div id="imgList"></div>
<div style="min-height: 260px"> <div>
<img id="uploadImage"/> <img id="uploadImage"/>
</div> </div>
@ -226,19 +226,6 @@
//var w = window.open("/imageEditor.do", "", "width=800,height=650,top=0px,left=200px,status=,resizable=false,scrollbars=no"); //var w = window.open("/imageEditor.do", "", "width=800,height=650,top=0px,left=200px,status=,resizable=false,scrollbars=no");
} }
,save: (extrlRegltCntcId) => { ,save: (extrlRegltCntcId) => {
/*
let idx = Number(ctznSttemntDetailSn);
if(orgDtlDatas[idx-1] == $('form[name=frmStmtDtl'+ctznSttemntDetailSn+']').serialize()){
alert('변경된 내용이 없습니다.');
return false;
}
const frm = $('form[name=frmStmtDtl'+ctznSttemntDetailSn+']');
const data = {
interfaceSeqN: '${reqDTO.interfaceSeqN}'
,ctznSttemntDetailSn
,vhcleNo: frm.find('input[name=vhcleNo]').val().trim()
}
*/
cmmBizAjax('modify', { cmmBizAjax('modify', {
url: '<c:url value="/fims/biz/ec/modifyExtrlRegltCntc.do"/>' url: '<c:url value="/fims/biz/ec/modifyExtrlRegltCntc.do"/>'
,data: $('form').serialize() ,data: $('form').serialize()

@ -63,27 +63,6 @@
let GRID = null; let GRID = null;
var callbackSearch = () => fnBiz.search(); var callbackSearch = () => fnBiz.search();
//개별총정보 팝업내 다음/이전페이지
// var pageId = null;
// var lastPageId = null;
// var lastPage = false;
// function clickDataChangeBtn(param){
// lastPageId = GRID.store.data.rawData[pageId.rowKey];
// console.log(lastPageId);
// if(param == 'next') {pageId = GRID.store.data.rawData[pageId.rowKey+1];}
// else {pageId = GRID.store.data.rawData[pageId.rowKey-1];}
// console.log(pageId);
// if(pageId == undefined){
// pageId = lastPageId;
// lastPage = true;
// } else {
// lastPage = false;
// fnBiz.pagePopup('detail', {interfaceSeqN: pageId.interfaceSeqN, ctznSttemntDetailSn: pageId.ctznSttemntDetailSn});
// }
// }
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
@ -98,7 +77,7 @@
switch (flag) { switch (flag) {
case "detail": case "detail":
url = '<c:url value="/fims/biz/ec/ecCtznSttemntMgtPopup.do"/>'; url = '<c:url value="/fims/biz/ec/ecCtznSttemntMgtPopup.do"/>';
popOption = {width: 1000, height:900}; popOption = {width: 900, height:800};
popTitle = "주민 신고 데이타 상세"; popTitle = "주민 신고 데이타 상세";
break; break;
case "file": case "file":

@ -5,7 +5,7 @@
<c:set var="bizName" value="주민 신고"/> <c:set var="bizName" value="주민 신고"/>
<div class="popup" style="min-width: 100px;"> <div class="popup" style="min-width: 100px;">
<div class="popup_inner" style="max-width: 1000px;"> <div class="popup_inner" style="max-width: 900px;">
<p class="pop_title"> <p class="pop_title">
<c:out value="${bizName}"/>(<c:out value="${reqDTO.interfaceSeqN}"/>) 상세 <c:out value="${bizName}"/>(<c:out value="${reqDTO.interfaceSeqN}"/>) 상세
</p> </p>
@ -236,7 +236,7 @@
<div id="imgList"></div> <div id="imgList"></div>
<div style="min-height: 260px"> <div>
<img id="uploadImage"/> <img id="uploadImage"/>
</div> </div>

@ -65,7 +65,7 @@
switch (flag) { switch (flag) {
case "detail": case "detail":
url = '<c:url value="/fims/biz/ec/ecNatlNewspaperPopup.do"/>'; url = '<c:url value="/fims/biz/ec/ecNatlNewspaperPopup.do"/>';
popOption = {width: 1000, height:900}; popOption = {width: 1000, height:800};
popTitle = "주민 신고 데이타 상세"; popTitle = "주민 신고 데이타 상세";
break; break;
case "file": case "file":

@ -31,10 +31,10 @@ function sttemntImgDownload(divImgListElementId, cmmFileDtls, reqDTO, isEditor)
x.setAttribute("src", downloadUrl+params); x.setAttribute("src", downloadUrl+params);
x.setAttribute("id", dtl.fileId); x.setAttribute("id", dtl.fileId);
x.setAttribute("class", "draggable") x.setAttribute("class", "draggable")
x.style = 'width:150px;'; x.style = 'width:100px;';
x.style = 'height:150px;'; x.style = 'height:100px;';
//x.setAttribute("object-fit", "cover"); //x.style = 'object-fit: "contain";';
//x.setAttribute("object-fit", "scale-down"); //x.style = 'object-fit: scale-down;';
x.setAttribute("title", title); x.setAttribute("title", title);
x.setAttribute("alt", dtl.orginlFileNm); x.setAttribute("alt", dtl.orginlFileNm);
x.setAttribute("name", dtl.orginlFileNm); x.setAttribute("name", dtl.orginlFileNm);

Loading…
Cancel
Save