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