From 6659f74e64d9a38e97f6966c621d32330a227fce Mon Sep 17 00:00:00 2001 From: ysn <2126564605@qq.com> Date: Wed, 13 May 2026 14:30:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E5=85=B7-=E9=A1=B5=E9=9D=A2=E7=BC=96?= =?UTF-8?q?=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 83 +++++++++++++-- src/views/utility/index.vue | 205 ++++++++++++++++++++++++++++++++++++ 2 files changed, 279 insertions(+), 9 deletions(-) create mode 100644 src/views/utility/index.vue diff --git a/src/router/index.js b/src/router/index.js index 8e564c2..15d7f12 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -61,29 +61,94 @@ export const constantRoutes = [ component: () => import('@/views/error/401'), hidden: true }, + // { + // path: '', + // component: Layout, + // redirect: 'index', + // children: [ + // { + // path: 'index', + // component: () => import('@/views/index'), + // name: 'Index', + // meta: { title: '首页', icon: 'dashboard', affix: true } + // } + // ] + // }, { path: '', component: Layout, - redirect: 'index', + redirect: '/video/index', children: [ { path: 'index', - component: () => import('@/views/index'), - name: 'Index', - meta: { title: '首页', icon: 'dashboard', affix: true } + component: () => import('@/views/video/index'), + name: 'Video', + meta: { title: '视讯', icon: 'guide', affix: true } } ] }, { - path: '/video', + path: '/message', component: Layout, - redirect: '/video/index', + redirect: '/message/index', children: [ { path: 'index', - component: () => import('@/views/video/index'), - name: 'Video', - meta: { title: '视讯', icon: 'guide' } + component: () => import('@/views/message/index'), + name: 'Message', + meta: { title: '消息', icon: 'message' } + } + ] + }, + { + path: '/contacts', + component: Layout, + redirect: '/contacts/index', + children: [ + { + path: 'index', + component: () => import('@/views/contacts/index'), + name: 'Contacts', + meta: { title: '通讯录', icon: 'peoples' } + } + ] + }, + { + path: '/knowledge', + component: Layout, + redirect: '/knowledge/index', + children: [ + { + path: 'index', + component: () => import('@/views/knowledge/index'), + name: 'Knowledge', + meta: { title: '知识库', icon: 'documentation' } + } + ] + }, + { + path: '/cases', + component: Layout, + redirect: '/cases/index', + children: [ + { + path: 'index', + component: () => import('@/views/cases/index'), + name: 'Cases', + meta: { title: '病例库', icon: 'example' } + } + ] + }, + { + path: '/utility', + component: Layout, + redirect: '/utility/index', + children: [ + { + path: 'index', + component: () => import('@/views/utility/index'), + name: 'Utility', + meta: { title: '工具', icon: 'tool' } } ] }, diff --git a/src/views/utility/index.vue b/src/views/utility/index.vue new file mode 100644 index 0000000..e9e7a78 --- /dev/null +++ b/src/views/utility/index.vue @@ -0,0 +1,205 @@ + + + + \ No newline at end of file