Commit 9e5297c4 authored by tanjuanjuan's avatar tanjuanjuan

添加psn查询

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