From 94d774ee91be8785b03a8b59d694c3f412dd92ab Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期五, 29 八月 2025 09:18:29 +0800
Subject: [PATCH] update
---
cloud-server-management/src/main/webapp/static/modular/system/appUser/tAppUser.js | 37 ++++++++++++++++++++++++-------------
1 files changed, 24 insertions(+), 13 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..58ff471 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
@@ -23,7 +23,7 @@
{title: '生日', field: 'birthday', visible: true, align: 'center', valign: 'middle'},
{title: '性别', field: 'gender', visible: true, align: 'center', valign: 'middle',
formatter:function (data) {
- return {1:"男",2:"女"}[data]
+ return {0:"男",1:"男",2:"女"}[data]
}
},
{title: '销售人员', field: 'salesmanUserName', visible: true, align: 'center', valign: 'middle'},
@@ -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