From af70abd14188710bb82aa71eb771b24f49a51448 Mon Sep 17 00:00:00 2001 From: chenjinsong <523037378@qq.com> Date: Wed, 5 Aug 2020 20:58:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dasset-tag=E3=80=81char?= =?UTF-8?q?tbox=E3=80=81endpoint=E8=A1=A8=E5=A4=B4=E7=AD=89bug=201.edit-as?= =?UTF-8?q?set=E6=97=B6tag=E4=B8=8D=E8=83=BD=E6=96=B0=E5=A2=9E=E7=9A=84bug?= =?UTF-8?q?=202.chartbox=20url=E7=B1=BB=E5=9E=8B=E5=9B=9E=E6=98=BE?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=9A=84bug=203.endpoint=E8=A1=A8=E5=A4=B4?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E6=A1=86=E4=B8=8D=E6=98=BE=E7=A4=BA=E7=9A=84?= =?UTF-8?q?bug=204.=E5=BA=95=E9=83=A8=E6=BB=91=E6=A1=86=E9=80=80=E5=87=BA?= =?UTF-8?q?=E5=85=A8=E5=B1=8F=E5=90=8E=E4=B8=BB=E5=88=97=E8=A1=A8=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=9A=84bug=205.=E5=B7=A6=E4=BE=A7=E8=8F=9C?= =?UTF-8?q?=E5=8D=95project=E6=8A=98=E5=8F=A0bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/charts/chart-list.vue | 2 +- .../src/components/common/js/tools.js | 4 +- .../src/components/common/leftMenu.vue | 2 +- .../components/common/rightBox/assetBox.vue | 1 + .../components/common/rightBox/moduleBox.vue | 3 + .../components/page/dashboard/chartBox.vue | 56 ++++++------------- .../src/components/page/dashboard/panel.vue | 20 ++----- 7 files changed, 29 insertions(+), 59 deletions(-) diff --git a/nezha-fronted/src/components/charts/chart-list.vue b/nezha-fronted/src/components/charts/chart-list.vue index 2985d8e49..e2398f2b0 100644 --- a/nezha-fronted/src/components/charts/chart-list.vue +++ b/nezha-fronted/src/components/charts/chart-list.vue @@ -498,8 +498,8 @@ } } }, - // 获取panel详情数据,获取panel下所有chart列表 + // 获取panel详情数据,获取panel下所有chart列表 getData(params) { const param = { panelId: params.panelId, diff --git a/nezha-fronted/src/components/common/js/tools.js b/nezha-fronted/src/components/common/js/tools.js index 2a03b264c..ab7dbd693 100644 --- a/nezha-fronted/src/components/common/js/tools.js +++ b/nezha-fronted/src/components/common/js/tools.js @@ -267,13 +267,13 @@ export const bottomBoxWindow = { //副列表 document.querySelector(".sub-list").style.height = vm.bottomBox.mainListHeight ? contentRightHeight-vm.bottomBox.mainListHeight-9 + 'px' : 'calc(50% - 4px)'; setTimeout(() => { - vm.bottomBox.isFullScreen = false; if (document.querySelector(".main-list-with-sub").offsetHeight >= 100) { - vm.mainResizeShow = true; + vm.bottomBox.mainResizeShow = true; } if (document.querySelector(".sub-list").offsetHeight >= 100) { vm.bottomBox.subResizeShow = true; } + vm.bottomBox.isFullScreen = false; window.resizing = false; }, 210); }, diff --git a/nezha-fronted/src/components/common/leftMenu.vue b/nezha-fronted/src/components/common/leftMenu.vue index 32a3eca31..e8d395b18 100644 --- a/nezha-fronted/src/components/common/leftMenu.vue +++ b/nezha-fronted/src/components/common/leftMenu.vue @@ -9,7 +9,7 @@