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 | 41 ++++++++++++++++++++++++++++-------------
1 files changed, 28 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 07704cd..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
@@ -15,7 +15,7 @@
TQuestion.initColumn = function () {
return [
{field: 'selectItem', checkbox: true},
- {title: 'id', field: 'id', visible: false, align: 'center', valign: 'middle'},
+ {title: '序号', field: 'id', visible: true, align: 'center', valign: 'middle'},
{title: '省', field: 'province', visible: roleType==1?true:false, align: 'center', valign: 'middle'},
{title: '市', field: 'city', visible: roleType==1?true:false, align: 'center', valign: 'middle'},
{title: '姓名', field: 'name', visible: true, align: 'center', valign: 'middle'},
@@ -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: '添加分类',
@@ -345,10 +356,6 @@
Feng.info("请选择性别")
return;
}
- if($("#salesmanUserName").val()=='' ){
- Feng.info("请选择销售人员")
- return;
- }
$.ajax({
url: Feng.ctxPath + "/appUser/addAppUser" ,
@@ -360,8 +367,10 @@
Feng.error("当前手机号 已被注册")
}else{
window.parent.TQuestion.table.refresh();
+ layer.closeAll('page');
TQuestion.close();
Feng.success("添加成功");
+ window.close();
}
},
@@ -426,10 +435,7 @@
Feng.info("请输入身份证号")
return;
}
- if($("#img").val()=='' ){
- Feng.info("请上传体测表")
- return;
- }
+
$.ajax({
url: Feng.ctxPath + "/appUser/addAppUserStudent" ,
@@ -537,9 +543,7 @@
TQuestion.table.refresh({query: queryData});
};
-TQuestion.close = function() {
- parent.layer.close(window.parent.TQuestion.layerIndex);
-}
+
/**
* 重置搜索
*/
@@ -564,4 +568,15 @@
var carPhoto = new $WebUpload("img");
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();
+
});
--
Gitblit v1.7.1