Commit 8a992716 authored by tanjuanjuan's avatar tanjuanjuan

添加psn查询

parent 128519ab
......@@ -6,7 +6,7 @@
</template>
</wd-navbar>
<view class="container" v-if="formFlag">
{{model.certno}}
{{completeIDNumber}}
{{psnNo}}
<wd-form ref="form" :model="model" :rules="rules">
<wd-cell-group border>
......@@ -63,6 +63,7 @@
accrymEnd: 1700000001745
})
const psnNo=ref(0)
const completeIDNumber=ref(0)
const pageSize = "10"
const currentPage = "1"
const results = ref([])
......@@ -118,14 +119,14 @@
success(res) {
//获取身份号码
model.certno = res.data?.uIdCardNo.replace(/^(.{6})(?:\w+)(.{4})$/, '\$1******\$2');// eslint-disable-line
completeIDNumber.value=res.data?.uIdCardNo
//获取psn
xma.request({
url: "https://onemoment.gywb.cn/back/one-visit/one-visit/web/ybVisit/ybSgySm2",
method: "POST",
format: "json",
data: {
"biz_content": JSON.stringify({"certno":model.certno,"psnCertType":"01"}),
"biz_content": JSON.stringify({"certno":completeIDNumber,"psnCertType":"01"}),
"url": "/engine/rest/queryPsnInsuByCertnoB"
},
success: (res) => {
......
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