diff --git a/src/routers/index.js b/src/routers/index.js index 04be41b..1096374 100644 --- a/src/routers/index.js +++ b/src/routers/index.js @@ -29,27 +29,39 @@ 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', meta: { title: '月累计数据分析', icon: 'el-icon-data-analysis' }, component: () => import('@/views/month-data.vue'), }, + { + path: '/communication-log', + name: 'communication-log', + meta: { title: '通讯日志', icon: 'el-icon-phone-outline' }, + component: () => import('@/views/communication-log.vue'), + }, + { + path: '/access-log', + name: 'access-log', + meta: { title: '访问日志', icon: 'el-icon-message' }, + component: () => import('@/views/access-log.vue'), + }, ]; const router = createRouter({ diff --git a/src/views/access-log.vue b/src/views/access-log.vue new file mode 100644 index 0000000..7766bcd --- /dev/null +++ b/src/views/access-log.vue @@ -0,0 +1,68 @@ + + + + + + + + + {{ list.name }} + + + {{ list.operation }} + {{ list.time }} + + + + + + + + + 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 @@ + + 通讯日志 + + + 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 @@ - +