From cabda12d788eeb6e056113ac8352dfaf972490d9 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期一, 20 十月 2025 17:10:44 +0800
Subject: [PATCH] bug修改,后台新增预约记录,玩湃惠民卡修改二维码参数规则,启动游戏取消校验是否订场校验
---
cloud-server-management/src/main/webapp/static/modular/system/appUser/tAppUser.js | 24 ++++++++++++++----------
1 files changed, 14 insertions(+), 10 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 f4b07fe..b89d9de 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,6 +32,7 @@
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]
@@ -39,7 +40,14 @@
];
};
TQuestion.close = function() {
- parent.layer.close(window.parent.TQuestion.layerIndex);
+ // 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();
}
/**
* 检查是否选中
@@ -63,6 +71,7 @@
* 点击添加
*/
TQuestion.openAdd = function () {
+
var index = layer.open({
type: 2,
title: '添加分类',
@@ -347,10 +356,6 @@
Feng.info("请选择性别")
return;
}
- if($("#salesmanUserName").val()=='' ){
- Feng.info("请选择销售人员")
- return;
- }
$.ajax({
url: Feng.ctxPath + "/appUser/addAppUser" ,
@@ -362,8 +367,10 @@
Feng.error("当前手机号 已被注册")
}else{
window.parent.TQuestion.table.refresh();
+ layer.closeAll('page');
TQuestion.close();
Feng.success("添加成功");
+ window.close();
}
},
@@ -428,10 +435,7 @@
Feng.info("请输入身份证号")
return;
}
- if($("#img").val()=='' ){
- Feng.info("请上传体测表")
- return;
- }
+
$.ajax({
url: Feng.ctxPath + "/appUser/addAppUserStudent" ,
--
Gitblit v1.7.1