From caa19e50d1a24bff0d819f91a3a8181f084ee428 Mon Sep 17 00:00:00 2001 From: Johngreen Date: Mon, 27 Oct 2025 21:48:26 +0900 Subject: [PATCH] =?UTF-8?q?3D,=202D,=20PDF=20=EC=95=84=EC=9D=B4=EC=BD=98?= =?UTF-8?q?=20=EB=88=8C=EB=A0=A4=EC=84=9C=20=ED=8C=8C=EC=9D=BC=20=EA=B0=9C?= =?UTF-8?q?=EB=B3=84=20=EC=B2=A8=EB=B6=80=ED=95=98=EB=8A=94=20=EA=B3=B3=20?= =?UTF-8?q?=EC=B2=A8=EB=B6=80=20=EC=95=88=EB=90=98=EB=8A=94=EB=B6=80?= =?UTF-8?q?=EB=B6=84=EC=88=98=EC=A0=95=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WEB-INF/view/common/FileDetailPopup.jsp | 19 ++++++++++++++----- .../WEB-INF/view/common/FileRegistPopup.jsp | 17 +++++++++++++---- .../view/projectConcept/FileRegistPopup.jsp | 15 ++++++++------- 3 files changed, 35 insertions(+), 16 deletions(-) diff --git a/WebContent/WEB-INF/view/common/FileDetailPopup.jsp b/WebContent/WEB-INF/view/common/FileDetailPopup.jsp index 474574c..74a224b 100644 --- a/WebContent/WEB-INF/view/common/FileDetailPopup.jsp +++ b/WebContent/WEB-INF/view/common/FileDetailPopup.jsp @@ -25,7 +25,7 @@ $(document).ready(function(){ $("#btnUpload").click(function(){ var files = $("#file1")[0].files; if(files.length > 0){ - fnc_fileMultiUpload(files, null, "${param.targetObjId}", "${param.docType}", "${param.docTypeName}", null, "srAreaDraw",null, "${param.parentTargetObjId}"); + fnc_fileMultiUpload(files, null, "${param.targetObjId}", "${param.docType}", "${param.docTypeName}", null, "refeshAttachFileArea",null, "${param.parentTargetObjId}"); //file객체 초기화 $("#file1").val(""); }else{ @@ -39,6 +39,14 @@ $(document).ready(function(){ function refeshAttachFileArea(){ srAreaDraw(); + // 부모 창의 그리드도 새로고침 + if(opener && typeof opener.fn_search == "function"){ + opener.fn_search(); + } + // Tabulator 그리드가 있는 경우 + if(opener && opener._tabulGrid){ + opener._tabulGrid.replaceData(); + } } //형상 영역을 display 한다. @@ -177,10 +185,11 @@ function fileDelete(fileObjId){ --> 파일첨부 -
Drag & Drop Files Here
- -
+
+ + +
+
diff --git a/WebContent/WEB-INF/view/common/FileRegistPopup.jsp b/WebContent/WEB-INF/view/common/FileRegistPopup.jsp index 071f60f..6d5edb4 100644 --- a/WebContent/WEB-INF/view/common/FileRegistPopup.jsp +++ b/WebContent/WEB-INF/view/common/FileRegistPopup.jsp @@ -28,7 +28,7 @@ $(document).ready(function(){ $("#btnUpload").click(function(){ var files = $("#file1")[0].files; if(files.length > 0){ - fnc_fileMultiUpload(files, null, "${param.targetObjId}", "${param.docType}", "${param.docTypeName}", null, "srAreaDraw",null, "${param.parentTargetObjId}"); + fnc_fileMultiUpload(files, null, "${param.targetObjId}", "${param.docType}", "${param.docTypeName}", null, "refeshAttachFileArea",null, "${param.parentTargetObjId}"); //file객체 초기화 $("#file1").val(""); }else{ @@ -39,6 +39,14 @@ $(document).ready(function(){ function refeshAttachFileArea(){ srAreaDraw(); + // 부모 창의 그리드도 새로고침 + if(opener && typeof opener.fn_search == "function"){ + opener.fn_search(); + } + // Tabulator 그리드가 있는 경우 + if(opener && opener._tabulGrid){ + opener._tabulGrid.replaceData(); + } } //형상 영역을 display 한다. @@ -202,9 +210,10 @@ function fileDelete(fileObjId){
파일첨부 -
Drag & Drop Files Here
- - +
+ + +
diff --git a/WebContent/WEB-INF/view/projectConcept/FileRegistPopup.jsp b/WebContent/WEB-INF/view/projectConcept/FileRegistPopup.jsp index 216746a..af39543 100644 --- a/WebContent/WEB-INF/view/projectConcept/FileRegistPopup.jsp +++ b/WebContent/WEB-INF/view/projectConcept/FileRegistPopup.jsp @@ -22,7 +22,7 @@ $(document).ready(function(){ $("#btnUpload").click(function(){ var files = $("#file1")[0].files; if(files.length > 0){ - fnc_fileMultiUpload(files, null, "${param.targetObjId}", "${param.docType}", "${param.docTypeName}", null, "srAreaDraw"); + fnc_fileMultiUpload(files, null, "${param.targetObjId}", "${param.docType}", "${param.docTypeName}", null, "refeshAttachFileArea"); //file객체 초기화 $("#file1").val(""); }else{ @@ -151,12 +151,13 @@ function fileDelete(fileObjId){ -->
- - +
파일첨부 - - -
+
파일첨부 +
+ + +
+