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) => {