Commit 1c19c596 authored by 何怡红's avatar 何怡红

修改实名

parent 7312cbae
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
prop="sfz" prop="sfz"
clearable clearable
v-model="formData.sfz" v-model="formData.sfz"
placeholder="请输入" readonly
/> />
<wd-input <wd-input
label="手机号" label="手机号"
...@@ -111,14 +111,6 @@ const formData = ref({ ...@@ -111,14 +111,6 @@ const formData = ref({
const form = ref(); const form = ref();
const rules = ref({ const rules = ref({
xm: [{ required: true, message: '请输入姓名' }], xm: [{ required: true, message: '请输入姓名' }],
sfz: [
{
required: true,
pattern:
/^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,
message: '请输入正确的身份证号',
},
],
sjh: [{ required: true, message: '请输入手机号' }], sjh: [{ required: true, message: '请输入手机号' }],
}); });
const submitForm = () => { const submitForm = () => {
...@@ -174,8 +166,9 @@ onLoad(() => { ...@@ -174,8 +166,9 @@ onLoad(() => {
encryptDataMap: info.data, encryptDataMap: info.data,
}, },
success(res) { success(res) {
console.log(111); formData.value.xm=res.data.uName;
console.log(res.data); formData.value.sfz=res.data.uIdCardNo;
formData.value.sjh=res.data.uMobile;
}, },
}); });
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment