From 5243b81f4c4d45818c554e0828fe760aee2a057e Mon Sep 17 00:00:00 2001 From: water_xu Date: Thu, 29 Aug 2024 15:50:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E5=91=98=E4=B8=AD=E5=8F=B0=20-=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=9B=91=E7=AE=A1=E7=AB=AF=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=9C=A8=E4=B8=AD=E5=8F=B0=E6=98=BE=E7=A4=BA=E7=9A=84=E6=98=AF?= =?UTF-8?q?=E5=88=86=E5=85=AC=E5=8F=B8=E4=BA=BA=E5=91=98=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98;=20=E5=8E=BB=E6=8E=89=E6=96=B0=E5=A2=9E/=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E7=94=A8=E6=88=B7=E6=97=B6=E7=9A=84=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=90=8D=E6=89=8B=E6=9C=BA=E5=8F=B7=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/group/centerUserInfo/index.vue | 12 ++++++------ src/views/system/group/userCenter/index.vue | 14 +++++++------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/views/system/group/centerUserInfo/index.vue b/src/views/system/group/centerUserInfo/index.vue index e17264a..325eb6f 100644 --- a/src/views/system/group/centerUserInfo/index.vue +++ b/src/views/system/group/centerUserInfo/index.vue @@ -308,12 +308,12 @@ export default { {required: true, message: '角色不能为空', trigger: 'blur'} ], USERNAME: [ - {required: true, message: '用户名不能为空', trigger: 'blur'}, - { - pattern: /^(13[0-9]|14[579]|15[0-3,5-9]|16[6]|17[0135678]|18[0-9]|19[89])\d{8}$/, - message: '用户名需使用手机号码格式' - }, - {validator: hasUser, trigger: 'blur'} + {required: true, message: '用户名不能为空', trigger: 'blur'} + // ,{ + // pattern: /^(13[0-9]|14[579]|15[0-3,5-9]|16[6]|17[0135678]|18[0-9]|19[89])\d{8}$/, + // message: '用户名需使用手机号码格式' + // }, + // {validator: hasUser, trigger: 'blur'} ], NAME: [ {required: true, message: '姓名不能为空', trigger: 'blur'}, diff --git a/src/views/system/group/userCenter/index.vue b/src/views/system/group/userCenter/index.vue index 8bcebea..cf14c79 100644 --- a/src/views/system/group/userCenter/index.vue +++ b/src/views/system/group/userCenter/index.vue @@ -276,12 +276,12 @@ export default { { required: true, message: '角色不能为空', trigger: 'blur' } ], USERNAME: [ - { required: true, message: '用户名不能为空', trigger: 'blur' }, - { - pattern: /^(13[0-9]|14[579]|15[0-3,5-9]|16[6]|17[0135678]|18[0-9]|19[89])\d{8}$/, - message: '用户名需使用手机号码格式' - }, - { validator: hasUser, trigger: 'blur' } + { required: true, message: '用户名不能为空', trigger: 'blur' } + // ,{ + // pattern: /^(13[0-9]|14[579]|15[0-3,5-9]|16[6]|17[0135678]|18[0-9]|19[89])\d{8}$/, + // message: '用户名需使用手机号码格式' + // }, + // { validator: hasUser, trigger: 'blur' } ], NAME: [ { required: true, message: '姓名不能为空', trigger: 'blur' }, @@ -465,7 +465,7 @@ export default { CARD_TYPE_NAME: '身份证', NATION: row.NATION_NAME || '', SEX: row.SEX === '0' ? '男' : '女', - USER_TYPE: '1', + USER_TYPE: '0', ISDELETE: row.ISDELETE != null ? row.ISDELETE : "0" } ).then((data) => {