BUG 25790
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
<div class="item" v-for="(item, index) in list" :key="index">
|
<div class="item" v-for="(item, index) in list" :key="index">
|
||||||
<div class="item-content" @click="toDetail(item.id)">
|
<div class="item-content" @click="toDetail(item.id)">
|
||||||
<p class="title line-two">{{ item.communityName }}</p>
|
<p class="title line-two">{{ item.communityName }}</p>
|
||||||
<p class="address">{{ item.createAddress }}</p>
|
<p class="address">{{ item.cellName }}</p>
|
||||||
<span class="status" :class="'color'+item.locationStatus"
|
<span class="status" :class="'color'+item.locationStatus"
|
||||||
v-text="$dict.getLabel('BuildLocationStatus', item.locationStatus)"/>
|
v-text="$dict.getLabel('BuildLocationStatus', item.locationStatus)"/>
|
||||||
</div>
|
</div>
|
||||||
@@ -49,7 +49,10 @@ export default {
|
|||||||
communityName: this.title
|
communityName: this.title
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code == 0) {
|
if (res?.data) {
|
||||||
|
res.data.records.forEach(e => {
|
||||||
|
e.cellName = `${e.communityName + e.buildingNumber}栋${e.unitNumber}单元`
|
||||||
|
})
|
||||||
if (this.current > 1 && this.current > res.data.pages) {
|
if (this.current > 1 && this.current > res.data.pages) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user