From 42a7d3edd688d5673749cfe3845392ae6b42d95b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=8A=B2=E6=9D=BE?= <523037378@qq.com> Date: Mon, 10 Feb 2020 16:50:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20endpoint-query=20=E5=A2=9E=E5=8A=A0save?= =?UTF-8?q?=20chart=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1.endpoint-query 增加save chart功能 --- nezha-fronted/src/assets/stylus/main.scss | 3 + .../src/components/charts/chart-list.vue | 1 - .../components/page/dashboard/chartBox.vue | 31 ++++++-- .../components/page/dashboard/chartMetric.vue | 2 +- .../src/components/page/project/project.vue | 72 ++++++++++++++++--- 5 files changed, 93 insertions(+), 16 deletions(-) diff --git a/nezha-fronted/src/assets/stylus/main.scss b/nezha-fronted/src/assets/stylus/main.scss index bde3c25aa..8aed3f7d8 100644 --- a/nezha-fronted/src/assets/stylus/main.scss +++ b/nezha-fronted/src/assets/stylus/main.scss @@ -730,6 +730,9 @@ li{ position: absolute; right: 0; } +.config-dropdown, .chart-box-dropdown { + z-index: 2950 !important; +} .config-dropdown-btn i { font-size: 12px; } diff --git a/nezha-fronted/src/components/charts/chart-list.vue b/nezha-fronted/src/components/charts/chart-list.vue index 979ac0a4e..98e4bfe68 100644 --- a/nezha-fronted/src/components/charts/chart-list.vue +++ b/nezha-fronted/src/components/charts/chart-list.vue @@ -375,7 +375,6 @@ export default { editData(chartId) { // 获取该id下chart的相关信息 const chart = this.dataList.find(item => item.id === chartId); - console.info("aaa",chart) if (chart) { this.$emit('on-edit-chart', chart); } diff --git a/nezha-fronted/src/components/page/dashboard/chartBox.vue b/nezha-fronted/src/components/page/dashboard/chartBox.vue index 0240f1201..a5f338ff1 100644 --- a/nezha-fronted/src/components/page/dashboard/chartBox.vue +++ b/nezha-fronted/src/components/page/dashboard/chartBox.vue @@ -48,7 +48,7 @@ } .z-top { - z-index: 49; + z-index: 2900; }