This commit is contained in:
花有清香月有阴
2021-12-23 14:55:22 +08:00
parent a983da61ac
commit 774273d9b2
7 changed files with 54 additions and 9 deletions

View File

@@ -76,6 +76,26 @@
<div class="datas" v-if="data.length > 0">
<div class="datass" v-for="(item, iindex) in data" :key="iindex" @click="toDetailCard(item)">
<div class="left">
<img :src="item.avatar" alt="" v-if="item.photo" />
<img src="./components/img/4.png" alt="" v-else />
</div>
<div class="right">
<div class="rightTop">
{{ item.corpName }}
<span v-if="item.corpFullName" style="color: #3c7fc8; margin-left: 4px">@{{ item.corpFullName }}</span>
</div>
<div class="rightBottom">
<span>
<span>{{ item.name }}</span>
<!-- {{ item.idNumber.replace(/^(\w{6})\w{8}(.*)$/, '$1****$2') }} -->
</span>
<!-- <span>{{ item.phone }}</span> -->
</div>
</div>
<!-- <div class="left">
<img :src="item.photo" alt="" v-if="item.photo" />
<img src="./components/img/4.png" alt="" v-else />
</div>
@@ -87,7 +107,7 @@
<span>{{ item.phone }}</span>
</div>
</div>
</div> -->
</div>
</div>
@@ -240,12 +260,12 @@ export default {
getList() {
this.$http
.post('/app/appresident/list', null, {
.post('/app/wxcp/wxcustomer/list', null, {
params: {
size: 10,
current: this.current,
areaId: this.areaId,
con: this.keyword,
name: this.keyword,
residentType: this.currentPeople == 0 ? '0' : '1',
},
})