From 663f8e1b4f170df75707c0650e63b6c62a707499 Mon Sep 17 00:00:00 2001 From: hanyuxia Date: Fri, 10 Jan 2020 17:13:41 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=E6=96=B0=E5=A2=9E=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=201.panel=E5=9B=BE=E8=A1=A8=E6=9B=B2=E7=BA=BF=E5=85=A8?= =?UTF-8?q?=E5=B1=8F=E5=A2=9E=E5=8A=A0=E6=97=B6=E9=97=B4=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=202.panel=E5=9B=BE=E8=A1=A8=E7=9A=84=E5=AE=9A=E6=9C=9F?= =?UTF-8?q?=E5=88=B7=E6=96=B0=203.panel=E5=9B=BE=E8=A1=A8=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E8=8E=B7=E5=8F=96=E5=8F=82=E6=95=B0step=E6=8C=89?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E6=8C=87=E5=AE=9A=E4=B8=8D=E5=90=8C=E5=80=BC?= =?UTF-8?q?=204.panel=E5=9B=BE=E8=A1=A8=E5=85=A8=E5=B1=8F=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E6=96=87=E5=AD=97=E5=9B=BD=E9=99=85=E5=8C=96=20fix:?= =?UTF-8?q?=E4=BF=AE=E6=94=B9BUG=201.panel=E5=9B=BE=E8=A1=A8=E6=9F=A5?= =?UTF-8?q?=E8=AF=A22=E6=AC=A1=202.panel=E5=9B=BE=E8=A1=A8=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=BA=95=E9=83=A8=E6=98=BE=E7=A4=BA=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E7=9A=84=E6=BB=9A=E5=8A=A8=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/charts/chart-list.vue | 18 +- .../src/components/charts/chart-table.vue | 10 +- .../components/charts/line-chart-block.vue | 278 ++++++++++++++++-- .../src/components/common/language/cn.js | 5 +- .../src/components/common/language/en.js | 7 +- .../src/components/page/dashboard/panel.vue | 40 ++- nezha-fronted/src/libs/bus.js | 21 +- 7 files changed, 327 insertions(+), 52 deletions(-) diff --git a/nezha-fronted/src/components/charts/chart-list.vue b/nezha-fronted/src/components/charts/chart-list.vue index 8fcbcb3ca..5e8271314 100644 --- a/nezha-fronted/src/components/charts/chart-list.vue +++ b/nezha-fronted/src/components/charts/chart-list.vue @@ -7,10 +7,13 @@ .noData{ text-align: center } + .list-width{ + width:98%; + } + + diff --git a/nezha-fronted/src/components/common/dcConfig.vue b/nezha-fronted/src/components/common/popBox/dcConfig.vue similarity index 74% rename from nezha-fronted/src/components/common/dcConfig.vue rename to nezha-fronted/src/components/common/popBox/dcConfig.vue index c4bad16eb..643c8bfbf 100644 --- a/nezha-fronted/src/components/common/dcConfig.vue +++ b/nezha-fronted/src/components/common/popBox/dcConfig.vue @@ -1,13 +1,14 @@ {{assetViewData.cabinetName}} @@ -637,7 +442,7 @@
{{$t('asset.createAssetTab.cli')}}
- + @@ -1118,16 +923,7 @@ }) } }, - uploadFile:function(file){ - }, - clearFile:function(){ - if(this.$refs.upload){ - this.$refs.upload.clearFiles(); - } - this.uploadFileList=[]; - this.assetData.accounts[0].privateKey=''; - }, addNewData(type) { if (type === 'IDC') { const h = this.$createElement; diff --git a/nezha-fronted/src/components/page/config/promServer.vue b/nezha-fronted/src/components/page/config/promServer.vue index 0f81d2126..95b9424e5 100644 --- a/nezha-fronted/src/components/page/config/promServer.vue +++ b/nezha-fronted/src/components/page/config/promServer.vue @@ -33,7 +33,13 @@