diff --git a/nezha-fronted/src/components/charts/chart-list.vue b/nezha-fronted/src/components/charts/chart-list.vue index 8b8f38ed1..7c9e52695 100644 --- a/nezha-fronted/src/components/charts/chart-list.vue +++ b/nezha-fronted/src/components/charts/chart-list.vue @@ -10,15 +10,15 @@ } .list-width{ width: 100%; - height: 100%; + /*height: 100%;*/ padding: 0 10px 5px 20px; box-sizing: border-box; overflow: hidden;/*避免鼠标第一次放到曲线时,x轴出现滚动条后消失*/ - &>div { - height: 100%; - overflow-y: auto; - } + /*&>div {*/ + /* height: 100%;*/ + /* overflow-y: auto;*/ + /*}*/ } diff --git a/nezha-fronted/src/components/common/table/nzDataList.vue b/nezha-fronted/src/components/common/table/nzDataList.vue index 7c91dd04f..15f69d3db 100644 --- a/nezha-fronted/src/components/common/table/nzDataList.vue +++ b/nezha-fronted/src/components/common/table/nzDataList.vue @@ -129,6 +129,7 @@ export default { bottomBoxWindow.listResize(vm, e) }, showBottomBox (targetTab, row) { + console.log(targetTab, row) this.bottomBox.targetTab = targetTab this.bottomBox.object = JSON.parse(JSON.stringify(row)) this.bottomBox.showSubList = true diff --git a/nezha-fronted/src/components/common/table/settings/endpointTable.vue b/nezha-fronted/src/components/common/table/settings/endpointTable.vue index 68ce0c5cf..fba010dd3 100644 --- a/nezha-fronted/src/components/common/table/settings/endpointTable.vue +++ b/nezha-fronted/src/components/common/table/settings/endpointTable.vue @@ -132,9 +132,6 @@ export default { } }, methods: { - showBottomBox (project) { - this.$store.commit('currentProjectChange', project) - } }, computed: {} } diff --git a/nezha-fronted/src/components/common/table/special/endpointQueryTab.vue b/nezha-fronted/src/components/common/table/special/endpointQueryTab.vue new file mode 100644 index 000000000..2cc3b032f --- /dev/null +++ b/nezha-fronted/src/components/common/table/special/endpointQueryTab.vue @@ -0,0 +1,522 @@ + + + + diff --git a/nezha-fronted/src/components/page/dashboard/overview/chart.vue b/nezha-fronted/src/components/page/dashboard/overview/chart.vue index a10c833c4..12f4303a2 100644 --- a/nezha-fronted/src/components/page/dashboard/overview/chart.vue +++ b/nezha-fronted/src/components/page/dashboard/overview/chart.vue @@ -504,6 +504,7 @@ export default { }, endLoading: function () { this.$refs.loading.endLoading() + this.chart.resize(); this.$emit('is-loading', false) }, guid () { diff --git a/nezha-fronted/src/components/page/monitor/endpoint/endpointList.vue b/nezha-fronted/src/components/page/monitor/endpoint/endpointList.vue index 523c0211d..b3097ee09 100644 --- a/nezha-fronted/src/components/page/monitor/endpoint/endpointList.vue +++ b/nezha-fronted/src/components/page/monitor/endpoint/endpointList.vue @@ -40,7 +40,7 @@ @edit="edit" @orderBy="tableDataSort" @reload="getTableData" - @showBottomBox="(targetTab, object) => { $refs.dataList.showBottomBox(targetTab, object) }"> + @showBottomBox="(targetTab, item) => { $refs.dataList.showBottomBox(targetTab, item) }">