This commit is contained in:
xiongchengqiang 2020-12-16 15:57:52 +08:00
parent 22e2a330ef
commit 11eed00b8d

View File

@ -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) {