解决身份证隐藏
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
<span class="user-name">{{item.name}}</span>
|
||||
<span class="user-tel">{{item.phone}}</span>
|
||||
</div>
|
||||
<div class="idCard">{{item.idNumber}}</div>
|
||||
<div class="idCard">{{item.idNumber && item.idNumber.replace(/(.{6}).*(.{4})/,"$1********$2")}}</div>
|
||||
<div class="address">{{item.householdAddress}}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<span class="user-name">{{item.name}}</span>
|
||||
<span class="user-tel">{{item.phone}}</span>
|
||||
</div>
|
||||
<div class="idCard">{{item.idNumber}}</div>
|
||||
<div class="idCard">{{item.idNumber && item.idNumber.replace(/(.{6}).*(.{4})/,"$1********$2")}}</div>
|
||||
<div class="address">{{item.householdAddress}}</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -22,7 +22,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
<AiEmpty description="暂无数据" class="emptyWrap" v-if="!list.length"></AiEmpty>
|
||||
<div class="footer" @click="toAddFamily()" v-if="checkType == 2">新增责任家庭</div>
|
||||
<div class="footer" @click="toAddFamily()">新增责任家庭</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -32,7 +32,6 @@ export default {
|
||||
return {
|
||||
list:[],
|
||||
current:1,
|
||||
checkType: '',
|
||||
userId: '',
|
||||
}
|
||||
},
|
||||
@@ -47,15 +46,6 @@ export default {
|
||||
toAddFamily(){
|
||||
uni.navigateTo({url: `./AddFamily?id=${this.userId}`})
|
||||
},
|
||||
isGirdUser() {
|
||||
this.$http.post('/app/appgirdmemberinfo/checkLogOnUser').then((res) => {
|
||||
if (res.code == 0) {
|
||||
if (res.data.checkType) {
|
||||
this.checkType = res.data.checkType
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
},
|
||||
onLoad(option) {
|
||||
this.userId = option.id
|
||||
@@ -68,7 +58,6 @@ export default {
|
||||
this.current = 1
|
||||
this.getList()
|
||||
})
|
||||
this.isGirdUser()
|
||||
},
|
||||
onReachBottom() {
|
||||
this.current = this.current + 1
|
||||
|
||||
Reference in New Issue
Block a user