From 3c6f6c1e3016e38146a4c46be6e7b625c35591f2 Mon Sep 17 00:00:00 2001
From: zhai <1528081232@qq.com>
Date: 星期四, 18 十二月 2025 11:49:18 +0800
Subject: [PATCH] 1、添加报表 2、修改添加报表报错
---
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