From d5481139f31ec7c1a1e793a465e4e969b869b5a9 Mon Sep 17 00:00:00 2001
From: luo <2855143437@qq.com>
Date: 星期二, 26 九月 2023 22:56:41 +0800
Subject: [PATCH] 9.26。11
---
cloud-server-management/src/main/webapp/static/modular/system/benefits/TBenefits.js | 16 +++++++++++++---
1 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/cloud-server-management/src/main/webapp/static/modular/system/benefits/TBenefits.js b/cloud-server-management/src/main/webapp/static/modular/system/benefits/TBenefits.js
index ec2ea1b..3151938 100644
--- a/cloud-server-management/src/main/webapp/static/modular/system/benefits/TBenefits.js
+++ b/cloud-server-management/src/main/webapp/static/modular/system/benefits/TBenefits.js
@@ -29,7 +29,12 @@
}}
];
};
-
+/**
+ * 关闭此对话框
+ */
+TQuestion.close = function() {
+ parent.layer.close(window.parent.TQuestion.layerIndex);
+}
/**
* 检查是否选中
*/
@@ -266,6 +271,8 @@
data: JSON.stringify(data),
contentType: "application/json",
success: function (response) {
+ window.parent.TQuestion.table.refresh();
+ TQuestion.close();
Feng.success("添加成功");
},
@@ -273,7 +280,7 @@
Feng.error("添加失败!" + error);
}
});
- TSite.search();
+
};
TQuestion.updateSubmit = function(){
var data = {
@@ -304,14 +311,17 @@
data: JSON.stringify(data),
contentType: "application/json",
success: function (response) {
+ window.parent.TQuestion.table.refresh();
+ TQuestion.close();
Feng.success("添加成功");
},
error: function (xhr, status, error) {
Feng.error("添加失败!" + error);
}
});
- TSite.search();
+
};
+
/**
* 查询列表
*/
--
Gitblit v1.7.1