换接口

This commit is contained in:
shijingjing
2022-10-12 11:22:16 +08:00
parent 02ad912923
commit 6a42912106

View File

@@ -515,17 +515,14 @@ export default {
// 获取个人信息 // 获取个人信息
getOwnerInfo(idNumber) { getOwnerInfo(idNumber) {
this.$instance.post(`/app/appepidemicpreventionregisterinfo/list`, null, { this.$instance.post(`/app/appepidemicpreventionregisterinfo/queryDetailByIdNumber`, null, {
params: { params: {
idNumber: idNumber, idNumber: idNumber,
current: this.current,
size: 10,
infoType: '0',
} }
}).then(res => { }).then(res => {
if(res?.data) { if(res?.data) {
this.form.name = res.data.records?.[0]?.name || '' this.form.name = res.data.name || ''
this.form.phone = res.data.records?.[0]?.phone || '' this.form.phone = res.data.phone || ''
} }
}) })
}, },