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

@@ -7,7 +7,7 @@
.dropdown{ .dropdown{
position: absolute; position: absolute;
width: 616px; width: 616px;
padding:5px; padding: 0px;
background-color: $--background-color-empty; background-color: $--background-color-empty;
display: none; display: none;
z-index: 2020; z-index: 2020;
@@ -28,12 +28,13 @@
flex: 1; flex: 1;
width: 0; width: 0;
border-right: 1px solid $--border-color-light; border-right: 1px solid $--border-color-light;
padding-left: 5px; //padding-left: 5px;
} }
.container-item-content{ .container-item-content{
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
padding:5px; padding:5px;
padding-left: 15px;
} }
.container-item-content .container-item-content_label{ .container-item-content .container-item-content_label{
overflow: hidden; overflow: hidden;

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

View File

@@ -65,7 +65,7 @@
</div> </div>
<div class="search-item-value-box" v-else> <div class="search-item-value-box" v-else>
<i v-if="(item.icon&&getPathContent(item.key)!=='--') || item.key === 'pingInfo.rtt'" class="nz-icon" :class="searchItemClass(item)" :style="searchItemStyle(item)"/> <i v-if="(item.icon&&getPathContent(item.key)!=='--') || item.key === 'pingInfo.rtt'" class="nz-icon" :class="searchItemClass(item)" :style="searchItemStyle(item)"/>
<span class="search-item-value" v-if="item.key !== 'pingInfo.rtt' || (item.key === 'pingInfo.rtt'&& alertLabelData.pingInfo&&alertLabelData.pingInfo.status === 'green')"> <span class="search-item-value" v-if="item.key !== 'pingInfo.rtt' || (item.key === 'pingInfo.rtt'&& alertLabelData.pingInfo&&alertLabelData.pingInfo.status == 1)">
{{getPathContent(item.key)}} {{getPathContent(item.key)}}
</span> </span>
</div> </div>