From 121b9968f71bce425a165705ae570c7e9d290488 Mon Sep 17 00:00:00 2001 From: song Date: Thu, 28 Oct 2021 13:15:14 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8E=86=E5=8F=B2?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=BB=9F=E8=AE=A1=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routers/index.js | 16 ++++++------ src/views/statistical-history.vue | 43 +++++++++++++++++-------------- 2 files changed, 31 insertions(+), 28 deletions(-) diff --git a/src/routers/index.js b/src/routers/index.js index 04be41b..35bbedd 100644 --- a/src/routers/index.js +++ b/src/routers/index.js @@ -29,21 +29,21 @@ export const routes = [ { path: '/data-history', name: 'data-history', - meta: { title: '历史数据查看', icon: 'el-icon-data-line' }, + meta: { title: '历史数据查看', icon: 'el-icon-document-copy' }, component: () => import('@/views/data-history.vue'), }, - { - path: '/statistical-realtime', - name: 'statistical-realtime', - meta: { title: '实时数据统计' }, - component: () => import('@/views/statistical-realtime.vue'), - }, { path: '/statistical-history', name: 'statistical-history', - meta: { title: '历史数据统计' }, + meta: { title: '历史数据统计', icon: 'el-icon-data-line' }, component: () => import('@/views/statistical-history.vue'), }, + { + path: '/statistical-realtime', + name: 'statistical-realtime', + meta: { title: '实时数据统计', icon: 'el-icon-time' }, + component: () => import('@/views/statistical-realtime.vue'), + }, { path: '/months', name: 'months', diff --git a/src/views/statistical-history.vue b/src/views/statistical-history.vue index 3d73a60..7763a79 100644 --- a/src/views/statistical-history.vue +++ b/src/views/statistical-history.vue @@ -1,39 +1,42 @@ diff --git a/src/views/communication-log.vue b/src/views/communication-log.vue new file mode 100644 index 0000000..a889bea --- /dev/null +++ b/src/views/communication-log.vue @@ -0,0 +1,5 @@ + + +