居民档案bug
This commit is contained in:
@@ -3,16 +3,16 @@
|
||||
<div class="top">
|
||||
<div class="photos">
|
||||
<img :src="data.resident.photo" alt="" v-if="data.resident.photo" />
|
||||
<img src="./components/img/2.png" alt="" v-else />
|
||||
<img src="./components/img/44.png" alt="" v-else />
|
||||
</div>
|
||||
|
||||
<div class="right">
|
||||
<div class="rightTop">
|
||||
<span class="names">{{ data.resident.name }}</span>
|
||||
|
||||
<span class="householdNames" v-if="data.resident.name == 1">户主</span>
|
||||
<span class="householdNames" v-if="data.resident.householdRelation == 1">户主</span>
|
||||
<span class="householdNames" v-else>
|
||||
{{ $dict.getLabel('householdRelation', data.resident.householdName) }}
|
||||
{{ $dict.getLabel('householdRelation', data.resident.householdRelation) }}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
<div class="contents">
|
||||
<div class="item">
|
||||
<span>家庭地址</span>
|
||||
<span>籍贯</span>
|
||||
<span>{{ data.resident.birthplaceAreaName }}</span>
|
||||
</div>
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
<div class="contents">
|
||||
<div class="item">
|
||||
<span>联系方式</span>
|
||||
<span class="phones">{{ data.resident.phone }}</span>
|
||||
<span class="phones" @click="callPhone(data.resident.phone)">{{ data.resident.phone }}</span>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
@@ -139,6 +139,9 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
callPhone(phone) {
|
||||
uni.makePhoneCall({ phoneNumber: phone })
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user