28159
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
<div class="rightTop">
|
||||
<div class="rightTop-lefts">
|
||||
<span class="names">{{ item.name }}</span>
|
||||
<span class="fileStatuss" v-if="item.fileStatus == 1"> {{ $dict.getLabel('fileStatus', item.fileStatus) }}</span>
|
||||
<span class="fileStatuss" v-if="item.fileStatus == 1"> 已注销</span>
|
||||
<span class="householdNames" v-if="item.householdName == 1">户主</span>
|
||||
<span class="householdNames" v-else>
|
||||
{{ $dict.getLabel('householdRelation', item.householdRelation) }}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<div class="right">
|
||||
<div class="rightTop">
|
||||
<span class="names">{{ data.resident && data.resident.name }}</span>
|
||||
<span class="names">{{ data.resident && data.resident.name }}<span v-if="data.fileStatus == 1" class="fileStatuss"> 已注销 </span></span>
|
||||
<span class="householdNames" v-if="data.resident && data.resident.householdName == 1">户主</span>
|
||||
<span class="householdNames" v-else>
|
||||
{{ $dict.getLabel('householdRelation', data.resident && data.resident.householdRelation) }}
|
||||
@@ -140,7 +140,7 @@ export default {
|
||||
onLoad(o) {
|
||||
this.id = o.id
|
||||
this.type = o.type
|
||||
this.$dict.load('householdRelation', 'nation', 'education', 'maritalStatus', 'politicsStatus', 'militaryStatus', 'faithType', 'job').then(() => {
|
||||
this.$dict.load('householdRelation', 'nation', 'education', 'maritalStatus', 'politicsStatus', 'militaryStatus', 'faithType', 'job', 'fileStatus').then(() => {
|
||||
this.getDetail()
|
||||
})
|
||||
uni.$on('updatePeople', res => {
|
||||
@@ -207,6 +207,19 @@ export default {
|
||||
.rightTop {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.fileStatuss {
|
||||
display: inline-block;
|
||||
margin-left: 30px;
|
||||
color: #ff4466;
|
||||
background: #ffecef;
|
||||
border-radius: 8px;
|
||||
width: 120px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
text-align: center;
|
||||
font-weight: 400;
|
||||
font-size: 28px;
|
||||
}
|
||||
.names {
|
||||
font-size: 32px;
|
||||
font-weight: 600;
|
||||
|
||||
Reference in New Issue
Block a user