원격지원파일 다운로드 경로 수정

main
이범준 3 weeks ago
parent 572ead7d96
commit 6ce37a39ea

@ -10,7 +10,7 @@
</div> </div>
<div class="navbar-nav-right d-flex align-items-center" id="navbar-collapse"> <div class="navbar-nav-right d-flex align-items-center" id="navbar-collapse">
<!-- /Search --> <!-- /Search -->
<div class="ms-1 me-1 min-w-max-c"> <div class="ms-1 me-1 min-w-max-c">
<select id="fastBy--top" class="form-select" title="검색구분"> <select id="fastBy--top" class="form-select" title="검색구분">
@ -27,7 +27,7 @@
<div class="me-1 min-w-max-c"> <div class="me-1 min-w-max-c">
<div class="form-check-inline custom-option custom-option-basic me-1 border-default bg-top-checkbox"> <div class="form-check-inline custom-option custom-option-basic me-1 border-default bg-top-checkbox">
<label for="securityMode--top" class="form-check-label custom-option-content d-flex justify-content-center pt-1 pb-1"> <label for="securityMode--top" class="form-check-label custom-option-content d-flex justify-content-center pt-1 pb-1">
<input type="checkbox" id="securityMode--top" name="securityMode" <input type="checkbox" id="securityMode--top" name="securityMode"
class="form-check-input me-1 align-self-center" value="Y" /> class="form-check-input me-1 align-self-center" value="Y" />
<span class="text-center"> <span class="text-center">
보안모드<br/><kbd>F9</kbd> 보안모드<br/><kbd>F9</kbd>
@ -36,7 +36,7 @@
</div> </div>
<div class="form-check-inline custom-option custom-option-basic me-1 border-default bg-top-checkbox"> <div class="form-check-inline custom-option custom-option-basic me-1 border-default bg-top-checkbox">
<label for="photoMask--top" class="form-check-label custom-option-content d-flex justify-content-center pt-1 pb-1"> <label for="photoMask--top" class="form-check-label custom-option-content d-flex justify-content-center pt-1 pb-1">
<input type="checkbox" id="photoMask--top" name="photoMask" <input type="checkbox" id="photoMask--top" name="photoMask"
class="form-check-input me-1 align-self-center" value="Y" checked /> class="form-check-input me-1 align-self-center" value="Y" checked />
<span class="text-center"> <span class="text-center">
단속사진 모자이크<br/><kbd>F10</kbd> 단속사진 모자이크<br/><kbd>F10</kbd>
@ -72,14 +72,14 @@
</a> </a>
</li> </li>
<!--/ Style Switcher --> <!--/ Style Switcher -->
<!-- User --> <!-- User -->
<li id="userNav--top" class="nav-item navbar-dropdown dropdown-user dropdown"> <li id="userNav--top" class="nav-item navbar-dropdown dropdown-user dropdown">
<a href="javascript:void(0);" data-bs-toggle="dropdown" <a href="javascript:void(0);" data-bs-toggle="dropdown"
class="d-flex align-items-center nav-link dropdown-toggle hide-arrow"> class="d-flex align-items-center nav-link dropdown-toggle hide-arrow">
<div class="avatar d-flex"> <div class="avatar d-flex">
<img src="<c:url value="/webjars/img/user-circle-solid-24.svg"/>" alt <img src="<c:url value="/webjars/img/user-circle-solid-24.svg"/>" alt
class="w-px-40 h-auto rounded-circle" /> class="w-px-40 h-auto rounded-circle" />
<div class="d-flex flex-column"> <div class="d-flex flex-column">
<span class="fw-semibold text-black">${currentUser.name}</span> <span class="fw-semibold text-black">${currentUser.name}</span>
@ -93,7 +93,7 @@
<div class="d-flex"> <div class="d-flex">
<div class="flex-shrink-0 me-3"> <div class="flex-shrink-0 me-3">
<div class="avatar avatar-online"> <div class="avatar avatar-online">
<img src="<c:url value="/webjars/img/user-circle-solid-24.svg"/>" alt <img src="<c:url value="/webjars/img/user-circle-solid-24.svg"/>" alt
class="w-px-40 h-auto rounded-circle" /> class="w-px-40 h-auto rounded-circle" />
</div> </div>
</div> </div>
@ -154,7 +154,7 @@
<!--/ User --> <!--/ User -->
</ul> </ul>
</span> </span>
</div> </div>
</nav> </nav>
@ -173,7 +173,7 @@ async function fnOpenTempFileUploadWindow(){
var resp = await fetch(wctx.url("/webjars/html/fileUpload.html")); var resp = await fetch(wctx.url("/webjars/html/fileUpload.html"));
var template = await resp.text(); var template = await resp.text();
dialog.open({ dialog.open({
id : "fileUploadDialog", id : "fileUploadDialog",
title: "파일 업로드", title: "파일 업로드",
@ -183,7 +183,7 @@ async function fnOpenTempFileUploadWindow(){
AppSupport.setDialogZindex(); AppSupport.setDialogZindex();
} }
}); });
} }
/*--------------------- 설정 선택 다이얼로그 표시 ---------------------*/ /*--------------------- 설정 선택 다이얼로그 표시 ---------------------*/
@ -201,7 +201,7 @@ function fnOpenSelectStngDialog(){
/*--------------------- 장비단속레이아웃 설정 메인 화면 표시 ---------------------*/ /*--------------------- 장비단속레이아웃 설정 메인 화면 표시 ---------------------*/
function fnOpenEqmCrdnLayoutStngDialog(){ function fnOpenEqmCrdnLayoutStngDialog(){
dialog.close("selectStngDialog"); dialog.close("selectStngDialog");
var url = wctx.url("/crdn/crdn01/010/main.do"); var url = wctx.url("/crdn/crdn01/010/main.do");
ajax.post({ ajax.post({
@ -210,19 +210,19 @@ function fnOpenEqmCrdnLayoutStngDialog(){
success : (resp) => { success : (resp) => {
let dialogName = "eqmCrdnLayoutStngDialog"; let dialogName = "eqmCrdnLayoutStngDialog";
let dialogId = dialogName+"-"+uuid(); let dialogId = dialogName+"-"+uuid();
dialog.open({ dialog.open({
id : dialogId, id : dialogId,
title : "장비단속 레이아웃 설정", title : "장비단속 레이아웃 설정",
size : "xxl", size : "xxl",
content : resp, content : resp,
init : () => { init : () => {
$("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("name", dialogName);
$("#"+dialogId).attr("data-ref-doctx","top"); $("#"+dialogId).attr("data-ref-doctx","top");
let refDlgId = pageObject["top"].refDlgId(dialogName); let refDlgId = pageObject["top"].refDlgId(dialogName);
$("#"+refDlgId).find("form[name='frmSearch']").find("[name='sggCd']").val(MY_INFO.info.sggCd); $("#"+refDlgId).find("form[name='frmSearch']").find("[name='sggCd']").val(MY_INFO.info.sggCd);
}, },
onClose : () => { } onClose : () => { }
}); });
@ -232,11 +232,11 @@ function fnOpenEqmCrdnLayoutStngDialog(){
/*--------------------- 출력물 설정 메인 화면 표시 ---------------------*/ /*--------------------- 출력물 설정 메인 화면 표시 ---------------------*/
function fnOpenOtptStngDialog(){ function fnOpenOtptStngDialog(){
dialog.close("selectStngDialog"); dialog.close("selectStngDialog");
var url = wctx.url("/stng/stng01/010/main.do"); var url = wctx.url("/stng/stng01/010/main.do");
ajax.post({ ajax.post({
url : url, url : url,
data : {}, data : {},
@ -250,85 +250,85 @@ function fnOpenOtptStngDialog(){
title : "출력설정", title : "출력설정",
size : "xxl", size : "xxl",
content : resp, content : resp,
init : () => { init : () => {
$("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("name", dialogName);
$("#"+dialogId).attr("data-ref-doctx","top"); $("#"+dialogId).attr("data-ref-doctx","top");
let refDlgId = pageObject["top"].refDlgId(dialogName); let refDlgId = pageObject["top"].refDlgId(dialogName);
$("#"+refDlgId).find("form[name='frmSearch']").find("[name='sggCd']").val(MY_INFO.info.sggCd); $("#"+refDlgId).find("form[name='frmSearch']").find("[name='sggCd']").val(MY_INFO.info.sggCd);
}, },
onClose : () => { } onClose : () => { }
}); });
} }
}); });
} }
/*--------------------- 고지서 외주요청파일 서식 설정 ---------------------*/ /*--------------------- 고지서 외주요청파일 서식 설정 ---------------------*/
function fnOpenOutsourcingStngDialog(){ function fnOpenOutsourcingStngDialog(){
dialog.close("selectStngDialog"); dialog.close("selectStngDialog");
var url = wctx.url("/stng/stng01/030/main.do"); var url = wctx.url("/stng/stng01/030/main.do");
ajax.post({ ajax.post({
url : url, url : url,
data : {}, data : {},
success : (resp) => { success : (resp) => {
let dialogName = "outsourcingStngDialog"; let dialogName = "outsourcingStngDialog";
let dialogId = dialogName+"-"+uuid(); let dialogId = dialogName+"-"+uuid();
dialog.open({ dialog.open({
id : dialogId, id : dialogId,
title : "외주요청파일 서식 설정", title : "외주요청파일 서식 설정",
size : "xxl", size : "xxl",
content : resp, content : resp,
init : () => { init : () => {
$("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("name", dialogName);
$("#"+dialogId).attr("data-ref-doctx","top"); $("#"+dialogId).attr("data-ref-doctx","top");
let refDlgId = pageObject["top"].refDlgId(dialogName); let refDlgId = pageObject["top"].refDlgId(dialogName);
$("#"+refDlgId).find("form[name='frmSearch']").find("[name='sggCd']").val(MY_INFO.info.sggCd); $("#"+refDlgId).find("form[name='frmSearch']").find("[name='sggCd']").val(MY_INFO.info.sggCd);
}, },
onClose : () => { } onClose : () => { }
}); });
} }
}); });
} }
/*--------------------- PDF자료 추출 설정 메인 화면 표시 ---------------------*/ /*--------------------- PDF자료 추출 설정 메인 화면 표시 ---------------------*/
function fnOpenExtrStngDialog(){ function fnOpenExtrStngDialog(){
dialog.close("selectStngDialog"); dialog.close("selectStngDialog");
var url = wctx.url("/stng/stng01/020/main.do"); var url = wctx.url("/stng/stng01/020/main.do");
ajax.post({ ajax.post({
url : url, url : url,
data : {}, data : {},
success : (resp) => { success : (resp) => {
let dialogName = "extrStngDialog"; let dialogName = "extrStngDialog";
let dialogId = dialogName+"-"+uuid(); let dialogId = dialogName+"-"+uuid();
dialog.open({ dialog.open({
id : dialogId, id : dialogId,
title : "PDF자료 추출 설정", title : "PDF자료 추출 설정",
size : "xxl", size : "xxl",
content : resp, content : resp,
init : () => { init : () => {
$("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("name", dialogName);
$("#"+dialogId).attr("data-ref-doctx","top"); $("#"+dialogId).attr("data-ref-doctx","top");
let refDlgId = pageObject["top"].refDlgId(dialogName); let refDlgId = pageObject["top"].refDlgId(dialogName);
$("#"+refDlgId).find("form[name='frmSearch']").find("[name='sggCd']").val(MY_INFO.info.sggCd); $("#"+refDlgId).find("form[name='frmSearch']").find("[name='sggCd']").val(MY_INFO.info.sggCd);
}, },
onClose : () => { } onClose : () => { }
}); });
@ -348,7 +348,7 @@ function fnOpenMyInfo(){
,"changeMyInfo" ,"changeMyInfo"
,"width="+popupWidth+", height="+popupHeight+", left="+popupX+", top="+popupY ,"width="+popupWidth+", height="+popupHeight+", left="+popupX+", top="+popupY
); );
popup.onload = () => { popup.onload = () => {
popup.addEventListener('beforeunload', function() { popup.addEventListener('beforeunload', function() {
$.unblockUI(); $.unblockUI();
@ -397,15 +397,15 @@ function showHelp(){
+"<br/>" +"<br/>"
+"<button type='button' class='btn btn-primary' onclick='remoteRequest();'>원격지원</button>", +"<button type='button' class='btn btn-primary' onclick='remoteRequest();'>원격지원</button>",
timeout : 0, timeout : 0,
init : function() { init : function() {
AppSupport.setDialogZindex(); AppSupport.setDialogZindex();
AppSupport.focusClose(); AppSupport.focusClose();
}, },
}); });
} }
function remoteRequest(){ function remoteRequest(){
window.open("https://www.xit.co.kr/xit-1.exe", '_blank'); window.open("https://81.223.kr/xit-1.exe", '_blank');
} }
@ -429,7 +429,7 @@ function fn_securityModeToggle(flag, elementId){
let maskingValue = originValue.replaceAll(/./g, "*"); let maskingValue = originValue.replaceAll(/./g, "*");
document.getElementById("mask-"+originId).value = maskingValue; document.getElementById("mask-"+originId).value = maskingValue;
} }
if(flag){ //개인정보 숨김 if(flag){ //개인정보 숨김
//입력상자 //입력상자
@ -444,7 +444,7 @@ function fn_securityModeToggle(flag, elementId){
//입력상자 //입력상자
$("input.privacy").removeAttr("hidden"); $("input.privacy").removeAttr("hidden");
$("input.privacy-mask").attr("hidden","hidden"); $("input.privacy-mask").attr("hidden","hidden");
//그리드 //그리드
$("body").removeClass("root-privacy-on"); $("body").removeClass("root-privacy-on");
@ -467,7 +467,7 @@ function fn_photoMask(flag, element){
} else { } else {
executionArea = $(document); executionArea = $(document);
} }
var targets; var targets;
if(isImg){ if(isImg){
targets = executionArea.filter("[data-crdn-photo-id]"); targets = executionArea.filter("[data-crdn-photo-id]");
@ -479,25 +479,25 @@ function fn_photoMask(flag, element){
var target = targets[i]; var target = targets[i];
var dataset = target.dataset; var dataset = target.dataset;
var targetId = dataset.crdnPhotoId; var targetId = dataset.crdnPhotoId;
$("div[data-ref='"+dataset.crdnPhotoId+"']").remove(); $("div[data-ref='"+dataset.crdnPhotoId+"']").remove();
if(dataset.crdnPhotoId != null && dataset.crdnPhotoId != "" if(dataset.crdnPhotoId != null && dataset.crdnPhotoId != ""
&& dataset.mosaic != null && dataset.mosaic != "" && dataset.mosaic != null && dataset.mosaic != ""
&& flag){ && flag){
var mosaicInfoArr = dataset.mosaic.split("|"); var mosaicInfoArr = dataset.mosaic.split("|");
var zoomX = target.width / target.naturalWidth; var zoomX = target.width / target.naturalWidth;
var zoomY = target.height / target.naturalHeight; var zoomY = target.height / target.naturalHeight;
for(var j=0; j < mosaicInfoArr.length; j++){ for(var j=0; j < mosaicInfoArr.length; j++){
var mosaicInfo = mosaicInfoArr[j].split(","); var mosaicInfo = mosaicInfoArr[j].split(",");
var x2 = mosaicInfo[0] * zoomX var x2 = mosaicInfo[0] * zoomX
var y2 = mosaicInfo[1] * zoomY var y2 = mosaicInfo[1] * zoomY
var w2 = mosaicInfo[2] * zoomX var w2 = mosaicInfo[2] * zoomX
var h2 = mosaicInfo[3] * zoomY var h2 = mosaicInfo[3] * zoomY
var mosaic = document.createElement("div"); var mosaic = document.createElement("div");
mosaic.style["position"] = "absolute"; mosaic.style["position"] = "absolute";
mosaic.style["top"] = y2 + "px"; mosaic.style["top"] = y2 + "px";
@ -514,7 +514,7 @@ function fn_photoMask(flag, element){
} }
/*--------------------- 통합조회 버튼 클릭 이벤트 ---------------------*/ /*--------------------- 통합조회 버튼 클릭 이벤트 ---------------------*/
$("#btnFastSearch--top").on( "click", function() { $("#btnFastSearch--top").on( "click", function() {
fnGlobalFastSearch(); fnGlobalFastSearch();
}); });
@ -526,13 +526,13 @@ function fnGlobalFastSearch(){
if(mainTabs.getDataset().find(i => i.url == integrationSearchUrl) != null){ if(mainTabs.getDataset().find(i => i.url == integrationSearchUrl) != null){
mainTabs.close(integrationSearchUrl); mainTabs.close(integrationSearchUrl);
} }
if($("#fastTerm--top").val() != ""){ if($("#fastTerm--top").val() != ""){
fastSearch = true; fastSearch = true;
} }
openMenu(integrationSearchUrl); openMenu(integrationSearchUrl);
} }
/*--------------------- 종합민원관리 클릭 이벤트 ---------------------*/ /*--------------------- 종합민원관리 클릭 이벤트 ---------------------*/

Loading…
Cancel
Save