diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp index 5e0821f4..62421964 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp @@ -256,15 +256,15 @@
선택자료 - -
+ +
비교자료(선택자료의 다음 자료가 보여집니다.) - -
+ +
@@ -833,15 +833,15 @@ $(document).ready(function(){ $P.showPhoto = (dataKey, nextDataKey, curDataVhrno, nextDataVhrno) => { if(dataKey == ""){ - $("#curDataVhrno--${pageName}").html(""); - $("#nextDataVhrno--${pageName}").html(""); - $("#curDataFiles--${pageName}").html(""); - $("#nextDataFiles--${pageName}").html(""); + $P.$find("curDataVhrno").html(""); + $P.$find("nextDataVhrno").html(""); + $P.$find("curDataFiles").html(""); + $P.$find("nextDataFiles").html(""); return; } - $("#curDataVhrno--${pageName}").html(curDataVhrno); - $("#nextDataVhrno--${pageName}").html(nextDataVhrno); + $P.$find("curDataVhrno").html(curDataVhrno); + $P.$find("nextDataVhrno").html(nextDataVhrno); ajax.get({ url:"file/list.do", @@ -857,16 +857,16 @@ $(document).ready(function(){ var currentDataFileList = fileList.filter(x => x.INF_KEY == dataKey); var nextDataFileList = fileList.filter(x => x.INF_KEY == nextDataKey); - $("#curDataFiles--${pageName}").html(""); - $("#nextDataFiles--${pageName}").html(""); + $P.$find("curDataFiles").html(""); + $P.$find("nextDataFiles").html(""); currentDataFileList.forEach(function(item, index, array){ var output = fnMakeImgTagForInspection(item.URL, item.FILE_NM,"cur"+item.FILE_ID+'${pageName}',item.MOSAIC); - $("#curDataFiles--${pageName}").append(output); + $P.$find("curDataFiles").append(output); }); nextDataFileList.forEach(function(item, index, array){ var output = fnMakeImgTagForInspection(item.URL, item.FILE_NM,"next"+item.FILE_ID+'${pageName}',item.MOSAIC); - $("#nextDataFiles--${pageName}").append(output); + $P.$find("nextDataFiles").append(output); }); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05020-info.jsp index 77e1c6c1..0ce69fb2 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05020-info.jsp @@ -146,7 +146,7 @@
-
+
@@ -199,7 +199,7 @@ $(document).ready(function(){ }; $P.ctrl.dataset.onCurrentChange = (dataItem) => { - $("#imageArea--${pageName}").html(""); + $P.$find("imageArea").html(""); if(dataItem && dataItem.data){ var dataKey = dataItem.data.FILE_NAME; @@ -352,13 +352,13 @@ $(document).ready(function(){ span.appendChild(img); div.appendChild(span); } - $("#imageArea--${pageName}").append(div); + $P.$find("imageArea").append(div); } else { var img = document.createElement("img"); img.style["object-fit"] = "contain"; img.src = src; - $("#imageArea--${pageName}").append(img); + $P.$find("imageArea").append(img); } } diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp index 3762502a..c53237e3 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp @@ -354,7 +354,7 @@
-
+
@@ -428,7 +428,7 @@ $(document).ready(function(){ } $P.fnDisplay = () => { - var displayArea = document.querySelector("#display--${pageName}"); + var displayArea = $P.find("display"); var concatArr = $P.localUploadArr.concat($P.captureFileArr); var tagsText = $P.fnMakeImgForNewFile(concatArr); @@ -554,7 +554,7 @@ $(document).ready(function(){ }); $P.$find("btnCancelAddFile").on('click', () => { - var checked = $("#display--${pageName}").find("[name='newPhoto']:checked"); + var checked = $P.$find("display").find("[name='newPhoto']:checked"); if(checked.length < 1){ alert("선택된 사진이 없습니다."); return; diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp index 8a01ebae..f648484f 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp @@ -109,7 +109,7 @@
-
+