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

修改实名

parent 7312cbae
......@@ -24,7 +24,7 @@
prop="sfz"
clearable
v-model="formData.sfz"
placeholder="请输入"
readonly
/>
<wd-input
label="手机号"
......@@ -111,14 +111,6 @@ const formData = ref({
const form = ref();
const rules = ref({
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: '请输入手机号' }],
});
const submitForm = () => {
......@@ -174,8 +166,9 @@ onLoad(() => {
encryptDataMap: info.data,
},
success(res) {
console.log(111);
console.log(res.data);
formData.value.xm=res.data.uName;
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