From e2fc7624f5c627de7f743d9fab3d60917428b839 Mon Sep 17 00:00:00 2001 From: chenjinsong <523037378@qq.com> Date: Sat, 9 May 2020 20:36:20 +0800 Subject: [PATCH] =?UTF-8?q?test:=20echarts=20topo=E8=AF=95=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/common/header.vue | 3 + .../page/dashboard/overview/test.vue | 200 ++++++++++++++++++ nezha-fronted/src/router/index.js | 4 + 3 files changed, 207 insertions(+) create mode 100644 nezha-fronted/src/components/page/dashboard/overview/test.vue diff --git a/nezha-fronted/src/components/common/header.vue b/nezha-fronted/src/components/common/header.vue index 7321f04a2..4750f75d4 100644 --- a/nezha-fronted/src/components/common/header.vue +++ b/nezha-fronted/src/components/common/header.vue @@ -45,6 +45,9 @@ {{$t('dashboard.metricPreview.title')}} + + test + diff --git a/nezha-fronted/src/components/page/dashboard/overview/test.vue b/nezha-fronted/src/components/page/dashboard/overview/test.vue new file mode 100644 index 000000000..1c7b759df --- /dev/null +++ b/nezha-fronted/src/components/page/dashboard/overview/test.vue @@ -0,0 +1,200 @@ + + + + + + {{$t('dashboard.title')}} + + {{$t('dashboard.overview.title')}} + {{$t('dashboard.panel.title')}} + {{$t('dashboard.metricPreview.title')}} + + + + + + + name: + alerts: + x: + + + + + + + + + + + diff --git a/nezha-fronted/src/router/index.js b/nezha-fronted/src/router/index.js index 49491c3b1..26cddd21d 100644 --- a/nezha-fronted/src/router/index.js +++ b/nezha-fronted/src/router/index.js @@ -48,6 +48,10 @@ export default new Router({ path: 'overview', component: resolve => require(['../components/page/dashboard/overview/overview2.vue'],resolve) }, + { + path: 'test', + component: resolve => require(['../components/page/dashboard/overview/test.vue'],resolve) + }, { path: '/project', component: resolve => require(['../components/page/project/project.vue'], resolve),