Commit 7dd76a03 authored by gengchunlei's avatar gengchunlei

慢综 医生端 路由重定向

parent 2f00b6b6
import { createRouter, createWebHashHistory } from 'vue-router' import { createRouter, createWebHashHistory } from 'vue-router'
const routes = [ const routes = [
{
path: '/doctor',
name: 'Home',
redirect: '/doctor/followUp/list'
},
{ {
path: '/resident', path: '/resident',
name: 'resident', name: 'resident',
...@@ -65,7 +70,7 @@ const routes = [ ...@@ -65,7 +70,7 @@ const routes = [
path: 'visit', path: 'visit',
name: 'doctor-resident-visit', name: 'doctor-resident-visit',
component: () => import(/* webpackChunkName: "page-doctor" */ '@/doctor/resident/Visit.vue') component: () => import(/* webpackChunkName: "page-doctor" */ '@/doctor/resident/Visit.vue')
}, }
] ]
}, },
//修改基本信息 //修改基本信息
...@@ -73,7 +78,7 @@ const routes = [ ...@@ -73,7 +78,7 @@ const routes = [
path: 'resident/base/update', path: 'resident/base/update',
name: 'doctor-resident-base-update', name: 'doctor-resident-base-update',
component: () => import(/* webpackChunkName: "page-doctor" */ '@/doctor/resident/form/BaseInfo.vue') component: () => import(/* webpackChunkName: "page-doctor" */ '@/doctor/resident/form/BaseInfo.vue')
}, }
] ]
} }
] ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment