走访慰问
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
<div class="visit-item" v-for="(item, index) in list" :key="index">
|
||||
<div class="visit-item__top">
|
||||
<div class="left">
|
||||
<div class="avatar">{{ item.name.substr(item.name.length - 2) }}</div>
|
||||
<div class="avatar">{{ item.name ? item.name.substr(item.name.length - 2) : '' }}</div>
|
||||
<h2>{{ item.name }}</h2>
|
||||
</div>
|
||||
<span>{{ item.visitTime }}</span>
|
||||
@@ -80,6 +80,9 @@
|
||||
'appSpecialDisableLevel', 'appSpecialDisableType', 'appSpecialHealth', 'appSpecialMarriage', 'appSpecialTypeFive','isReflection','yesOrNo').then(() => {
|
||||
this.getInfo(this.params.id)
|
||||
})
|
||||
this.dict.load('visitCondolenceReality').then(() => {
|
||||
this.getList()
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
@@ -92,6 +95,18 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
getList () {
|
||||
this.instance.post(`/app/appvisitvondolence/list`, null, {
|
||||
params: {
|
||||
applicationId: 1,
|
||||
size: 1000
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.list = res.data.records
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
cancel (isRefresh) {
|
||||
this.$emit('change', {
|
||||
|
||||
Reference in New Issue
Block a user