2019-11-25 08:43:09 +08:00
|
|
|
import Vue from 'vue'
|
|
|
|
//1.导入路由组件vue-router
|
|
|
|
import Router from 'vue-router'
|
|
|
|
//2.调用vue-router
|
|
|
|
Vue.use(Router)
|
2019-11-25 09:07:42 +08:00
|
|
|
import PersonalHomepage from "./PersonalHomepage"
|
2019-11-25 15:27:58 +08:00
|
|
|
import index from "./index"
|
2019-11-25 14:16:41 +08:00
|
|
|
// import PersonalHomepage from "./PersonalHomepage"
|
|
|
|
import ManualAppeal from "./ManualAppeal"
|
2019-11-25 15:50:30 +08:00
|
|
|
import IndexArticleDetail from "./IndexArticleDetail"
|
2019-11-26 11:54:01 +08:00
|
|
|
import login from "./login"
|
2019-11-26 14:37:34 +08:00
|
|
|
import loginpwd from "./loginpwd"
|
2019-11-27 09:38:22 +08:00
|
|
|
import indexfind from "./IndexFind"
|
2019-11-27 16:24:31 +08:00
|
|
|
import IndexReport from "./IndexReport"
|
|
|
|
import IndexReport1 from "./IndexReport1"
|
|
|
|
import IndexReport2 from "./IndexReport2"
|
2019-11-25 08:43:09 +08:00
|
|
|
const router=new Router({
|
|
|
|
routes: [
|
2019-11-25 08:44:51 +08:00
|
|
|
{
|
|
|
|
path: '/',
|
2019-11-27 16:24:31 +08:00
|
|
|
component: IndexReport
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: '/IndexReport1',
|
|
|
|
component: IndexReport1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: '/IndexReport2',
|
|
|
|
component: IndexReport2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: '/indexfind',
|
2019-11-27 09:38:22 +08:00
|
|
|
component: indexfind
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: '/loginpwd',
|
2019-11-26 14:37:34 +08:00
|
|
|
component: loginpwd
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: '/login',
|
2019-11-26 11:54:01 +08:00
|
|
|
component: login
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: '/index',
|
2019-11-25 15:27:58 +08:00
|
|
|
component: index
|
|
|
|
},
|
2019-11-25 15:51:59 +08:00
|
|
|
{
|
2019-11-25 16:59:20 +08:00
|
|
|
path: '/IndexArticleDetaill',
|
2019-11-25 15:50:30 +08:00
|
|
|
component: IndexArticleDetail
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: '/ManualAppeal',
|
2019-11-25 14:16:41 +08:00
|
|
|
component: ManualAppeal
|
2019-11-25 15:33:44 +08:00
|
|
|
},
|
2019-11-25 15:27:58 +08:00
|
|
|
{
|
|
|
|
path: '/PersonalHomepage',
|
2019-11-25 09:07:42 +08:00
|
|
|
component: PersonalHomepage
|
2019-11-25 08:44:51 +08:00
|
|
|
}
|
2019-11-25 14:16:41 +08:00
|
|
|
|
2019-11-25 08:43:09 +08:00
|
|
|
]
|
|
|
|
});
|
2019-11-25 08:44:51 +08:00
|
|
|
export default router;
|