|
@@ -7,6 +7,7 @@ Vue.use(Router);
|
|
|
|
|
|
/* Layout */
|
|
|
import Layout from '@/layout';
|
|
|
+import AppMain from '@/layout/components/AppMain.vue';
|
|
|
|
|
|
/**
|
|
|
* Note: sub-menu only appear when route children.length >= 1
|
|
@@ -194,30 +195,38 @@ export const constantRoutes = [
|
|
|
],
|
|
|
},
|
|
|
// 医院大数据自助查询系统
|
|
|
+
|
|
|
{
|
|
|
- path: '/hospital-search',
|
|
|
- name: 'HospitalSearch',
|
|
|
- component: () => import('@/views/searchSystem/index'),
|
|
|
- meta: { keepAlive:true },
|
|
|
- hidden: true
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/hospital-caseViews',
|
|
|
- name: 'HospitalCaseViews',
|
|
|
- component: () => import('@/views/allcase/caseViews'),
|
|
|
- hidden: true
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/hospital-details',
|
|
|
- name: 'HospitalDetails',
|
|
|
- component: () => import('@/views/data/query/details'),
|
|
|
- hidden: true
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/hospital-chargeDetails',
|
|
|
- name: 'HospitalChargeDetails',
|
|
|
- hidden: true,
|
|
|
- component: () => import('@/views/data/query/ChargeDetails')
|
|
|
+ path: '/hospital',
|
|
|
+ component: AppMain,
|
|
|
+ redirect: '/hospital-search',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: '/hospital-search',
|
|
|
+ name: 'HospitalSearch',
|
|
|
+ component: () => import('@/views/searchSystem/index'),
|
|
|
+ meta: { keepAlive:true },
|
|
|
+ hidden: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/hospital-caseViews',
|
|
|
+ name: 'HospitalCaseViews',
|
|
|
+ component: () => import('@/views/allcase/caseViews'),
|
|
|
+ hidden: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/hospital-details',
|
|
|
+ name: 'HospitalDetails',
|
|
|
+ component: () => import('@/views/data/query/details'),
|
|
|
+ hidden: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/hospital-chargeDetails',
|
|
|
+ name: 'HospitalChargeDetails',
|
|
|
+ hidden: true,
|
|
|
+ component: () => import('@/views/data/query/ChargeDetails')
|
|
|
+ },
|
|
|
+ ]
|
|
|
},
|
|
|
];
|
|
|
|