From 31d44775773a70ab00b687be3a2a0a65f779df63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E6=88=90=E5=BC=BA?= Date: Thu, 15 Oct 2020 17:13:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/components/kpi-layout/AppMain.vue | 2 +- src/components/kpi-layout/SmallNav.vue | 59 ++++++++++ src/components/kpi-layout/index.vue | 2 +- src/main.js | 3 +- src/router/kpi_route.js | 61 +++++++--- src/style/common.less | 18 +++ src/utils/permission.js | 7 ++ src/views/kpi/assessment/index.vue | 2 +- .../kpi/workbench/assessmentGroup/index.vue | 27 +++++ src/views/kpi/workbench/home/index.vue | 110 ++++++++++++++++++ src/views/kpi/workbench/home/report.vue | 84 +++++++++++++ src/views/kpi/workbench/index.vue | 12 +- src/views/kpi/workbench/todo/index.vue | 41 +++++++ 14 files changed, 399 insertions(+), 30 deletions(-) create mode 100644 src/components/kpi-layout/SmallNav.vue create mode 100644 src/utils/permission.js create mode 100644 src/views/kpi/workbench/assessmentGroup/index.vue create mode 100644 src/views/kpi/workbench/home/index.vue create mode 100644 src/views/kpi/workbench/home/report.vue create mode 100644 src/views/kpi/workbench/todo/index.vue diff --git a/package.json b/package.json index 2d43fb7..aed85c6 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ }, "dependencies": { "axios": "^0.20.0", + "echarts": "^4.9.0", "element-ui": "^2.13.2", "less": "^3.8.1", "less-loader": "^4.1.0", diff --git a/src/components/kpi-layout/AppMain.vue b/src/components/kpi-layout/AppMain.vue index b1e2f27..0e831cf 100644 --- a/src/components/kpi-layout/AppMain.vue +++ b/src/components/kpi-layout/AppMain.vue @@ -28,7 +28,7 @@ export default { .appamin{ flex: 1; box-sizing: border-box; - padding: 60px 80px 0; + padding: 30px 80px 0; } diff --git a/src/components/kpi-layout/SmallNav.vue b/src/components/kpi-layout/SmallNav.vue new file mode 100644 index 0000000..32000ab --- /dev/null +++ b/src/components/kpi-layout/SmallNav.vue @@ -0,0 +1,59 @@ + + + + + + diff --git a/src/components/kpi-layout/index.vue b/src/components/kpi-layout/index.vue index a20c6f7..6c67609 100644 --- a/src/components/kpi-layout/index.vue +++ b/src/components/kpi-layout/index.vue @@ -1,6 +1,6 @@