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