| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256 |
- import Vue from 'vue'
- import Router from 'vue-router'
- Vue.use(Router)
- export default new Router({
- routes: [{
- path: '/',
- name: 'login',
- component: () => import('./views/Login.vue'),
- show: 0,
- },
- {
- path: '/index/index',
- name: '首页',
- icon: 'el-icon-s-home',
- component: () => import('./views/Home.vue'),
- show: 0,
- isLeaf: 1,
- children: [{
- path: '/index/index',
- component: () => import('./views/Index.vue'),
- name: '首页'
- }, ]
- },
- {
- path: '/message/message',
- name: '内部消息',
- icon: 'iconfont iconxiaoxi',
- component: () => import('./views/Home.vue'),
- show: 0,
- isLeaf: 1,
- children: [{
- path: '/message/message',
- component: () => import('./views/message/Notice.vue'),
- name: '内部消息'
- }, {
- path: '/message/message/analyse',
- component: () => import('./views/message/MessageAnalyse.vue'),
- name: '问卷统计'
- }]
- },
- {
- path: '/message/innerSurvey',
- name: '内部问卷',
- icon: 'iconfont iconwenjuan',
- component: () => import('./views/Home.vue'),
- show: 0,
- isLeaf: 1,
- children: [{
- path: '/message/innerSurvey',
- component: () => import('./views/message/InnerSurvey.vue'),
- name: '内部问卷'
- }, {
- path: '/message/innerSurvey/analyse',
- component: () => import('./views/message/MessageAnalyse.vue'),
- name: '问卷统计'
- }]
- },
- {
- path: '/message/outSurvey',
- name: '外部问卷',
- icon: 'iconfont iconwenjuan1',
- component: () => import('./views/Home.vue'),
- show: 0,
- isLeaf: 1,
- children: [{
- path: '/message/outSurvey',
- component: () => import('./views/message/OutSurvey.vue'),
- name: '外部问卷'
- }, {
- path: '/message/outSurvey/analyse',
- component: () => import('./views/message/MessageAnalyse.vue'),
- name: '问卷统计'
- }]
- },
- {
- path: '/journal/journal',
- name: '中科院全刊',
- icon: 'iconfont iconkanwuguanli',
- component: () => import('./views/Home.vue'),
- show: 0,
- isLeaf: 1,
- children: [{
- path: '/journal/journal',
- component: () => import('./views/journalQun/Journal.vue'),
- name: '中科院全刊'
- }, ]
- },
- {
- path: '/journal/organizer',
- name: '主办单位',
- icon: 'iconfont icondanwei3',
- component: () => import('./views/Home.vue'),
- show: 0,
- isLeaf: 1,
- children: [{
- path: '/journal/organizer',
- component: () => import('./views/journalQun/Organizer.vue'),
- name: '主办单位'
- }, ]
- },
- {
- path: '/journal/subject',
- name: '学科',
- icon: 'iconfont iconshuben',
- component: () => import('./views/Home.vue'),
- show: 0,
- isLeaf: 1,
- children: [{
- path: '/journal/subject',
- component: () => import('./views/journalQun/Subject.vue'),
- name: '学科'
- }, ]
- },
- {
- path: '/learning/activity',
- name: '活动管理',
- icon: 'iconfont iconhuodong',
- component: () => import('./views/Home.vue'),
- show: 0,
- isLeaf: 1,
- children: [{
- path: '/learning/activity',
- component: () => import('./views/message/Message.vue'),
- name: '活动管理'
- }, ]
- },
- {
- path: '/article/article',
- name: '文章管理',
- icon: 'iconfont iconwenzhang',
- component: () => import('./views/Home.vue'),
- show: 0,
- isLeaf: 1,
- children: [{
- path: '/article/article',
- component: () => import('./views/message/Message.vue'),
- name: '文章管理'
- }, ]
- },
- {
- path: '/conference/conference',
- name: '会议管理',
- icon: 'iconfont iconhuiyizichan',
- component: () => import('./views/Home.vue'),
- show: 0,
- isLeaf: 1,
- children: [{
- path: '/conference/conference',
- component: () => import('./views/conference/Manage.vue'),
- name: '会议管理'
- },
- {
- path: '/conference/conference/add',
- component: () => import('./views/conference/AddConference.vue'),
- name: '新增会议'
- },
- ]
- },
- {
- path: '/conference/signup',
- name: '报名管理',
- icon: 'iconfont iconbaoming-08',
- component: () => import('./views/Home.vue'),
- show: 0,
- isLeaf: 1,
- children: [{
- path: '/conference/signup',
- component: () => import('./views/conference/Apply.vue'),
- name: '报名管理'
- }, ]
- },
- {
- path: '/conference/checker',
- name: '核销员管理',
- icon: 'iconfont iconhexiao',
- component: () => import('./views/Home.vue'),
- show: 0,
- isLeaf: 1,
- children: [{
- path: '/conference/checker',
- component: () => import('./views/conference/Checker.vue'),
- name: '核销员管理'
- }, ]
- },
- {
- path: '/conference/hotel',
- name: '酒店管理',
- icon: 'iconfont icondanwei3',
- component: () => import('./views/Home.vue'),
- show: 0,
- isLeaf: 1,
- children: [{
- path: '/conference/hotel',
- component: () => import('./views/conference/Hotel.vue'),
- name: '酒店管理'
- }, ]
- },
- // {
- // path: '/message/survey',
- // name: '调查问卷',
- // icon: 'el-icon-chat-dot-square',
- // component: () => import('./views/Home.vue'),
- // show: 0,
- // isLeaf: 1,
- // children: [{
- // path: '/message/survey',
- // component: () => import('./views/message/investigation.vue'),
- // name: '调查问卷'
- // }, ]
- // },
- {
- path: '/message/template',
- name: '问卷模板',
- icon: 'iconfont iconwenjuanmoban-',
- component: () => import('./views/Home.vue'),
- show: 0,
- isLeaf: 1,
- children: [{
- path: '/message/template',
- component: () => import('./views/message/templateList.vue'),
- name: '问卷模板'
- }, {
- path: '/message/template/add',
- component: () => import('./views/message/modelForm.vue'),
- name: '新增表单'
- }]
- },
- {
- path: '/system/account',
- name: '账号管理',
- icon: 'iconfont iconzhanghaoguanli1',
- component: () => import('./views/Home.vue'),
- show: 0,
- isLeaf: 1,
- children: [{
- path: '/system/account',
- component: () => import('./views/system/Account.vue'),
- name: '消息管理'
- }, ]
- },
- {
- path: '/system/role',
- name: '角色管理',
- icon: 'iconfont iconzhanghaoguanli',
- component: () => import('./views/Home.vue'),
- show: 0,
- isLeaf: 1,
- children: [{
- path: '/system/role',
- component: () => import('./views/system/Role.vue'),
- name: '角色管理'
- }, ]
- },
- ]
- })
|