NEZ-1537 fix:修改 asset 修改时间 group内的数据未更新的问题

This commit is contained in:
zhangyu
2022-02-15 11:23:10 +08:00
parent d3592a95f6
commit 1b90f0f9ae
3 changed files with 12 additions and 3 deletions

View File

@@ -492,6 +492,10 @@ export default {
this.filter.end_time = bus.timeFormate(this.searchTime[1], 'YYYY-MM-DD HH:mm:ss')
this.filter.panelId = this.showPanel.id
this.getData(this.filter)
this.$store.dispatch('dispatchPanelTime', {
time: this.searchTime,
nowTimeType: this.nowTimeType
})
}
},
/* 时间条件查询--end */
@@ -724,6 +728,10 @@ export default {
this.onScroll()
document.querySelector('#tableList').addEventListener('mouseenter', this.tableListEnter)
document.querySelector('#tableList').addEventListener('mouseleave', this.tableListLeave)
this.$store.dispatch('dispatchPanelTime', {
time: this.searchTime,
nowTimeType: this.nowTimeType
})
},
watch: {
'filter.searchName' (n, o) {