You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
95 lines
2.2 KiB
95 lines
2.2 KiB
/*
|
|
* @Author: wally
|
|
* @email: 18603454788@163.com
|
|
* @Date: 2021-01-28 09:32:34
|
|
* @LastEditors: wally
|
|
* @LastEditTime: 2021-01-29 11:00:57
|
|
*/
|
|
import Vue from 'vue';
|
|
import VueRouter from 'vue-router';
|
|
import Home from 'views/Index/Index.vue';
|
|
|
|
Vue.use(VueRouter);
|
|
|
|
const routes = [
|
|
// 首页数据统计
|
|
{
|
|
path: '/',
|
|
name: 'Home',
|
|
component: Home,
|
|
},
|
|
// 会议纪要
|
|
{
|
|
path: '/meeting',
|
|
name: 'Meeting',
|
|
component: () => import('@/views/Meeting/Meeting.vue'),
|
|
},
|
|
// 会议纪要预览
|
|
// {
|
|
// path: '/meetingPreview',
|
|
// name: 'MeetingPreview',
|
|
// component: () => import('@/views/MeetingPreview/MeetingPreview.vue'),
|
|
// },
|
|
// 选择患者信息
|
|
{
|
|
path: '/selectPatient',
|
|
name: 'SelectPatient',
|
|
component: () => import('@/views/SelectPatient/SelectPatient.vue'),
|
|
},
|
|
// 患者信息录入
|
|
{
|
|
path: '/patientInfo',
|
|
name: 'PatientInfo',
|
|
component: () => import('@/views/PatientInfo/PatientInfo.vue'),
|
|
},
|
|
// 病例搜索
|
|
{
|
|
path: '/caseSearch',
|
|
name: 'CaseSearch',
|
|
component: () => import('@/views/CaseSearch/CaseSearch.vue'),
|
|
},
|
|
// 病例分析
|
|
{
|
|
path: '/caseAnalysis',
|
|
name: 'CaseAnalysis',
|
|
component: () => import('@/views/CaseAnalysis/CaseAnalysis.vue'),
|
|
},
|
|
// 生物样本
|
|
{
|
|
path: '/biologicalSamples',
|
|
name: 'biologicalSamples',
|
|
component: () => import('@/views/BiologicalSamples/BiologicalSamples.vue'),
|
|
},
|
|
// 生物样本搜索
|
|
{
|
|
path: '/biologicalSampleSearch',
|
|
name: 'biologicalSampleSearch',
|
|
component: () => import('@/views/BiologicalSampleSearch/BiologicalSampleSearch.vue'),
|
|
},
|
|
// 消息推送
|
|
{
|
|
path: '/messagePush',
|
|
name: 'messagePush',
|
|
component: () => import('@/views/MessagePush/MessagePush.vue'),
|
|
},
|
|
// 个人数据统计
|
|
{
|
|
path: '/personalStats',
|
|
name: 'personalStats',
|
|
component: () => import('@/views/PersonalStats/PersonalStats.vue'),
|
|
},
|
|
// 认知量表
|
|
{
|
|
path: '/cognitiveScale',
|
|
name: 'cognitiveScale',
|
|
component: () => import('@/views/CognitiveScale/CognitiveScale.vue'),
|
|
},
|
|
];
|
|
|
|
const router = new VueRouter({
|
|
mode: 'history',
|
|
base: process.env.BASE_URL,
|
|
routes,
|
|
});
|
|
|
|
export default router;
|
|
|