diff --git a/nezha-fronted/src/assets/css/components/common/rightBox/locationCascader.scss b/nezha-fronted/src/assets/css/components/common/rightBox/locationCascader.scss index 24deeb462..6f7e6cca1 100644 --- a/nezha-fronted/src/assets/css/components/common/rightBox/locationCascader.scss +++ b/nezha-fronted/src/assets/css/components/common/rightBox/locationCascader.scss @@ -7,7 +7,7 @@ .dropdown{ position: absolute; width: 616px; - padding:5px; + padding: 0px; background-color: $--background-color-empty; display: none; z-index: 2020; @@ -28,12 +28,13 @@ flex: 1; width: 0; border-right: 1px solid $--border-color-light; - padding-left: 5px; + //padding-left: 5px; } .container-item-content{ display: flex; justify-content: space-between; padding:5px; + padding-left: 15px; } .container-item-content .container-item-content_label{ overflow: hidden; diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue b/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue index 7325f40d6..8119960b9 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue @@ -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) { diff --git a/nezha-fronted/src/components/common/globalSearch/searchItemInfo.vue b/nezha-fronted/src/components/common/globalSearch/searchItemInfo.vue index 63f74caef..03c59b7be 100644 --- a/nezha-fronted/src/components/common/globalSearch/searchItemInfo.vue +++ b/nezha-fronted/src/components/common/globalSearch/searchItemInfo.vue @@ -65,7 +65,7 @@