From 9a044f2f4b810a0f7a3d568998bfd2b13797427e Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期三, 20 八月 2025 14:13:32 +0800
Subject: [PATCH] 8.22后台
---
ManagementOKTravel/guns-admin/src/main/webapp/static/modular/system/tDriver/yesDriver_info.js | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/ManagementOKTravel/guns-admin/src/main/webapp/static/modular/system/tDriver/yesDriver_info.js b/ManagementOKTravel/guns-admin/src/main/webapp/static/modular/system/tDriver/yesDriver_info.js
index 967e57a..5e4c92c 100644
--- a/ManagementOKTravel/guns-admin/src/main/webapp/static/modular/system/tDriver/yesDriver_info.js
+++ b/ManagementOKTravel/guns-admin/src/main/webapp/static/modular/system/tDriver/yesDriver_info.js
@@ -58,9 +58,6 @@
},*/
password: {
validators: {
- notEmpty: {
- message: '密码不能为空'
- },
regexp:{
regexp: /^.{6,18}$/,
message: '密码长度为6-18'
@@ -73,9 +70,6 @@
},
rePassword: {
validators: {
- notEmpty: {
- message: '密码不能为空'
- },
regexp:{
regexp: /^.{6,18}$/,
message: '密码长度为6-18'
@@ -284,6 +278,17 @@
if(!this.validate()){
return ;
}
+
+ // 判断密码
+ if ($('#password').val() == "" || $('#password').val() == null){
+ Feng.info("密码不能为空");
+ return;
+ }
+ if ($('#rePassword').val() == "" || $('#rePassword').val() == null){
+ Feng.info("密码不能为空");
+ return;
+ }
+
// 遍历this.tCarInfoData 如果有值为空字符串或者是undefined 将这个字段剔除
for (var key in this.yesDriverInfoData) {
if (this.yesDriverInfoData[key] == "" || this.yesDriverInfoData[key] == undefined) {
--
Gitblit v1.7.1