From fe02f176b512a9d6a4e12437d929e04e99bb7567 Mon Sep 17 00:00:00 2001
From: zs <zhoushuai@zbooksoft.com>
Date: 星期三, 04 二月 2026 16:17:26 +0800
Subject: [PATCH] 报表调整,新增统计图,入库时需要移动附件位置

---
 src/main/webapp/WEB-INF/view/gh/catAjjxx/updateFileTypeIndex.jsp |   53 ++++++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 46 insertions(+), 7 deletions(-)

diff --git a/src/main/webapp/WEB-INF/view/gh/catAjjxx/updateFileTypeIndex.jsp b/src/main/webapp/WEB-INF/view/gh/catAjjxx/updateFileTypeIndex.jsp
index e68de25..bbeeb95 100644
--- a/src/main/webapp/WEB-INF/view/gh/catAjjxx/updateFileTypeIndex.jsp
+++ b/src/main/webapp/WEB-INF/view/gh/catAjjxx/updateFileTypeIndex.jsp
@@ -96,13 +96,24 @@
 <div class="margin-lr">
     <div class="pt-main-top clear">
         <div class="pt-nav">
-				<span class="pt-title-icon"> <i class="fa fa-upload"></i>
+            <c:if test="${type==0}">
+                <span class="pt-title-icon"> <i class="fa fa-upload"></i>
 				</span>
-            <div class="pt-title">
-                <div>
-                    <h4>淇敼鏂囦欢绫诲瀷</h4>
+                <div class="pt-title">
+                    <div>
+                        <h4>淇敼鏂囦欢绫诲瀷</h4>
+                    </div>
                 </div>
-            </div>
+            </c:if>
+            <c:if test="${type==1}">
+                <span class="pt-title-icon"> <i class="fa fa-upload"></i>
+				</span>
+                <div class="pt-title">
+                    <div>
+                        <h4>娣诲姞鍒版垚鏋滆祫鏂�</h4>
+                    </div>
+                </div>
+            </c:if>
         </div>
     </div>
     <div class="pt-form">
@@ -123,7 +134,14 @@
                             </div>
                         </td>
                     </tr>
-
+                    <c:if test="${type==1}">
+                        <tr>
+                            <td class="tbtitle">璇疯緭鍏ユ坊鍔犵殑鏁伴噺锛�</td>
+                            <td>
+                                <input class="easyui-textbox" id="returnOpinion" type="text" style="width: 300px;height: 30px;"/>
+                            </td>
+                        </tr>
+                    </c:if>
                 </table>
                 <div class="progress" style="display: none;">
                     <span class="text">0%</span>
@@ -167,6 +185,26 @@
         $("#btnSave").click(function () {
             var wjlx = $("#WJLX").combobox("getValue");
             var idList = params.ids;
+            <c:if test="${type==1}">
+            var returnOpinion = $("#returnOpinion").textbox("getValue");
+            var _jsonData = new Object();
+            _jsonData["ids"] = idList;
+            _jsonData["returnOpinion"] = returnOpinion;
+            _jsonData["wjlx"] = wjlx;
+            wcp.ui.setBusy("body", wcp.ajax({
+                url: 'catYswjxx/addCg?moduleId=${moduleId}',
+                data: JSON.stringify(_jsonData)
+            }).done(function (result) {
+                //鍒ゆ柇鏄惁闇�瑕佹墽琛屽洖璋冨嚱鏁�
+                if (params.callBack) {
+                    params.callBack();
+                }
+                //鍏抽棴绐楀彛
+                closeWindow();
+                top.wcp.notify.success("淇濆瓨鎴愬姛锛�");
+            }));
+            </c:if>
+            <c:if test="${type==0}">
             wcp.ui.setBusy("body", wcp.ajax({
                 url: "catYswjxx/updateFileType?fileType=" + wjlx,
                 data: JSON.stringify(idList)
@@ -179,6 +217,7 @@
                 closeWindow();
                 top.wcp.notify.success("淇濆瓨鎴愬姛锛�");
             }));
+            </c:if>
         });
 
         $("#btnClose").click(function () {
@@ -190,7 +229,7 @@
     function initSelectProject() {
         var data = [];
         wcp.ui.setBusy("body", wcp.ajax({
-            url: "catYswjxx/getFileType"
+            url: "catYswjxx/getFileType?type=${type}"
         }).done(function (result) {
             result.forEach(function (item) {
                 var dept = {

--
Gitblit v1.9.1