评价图片
This commit is contained in:
@@ -87,7 +87,7 @@ export default {
|
||||
},
|
||||
onReachBottom() {
|
||||
if (!this.tabIndex) {
|
||||
uni.$emit('nextList')
|
||||
this.$nextTick(() => this.$refs['List'].nextPage())
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
@@ -145,12 +145,13 @@ export default {
|
||||
statusLabel: this.$dict.getLabel('residentReportDoStatus', e.doStatus)
|
||||
}))
|
||||
if (this.evaluation.id) {
|
||||
const {id, createUserName, score, createTime: doTime, content: doExplain} = this.evaluation
|
||||
const {id, createUserName, score, files, createTime: doTime, content: doExplain} = this.evaluation
|
||||
list.splice(0, 0, {
|
||||
id, doTime, doExplain,
|
||||
statusLabel: `${score}星评价`,
|
||||
avatar: getAvatar(createUserName),
|
||||
systemExplain: `${createUserName}完成评价`
|
||||
systemExplain: `${createUserName}完成评价`,
|
||||
files: files
|
||||
})
|
||||
}
|
||||
return list
|
||||
|
||||
@@ -87,16 +87,11 @@ export default {
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
this.searchGrid.girdId = this.user.girdId
|
||||
this.searchGrid.girdName = this.user.girdName
|
||||
uni.$on('nextList', () => {
|
||||
this.current++
|
||||
this.getList()
|
||||
})
|
||||
|
||||
},
|
||||
onShow() {
|
||||
document.title = '事件上报'
|
||||
this.searchGrid.girdId = this.user.girdId
|
||||
this.searchGrid.girdName = this.user.girdName
|
||||
this.current = 1
|
||||
this.getList()
|
||||
},
|
||||
@@ -110,6 +105,10 @@ export default {
|
||||
this.current = 1
|
||||
this.getList()
|
||||
},
|
||||
nextPage() {
|
||||
this.current++
|
||||
this.getList()
|
||||
},
|
||||
getList() {
|
||||
let {current, eventStatus, searchGrid: {id: girdId}} = this
|
||||
this.$http.post(`/app/appresidentreportinfo/listByGirdMember`, null, {
|
||||
|
||||
Reference in New Issue
Block a user