人员中台 - 修复监管端用户在中台显示的是分公司人员的问题; 去掉新增/编辑用户时的用户名手机号校验
parent
f2bfc5f4c7
commit
5243b81f4c
|
@ -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'},
|
||||
|
|
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue