|
@ -138,13 +138,13 @@ const formRules = reactive({ |
|
|
trigger: ['blur', 'change'] |
|
|
trigger: ['blur', 'change'] |
|
|
} |
|
|
} |
|
|
], |
|
|
], |
|
|
mobile: [ |
|
|
// mobile: [ |
|
|
{ |
|
|
// { |
|
|
pattern: /^(?:(?:\+|00)86)?1(?:3[\d]|4[5-79]|5[0-35-9]|6[5-7]|7[0-8]|8[\d]|9[189])\d{8}$/, |
|
|
// pattern: /^(?:(?:\+|00)86)?1(?:3[\d]|4[5-79]|5[0-35-9]|6[5-7]|7[0-8]|8[\d]|9[189])\d{8}$/, |
|
|
message: '请输入正确的手机号码', |
|
|
// message: '请输入正确的手机号码', |
|
|
trigger: 'blur' |
|
|
// trigger: 'blur' |
|
|
} |
|
|
// } |
|
|
] |
|
|
// ] |
|
|
}) |
|
|
}) |
|
|
const formRef = ref() // 表单 Ref |
|
|
const formRef = ref() // 表单 Ref |
|
|
const deptList = ref<Tree[]>([]) // 树形结构 |
|
|
const deptList = ref<Tree[]>([]) // 树形结构 |
|
|