优化
This commit is contained in:
parent
22e2a330ef
commit
11eed00b8d
@ -368,12 +368,10 @@ export default {
|
||||
this.pinglunForm = {}
|
||||
},
|
||||
handleCheckStaffIds (list) {
|
||||
console.log('🚀 ~ file: process.vue ~ line 321 ~ handleCheckStaffIds ~ list', list)
|
||||
this.staffList = list
|
||||
this.isShow = false
|
||||
this.$nextTick(() => {
|
||||
const pingList = this.$refs.pingList
|
||||
pingList.scrollTop = pingList.scrollHeight
|
||||
this.handleScroll()
|
||||
})
|
||||
},
|
||||
handleCloseItem (item) {
|
||||
@ -390,10 +388,9 @@ export default {
|
||||
this.$message.error(res.msg)
|
||||
return
|
||||
}
|
||||
this.nowPingLunList = res.data.list.reverse()
|
||||
this.nowPingLunList = res.data.list
|
||||
this.$nextTick(() => {
|
||||
const pingList = this.$refs.pingList
|
||||
pingList.scrollTop = pingList.scrollHeight
|
||||
this.handleScroll()
|
||||
})
|
||||
},
|
||||
// 发送评论
|
||||
@ -423,10 +420,13 @@ export default {
|
||||
})
|
||||
this.dialogFormVisible = false
|
||||
this.pinglunForm = Object.assign({}, item)
|
||||
const pingList = this.$refs.pingList
|
||||
pingList.scrollTop = pingList.scrollHeight
|
||||
this.handleScroll()
|
||||
this.$refs.input.focus()
|
||||
},
|
||||
handleScroll () {
|
||||
const pingList = this.$refs.pingList
|
||||
pingList.scrollTop = 0
|
||||
},
|
||||
// 获取当前任务的评论
|
||||
async handleShowAll (i) {
|
||||
if (i.showTask) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user