|
|
@ -44,26 +44,26 @@ |
|
|
|
<span class="info-mingan">{{ |
|
|
|
dataForm.showOwnerPhone ? dataForm.showOwnerPhone : "--" |
|
|
|
}}</span> |
|
|
|
<img v-show="showFlagMobileBtn &&dataForm.showOwnerPhone" 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" |
|
|
|
style="margin-left: 10px" |
|
|
|
type="text" |
|
|
|
class="div-table-button--blue" |
|
|
|
icon="el-icon-view" |
|
|
|
size="small" |
|
|
|
@click="handleTuomin('phone')">显示</el-button> |
|
|
|
@click="handleTuomin('phone')">{{this.showFlagMobileBtn == true?'显示':'隐藏'}}</el-button> |
|
|
|
</div> |
|
|
|
<div class="m-info-prop"> |
|
|
|
<span class="u-info-title u-info-title-80">证件号:</span> |
|
|
|
<span class="info-mingan">{{ |
|
|
|
dataForm.showOwnerIdCard ? dataForm.showOwnerIdCard : "--" |
|
|
|
}}</span> |
|
|
|
<img v-show="showFlagIdCardBtn &&dataForm.showOwnerIdCard" 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" |
|
|
|
style="margin-left: 10px" |
|
|
|
type="text" |
|
|
|
class="div-table-button--blue" |
|
|
|
icon="el-icon-view" |
|
|
|
size="small" |
|
|
|
@click="handleTuomin('idcard')">显示</el-button> |
|
|
|
@click="handleTuomin('idcard')">{{this.showFlagIdCardBtn?'显示':'隐藏'}}</el-button> |
|
|
|
</div> |
|
|
|
<div class="m-info-prop"> |
|
|
|
<span class="u-info-title u-info-title-80">备注:</span> |
|
|
@ -133,8 +133,10 @@ export default { |
|
|
|
sysCoding: "", |
|
|
|
neighborHoodName: "", |
|
|
|
buildingName: "", |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
showFlagIdCardBtn:true, |
|
|
|
showFlagMobileBtn:true, |
|
|
|
keyWords: "", |
|
|
|
}; |
|
|
|
}, |
|
|
@ -169,9 +171,17 @@ export default { |
|
|
|
if (code === 0) { |
|
|
|
if (type === "phone") { |
|
|
|
this.$set(this.dataForm, "showOwnerPhone", data.mobile); |
|
|
|
this.showFlagMobileBtn = !this.showFlagMobileBtn |
|
|
|
if(this.showFlagMobileBtn){ |
|
|
|
this.$set(this.dataForm, 'showOwnerPhone', data.mobile.substr(0,3) +'****'+ data.mobile.substr(7,4) ) |
|
|
|
} |
|
|
|
} |
|
|
|
if (type === "idcard") { |
|
|
|
this.$set(this.dataForm, "showOwnerIdCard", data.idCard); |
|
|
|
this.showFlagIdCardBtn = !this.showFlagIdCardBtn |
|
|
|
if(this.showFlagIdCardBtn){ |
|
|
|
this.$set(this.dataForm, 'showOwnerIdCard', data.idCard.substr(0,11) +'****'+ data.idCard.substr(16,2) ) |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
this.$message.error(msg); |
|
|
|