|
|
@@ -7,7 +7,7 @@
|
|
|
<CellGroup inset>
|
|
|
<Field v-model="formData.username" name="username" label="姓名" placeholder="请输入用户姓名"
|
|
|
:rules="formRules.username" :readonly="isReadonly" />
|
|
|
- <Field v-model="formData.mobile" name="mobile" readonly label="手机号码" />
|
|
|
+ <Field v-model="formData.mobilephone" name="mobilephone" readonly label="手机号码" />
|
|
|
<Field name="idCardType" label="证件类型" :rules="formRules.cardtype" is-link>
|
|
|
<template #input>
|
|
|
<app-select v-model="formData.cardtype" placeholder="请选择证件类型" :options="getCerTypePersonList()"
|
|
|
@@ -118,7 +118,7 @@ const formRules: { [key in keyof Model.AddAuthReq]?: FieldRule[] } = {
|
|
|
required: true,
|
|
|
message: '请输入用户姓名',
|
|
|
}],
|
|
|
- mobile: [{
|
|
|
+ mobilephone: [{
|
|
|
required: true,
|
|
|
message: '请输入手机号码',
|
|
|
validator: (val) => {
|
|
|
@@ -186,6 +186,6 @@ const onCheckCardNum = () => {
|
|
|
}
|
|
|
|
|
|
onMounted(() => {
|
|
|
- formData.mobile = userStore.userInfo?.mobile2 ?? ''
|
|
|
+ formData.mobilephone = userStore.userInfo?.mobile2 ?? ''
|
|
|
})
|
|
|
</script>
|