|
|
|
@ -42,11 +42,11 @@ |
|
|
|
<div class="m-info-prop"> |
|
|
|
<span class="u-info-title u-info-title-80">联系电话:</span> |
|
|
|
<span class="info-mingan">{{ |
|
|
|
dataForm.showOwnerPhone ? dataForm.showOwnerPhone : "--" |
|
|
|
dataForm.ownerPhone ? dataForm.ownerPhone : "--" |
|
|
|
}}</span> |
|
|
|
<img v-show="showFlagMobileBtn &&dataForm.showOwnerPhone" src="../../../../assets/img/yanjing1.png" alt="" style="margin-left: 10px"> |
|
|
|
<img v-show="showFlagMobileBtn &&dataForm.ownerPhone" src="../../../../assets/img/yanjing1.png" alt="" style="margin-left: 10px"> |
|
|
|
<img v-show="!showFlagMobileBtn" src="../../../../assets/img/yanjing2.png" alt="" style="margin-left: 10px"> |
|
|
|
<el-button v-if="view_real_data && dataForm.showOwnerPhone" |
|
|
|
<el-button v-if="view_real_data && dataForm.ownerPhone" |
|
|
|
type="text" |
|
|
|
class="div-table-button--blue" |
|
|
|
size="small" |
|
|
|
@ -55,11 +55,11 @@ |
|
|
|
<div class="m-info-prop"> |
|
|
|
<span class="u-info-title u-info-title-80">证件号:</span> |
|
|
|
<span class="info-mingan">{{ |
|
|
|
dataForm.showOwnerIdCard ? dataForm.showOwnerIdCard : "--" |
|
|
|
dataForm.ownerIdCard ? dataForm.ownerIdCard : "--" |
|
|
|
}}</span> |
|
|
|
<img v-show="showFlagIdCardBtn &&dataForm.showOwnerIdCard" src="../../../../assets/img/yanjing1.png" alt="" width="14px" style="margin-left: 10px"> |
|
|
|
<img v-show="showFlagIdCardBtn &&dataForm.ownerIdCard" src="../../../../assets/img/yanjing1.png" alt="" width="14px" style="margin-left: 10px"> |
|
|
|
<img v-show="!showFlagIdCardBtn" src="../../../../assets/img/yanjing2.png" alt="" width="14px" style="margin-left: 10px"> |
|
|
|
<el-button v-if="view_real_data && dataForm.showOwnerIdCard" |
|
|
|
<el-button v-if="view_real_data && dataForm.ownerIdCard" |
|
|
|
type="text" |
|
|
|
class="div-table-button--blue" |
|
|
|
size="small" |
|
|
|
@ -161,23 +161,24 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
async handleTuomin (type) { |
|
|
|
const url = `/actual/base/communityHouse/getHouseInfoById/${this.houseId}`; |
|
|
|
const url = `/actual/base/communityHouse/getClearHouseDeatilById/${this.houseId}`; |
|
|
|
|
|
|
|
const { data, code, msg } = await requestPost(url); |
|
|
|
|
|
|
|
if (code === 0) { |
|
|
|
console.log(data); |
|
|
|
if (type === "phone") { |
|
|
|
this.$set(this.dataForm, "showOwnerPhone", data.showOwnerPhone); |
|
|
|
this.$set(this.dataForm, "ownerPhone", data.ownerPhone); |
|
|
|
this.showFlagMobileBtn = !this.showFlagMobileBtn |
|
|
|
if(this.showFlagMobileBtn){ |
|
|
|
this.$set(this.dataForm, 'showOwnerPhone', data.showOwnerPhone.substr(0,3) +'****'+ data.showOwnerPhone.substr(7,4) ) |
|
|
|
this.$set(this.dataForm, 'ownerPhone', data.ownerPhone.substr(0,3) +'****'+ data.ownerPhone.substr(7,4) ) |
|
|
|
} |
|
|
|
} |
|
|
|
if (type === "idcard") { |
|
|
|
this.$set(this.dataForm, "showOwnerIdCard", data.showOwnerIdCard); |
|
|
|
this.$set(this.dataForm, "ownerIdCard", data.ownerIdCard); |
|
|
|
this.showFlagIdCardBtn = !this.showFlagIdCardBtn |
|
|
|
if(this.showFlagIdCardBtn){ |
|
|
|
this.$set(this.dataForm, 'showOwnerIdCard', data.showOwnerIdCard.substr(0,11) +'****'+ data.showOwnerIdCard.substr(16,2) ) |
|
|
|
this.$set(this.dataForm, 'ownerIdCard', data.ownerIdCard.substr(0,11) +'****'+ data.ownerIdCard.substr(16,2) ) |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
|