Browse Source

苹果浏览器图标丢失,房屋脱敏隐藏

feature
mk 3 years ago
parent
commit
0152fbdc23
  1. 2
      src/assets/scss/common.scss
  2. 2
      src/assets/scss/variables.scss
  3. 4
      src/views/components/resiInfo.vue
  4. 24
      src/views/modules/base/community/roomDetail.vue
  5. 32
      src/views/modules/shequ/chaxun.vue

2
src/assets/scss/common.scss

@ -440,7 +440,7 @@ img {
img { img {
position: relative; position: relative;
display: block; display: block;
left: -100px; // left: -100px;
width: 24px; width: 24px;
height: 24px; height: 24px;
filter: drop-shadow(100px 0px rgba(#000, 0.85)); filter: drop-shadow(100px 0px rgba(#000, 0.85));

2
src/assets/scss/variables.scss

@ -5,7 +5,7 @@ $base--line-height: 1.15;
$navbar--height: 64px; $navbar--height: 64px;
// Sidebar // Sidebar
$sidebar--width: 230px; $sidebar--width: 251px;
$sidebar--width-fold: 64px; $sidebar--width-fold: 64px;
$sidebar--background-color-dark: #263238; $sidebar--background-color-dark: #263238;
$sidebar--text-color-dark: #8a979e; $sidebar--text-color-dark: #8a979e;

4
src/views/components/resiInfo.vue

@ -37,7 +37,7 @@
<div class="f-label">联系电话:</div> <div class="f-left8 f-font-color"> <div class="f-label">联系电话:</div> <div class="f-left8 f-font-color">
{{resiDetailObj.showMobile?resiDetailObj.showMobile:resiDetailObj.mobile?`${resiDetailObj.mobile.substr(0,3)}`+ "****" +`${resiDetailObj.mobile.substr(7,5)}`:'--'}} {{resiDetailObj.showMobile?resiDetailObj.showMobile:resiDetailObj.mobile?`${resiDetailObj.mobile.substr(0,3)}`+ "****" +`${resiDetailObj.mobile.substr(7,5)}`:'--'}}
</div> </div>
<img v-show="this.showFlagMobileBtn" src="../../assets/img/yanjing1.png" alt="" width="14px" style="margin-left: 10px"> <img v-show="this.showFlagMobileBtn && resiDetailObj.mobile" src="../../assets/img/yanjing1.png" alt="" width="14px" style="margin-left: 10px">
<img v-show="!this.showFlagMobileBtn" src="../../assets/img/yanjing2.png" alt="" width="14px" style="margin-left: 10px"> <img v-show="!this.showFlagMobileBtn" src="../../assets/img/yanjing2.png" alt="" width="14px" style="margin-left: 10px">
<el-button v-if="resiDetailObj.mobile" <el-button v-if="resiDetailObj.mobile"
type="text" type="text"
@ -49,7 +49,7 @@
<div class="f-label">证件号: </div> <div class="f-label">证件号: </div>
<div class="f-left8 f-font-color">{{resiDetailObj.showIdNum?resiDetailObj.showIdNum:resiDetailObj.idNum?`${resiDetailObj.idNum.substr(0, 11)}` +"******" +`${resiDetailObj.idNum.substr(16, 2)}`:'--'}} <div class="f-left8 f-font-color">{{resiDetailObj.showIdNum?resiDetailObj.showIdNum:resiDetailObj.idNum?`${resiDetailObj.idNum.substr(0, 11)}` +"******" +`${resiDetailObj.idNum.substr(16, 2)}`:'--'}}
</div> </div>
<img v-show="this.showFlagIdCardBtn" src="../../assets/img/yanjing1.png" alt="" width="14px" style="margin-left: 10px"> <img v-show="this.showFlagIdCardBtn &&resiDetailObj.idNum" src="../../assets/img/yanjing1.png" alt="" width="14px" style="margin-left: 10px">
<img v-show="!this.showFlagIdCardBtn" src="../../assets/img/yanjing2.png" alt="" width="14px" style="margin-left: 10px"> <img v-show="!this.showFlagIdCardBtn" src="../../assets/img/yanjing2.png" alt="" width="14px" style="margin-left: 10px">
<el-button v-if="resiDetailObj.idNum" <el-button v-if="resiDetailObj.idNum"

24
src/views/modules/base/community/roomDetail.vue

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

32
src/views/modules/shequ/chaxun.vue

@ -8,13 +8,13 @@
<div class="tabs"> <div class="tabs">
<div <div
:class="{ 'z-on': searchData.type == 'jumin' }" :class="searchData.type == 'jumin'?'z-on':''"
@click="handelClickTab('jumin')" @click="handelClickTab('jumin')"
> >
查居民 查居民
</div> </div>
<div <div
:class="{ 'z-on': searchData.type == 'fangwu' }" :class="searchData.type == 'fangwu'?'z-on':''"
@click="handelClickTab('fangwu')" @click="handelClickTab('fangwu')"
> >
查房屋 查房屋
@ -959,24 +959,24 @@ export default {
} }
&.z-on { &.z-on {
color: #ffffff; color: #ffffff;
background: $c1; background: #0056d6;
&:hover { &:hover {
color: #ffffff; color: #ffffff;
} }
&::after { // &::after {
content: ""; // content: "";
display: block; // display: block;
position: absolute; // position: absolute;
bottom: -10px; // bottom: -10px;
left: 0; // left: 0;
right: 0; // right: 0;
margin: 0 auto; // margin: 0 auto;
width: 0; // width: 0;
height: 0; // height: 0;
border: 5px solid transparent; // border: 5px solid transparent;
border-top: 5px solid $c1; // border-top: 5px solid $c1;
} // }
} }
} }
} }

Loading…
Cancel
Save