From 9486766c806fe1d9e082b2fd02ea1cc558f1b443 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期四, 08 五月 2025 09:21:57 +0800
Subject: [PATCH] bug修改

---
 cloud-server-management/src/main/webapp/static/modular/system/appUser/tAppUser.js |   35 +++++++++++++++++++++++------------
 1 files changed, 23 insertions(+), 12 deletions(-)

diff --git a/cloud-server-management/src/main/webapp/static/modular/system/appUser/tAppUser.js b/cloud-server-management/src/main/webapp/static/modular/system/appUser/tAppUser.js
index 20495c9..3c3ed88 100644
--- a/cloud-server-management/src/main/webapp/static/modular/system/appUser/tAppUser.js
+++ b/cloud-server-management/src/main/webapp/static/modular/system/appUser/tAppUser.js
@@ -32,13 +32,23 @@
                 return {1:"是",0:"否"}[data]
             }
         },
+        {title: '注册时间', field: 'insertTime', visible: true, align: 'center', valign: 'middle'},
         {title: '状态', field: 'state', visible: true, align: 'center', valign: 'middle',
             formatter:function (data) {
                 return {1:"正常",2:"冻结",3:"已注销"}[data]
             }}
     ];
 };
+TQuestion.close = function() {
+    // window.parent.layer.close();
+    var index = parent.layer.getFrameIndex(window.name);
+    parent.layer.close(index);
 
+
+    // parent.layer.close(window.parent.parent.TQuestion.layerIndex);
+    // console.log("======"+window.parent.TQuestion.layerIndex)
+    // window.close();
+}
 /**
  * 检查是否选中
  */
@@ -61,6 +71,7 @@
  * 点击添加
  */
 TQuestion.openAdd = function () {
+
     var index = layer.open({
         type: 2,
         title: '添加分类',
@@ -360,8 +371,10 @@
                 Feng.error("当前手机号 已被注册")
             }else{
                 window.parent.TQuestion.table.refresh();
+                layer.closeAll('page');
                 TQuestion.close();
                 Feng.success("添加成功");
+                window.close();
             }
 
         },
@@ -537,9 +550,7 @@
     TQuestion.table.refresh({query: queryData});
 };
 
-TQuestion.close = function() {
-    parent.layer.close(window.parent.TQuestion.layerIndex);
-}
+
 /**
  * 重置搜索
  */
@@ -565,14 +576,14 @@
     carPhoto.setUploadBarId("progressBar");
     carPhoto.init();
 
-    //提交信息
-    var ajax = new $ax(Feng.ctxPath + "/operatorUser/mgtShopAuth", function (data) {
-        Feng.success("添加成功!");
-        window.parent.Course.table.refresh();
-        CourseInfo.close();
-    }, function (data) {
-        Feng.error("添加失败!" + data.responseJSON.message + "!");
-    });
-    ajax.start();
+    // //提交信息
+    // var ajax = new $ax(Feng.ctxPath + "/operatorUser/mgtShopAuth", function (data) {
+    //     Feng.success("添加成功!");
+    //     window.parent.Course.table.refresh();
+    //     CourseInfo.close();
+    // }, function (data) {
+    //     Feng.error("添加失败!" + data.responseJSON.message + "!");
+    // });
+    // ajax.start();
 
 });

--
Gitblit v1.7.1