Commit 9e5297c4 authored by tanjuanjuan's avatar tanjuanjuan

添加psn查询

parent 99606d33
......@@ -9,7 +9,7 @@
<wd-form ref="form" :model="model" :rules="rules">
<wd-cell-group border>
<wd-input label="身份证号" prop="certno" v-model="model.certno" clearable placeholder="请输入身份证号"
<wd-input readonly label="身份证号" prop="certno" v-model="model.certno" clearable placeholder="请输入身份证号"
@change="handleIDChange" />
<wd-calendar label="开始日期" :show-confirm="false" prop="accrymBegn" v-model="model.accrymBegn"
......@@ -125,8 +125,8 @@
success(res) {
//获取身份号码
model.certno = res.data?.uIdCardNo.replace(/^(.{6})(?:\w+)(.{4})$/, '\$1******\$2');// eslint-disable-line
//completeIDNumber.value = res.data?.uIdCardNo
completeIDNumber.value=res.data?.uIdCardNo.replace(/^(.{6})(?:\w+)(.{4})$/, '\$1******\$2');
completeIDNumber.value = res.data?.uIdCardNo
//completeIDNumber.value=res.data?.uIdCardNo.replace(/^(.{6})(?:\w+)(.{4})$/, '\$1******\$2');
//获取psn
xma.request({
url: "https://onemoment.gywb.cn/back/one-visit/one-visit/web/ybVisit/ybSgySm2",
......@@ -143,7 +143,7 @@
console.log("goto if")
} else {
setTimeout(()=>{message.alert(res.data?.biz_data?.body?.message)
model.certno=null;
//model.certno=null;
model.accrymBegn=null;
model.accrymEnd=null;
},200)
......
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