|
|
@ -161,26 +161,23 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
async handleTuomin (type) { |
|
|
|
const url = "/data/aggregator/epmetuser/detailByType"; |
|
|
|
const url = `/actual/base/communityHouse/getHouseInfoById/${this.houseId}`; |
|
|
|
|
|
|
|
const { data, code, msg } = await requestPost(url, { |
|
|
|
id: this.houseId, |
|
|
|
type: "checkHouse", |
|
|
|
}); |
|
|
|
const { data, code, msg } = await requestPost(url); |
|
|
|
|
|
|
|
if (code === 0) { |
|
|
|
if (type === "phone") { |
|
|
|
this.$set(this.dataForm, "showOwnerPhone", data.mobile); |
|
|
|
this.$set(this.dataForm, "showOwnerPhone", data.showOwnerPhone); |
|
|
|
this.showFlagMobileBtn = !this.showFlagMobileBtn |
|
|
|
if(this.showFlagMobileBtn){ |
|
|
|
this.$set(this.dataForm, 'showOwnerPhone', data.mobile.substr(0,3) +'****'+ data.mobile.substr(7,4) ) |
|
|
|
this.$set(this.dataForm, 'showOwnerPhone', data.showOwnerPhone.substr(0,3) +'****'+ data.showOwnerPhone.substr(7,4) ) |
|
|
|
} |
|
|
|
} |
|
|
|
if (type === "idcard") { |
|
|
|
this.$set(this.dataForm, "showOwnerIdCard", data.idCard); |
|
|
|
this.$set(this.dataForm, "showOwnerIdCard", data.showOwnerIdCard); |
|
|
|
this.showFlagIdCardBtn = !this.showFlagIdCardBtn |
|
|
|
if(this.showFlagIdCardBtn){ |
|
|
|
this.$set(this.dataForm, 'showOwnerIdCard', data.idCard.substr(0,11) +'****'+ data.idCard.substr(16,2) ) |
|
|
|
this.$set(this.dataForm, 'showOwnerIdCard', data.showOwnerIdCard.substr(0,11) +'****'+ data.showOwnerIdCard.substr(16,2) ) |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|