From 38bca9ca2abd2794b41f4420638a9bec9da70607 Mon Sep 17 00:00:00 2001
From: nickchange <126672920+nickchange@users.noreply.github.com>
Date: 星期二, 28 十一月 2023 20:24:51 +0800
Subject: [PATCH] 11.27,9

---
 cloud-server-management/src/main/webapp/static/modular/system/benefits/tBenefitsVideos_edit.js |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/cloud-server-management/src/main/webapp/static/modular/system/benefits/tBenefitsVideos_edit.js b/cloud-server-management/src/main/webapp/static/modular/system/benefits/tBenefitsVideos_edit.js
index 612e13b..d996035 100644
--- a/cloud-server-management/src/main/webapp/static/modular/system/benefits/tBenefitsVideos_edit.js
+++ b/cloud-server-management/src/main/webapp/static/modular/system/benefits/tBenefitsVideos_edit.js
@@ -7,7 +7,9 @@
     table: null,
     layerIndex: -1
 };
-
+TQuestion.close = function() {
+    parent.layer.close(window.parent.TQuestion.layerIndex);
+}
 /**
  * 初始化表格的列
  */
@@ -273,6 +275,8 @@
         data: JSON.stringify(data),
         contentType: "application/json",
         success: function (response) {
+            window.parent.TQuestion.table.refresh();
+            TQuestion.close();
             Feng.success("添加成功");
 
         },
@@ -282,6 +286,9 @@
     });
     TSite.search();
 };
+TQuestion.close = function() {
+    parent.layer.close(window.parent.TQuestion.layerIndex);
+};
 TQuestion.updateSubmit = function(){
     var data = {
         id:null,

--
Gitblit v1.7.1