| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386 |
- 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/journal/add',
- component: () => import('./views/journalQun/AddJournal.vue'),
- name: '中科院全刊'
- },{
- path: '/journal/journal/show',
- component: () => import('./views/journalQun/ShowJournal.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/organizer/detail',
- component: () => import('./views/journalQun/SubjectDetail.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: '/journal/subject/detail',
- component: () => import('./views/journalQun/SubjectDetail.vue'),
- name: '学科详情'
- },]
- },
- {
- path: '/journal/casci',
- name: 'CASCI数据统计',
- icon: 'iconfont iconshuben',
- component: () => import('./views/Home.vue'),
- show: 0,
- isLeaf: 1,
- children: [{
- path: '/journal/casci',
- component: () => import('./views/journalQun/CASCI.vue'),
- name: 'CASCI数据统计'
- }, {
- path: '/journal/casci/detail',
- component: () => import('./views/journalQun/CASCIDetail.vue'),
- name: 'CASCI数据详情'
- },]
- },
-
- {
- path: '/learning/activity',
- name: '活动预告',
- icon: 'iconfont iconhuodong',
- component: () => import('./views/Home.vue'),
- show: 0,
- isLeaf: 1,
- children: [{
- path: '/learning/activity',
- component: () => import('./views/activity/Activity.vue'),
- name: '活动预告'
- },{
- path: '/learning/activity/add',
- component: () => import('./views/activity/AddActivity.vue'),
- name: '新增活动'
- }, {
- path: '/learning/activity/apply',
- component: () => import('./views/activity/apply.vue'),
- name: '报名'
- },]
- },
- {
- path: '/learning/oldactivity',
- name: '活动回顾',
- icon: 'iconfont iconhuodong',
- component: () => import('./views/Home.vue'),
- show: 0,
- isLeaf: 1,
- children: [{
- path: '/learning/oldactivity',
- component: () => import('./views/activity/OldActivity.vue'),
- name: '活动回顾'
- },{
- path: '/learning/oldactivity/add',
- component: () => import('./views/activity/AddActivity.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/article/Article.vue'),
- name: '文章管理'
- },
- {
- path: '/article/article/add',
- component: () => import('./views/article/AddArticle.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: '角色管理'
- }, ]
- },
- {
- path: '/system/hotword',
- name: '热词',
- icon: 'iconfont iconrecigundongqiu',
- component: () => import('./views/Home.vue'),
- show: 0,
- isLeaf: 1,
- children: [{
- path: '/system/hotword',
- component: () => import('./views/system/HotWord.vue'),
- name: '热词'
- }, ]
- },
- {
- path: '/system/coldword',
- name: '冷词',
- icon: 'iconfont iconminganciku1',
- component: () => import('./views/Home.vue'),
- show: 0,
- isLeaf: 1,
- children: [{
- path: '/system/coldword',
- component: () => import('./views/system/ColdWord.vue'),
- name: '冷词'
- }, ]
- },
- {
- path: '/system/senword',
- name: '敏感词',
- icon: 'iconfont iconminganci',
- component: () => import('./views/Home.vue'),
- show: 0,
- isLeaf: 1,
- children: [{
- path: '/system/senword',
- component: () => import('./views/system/SenWord.vue'),
- name: '敏感词'
- }, ]
- },
- {
- path: '/system/banners',
- name: 'Banner图',
- icon: 'iconfont icontupian',
- component: () => import('./views/Home.vue'),
- show: 0,
- isLeaf: 1,
- children: [{
- path: '/system/banners',
- component: () => import('./views/system/Banners.vue'),
- name: 'Banner图'
- },]
- },
- {
- path: '/system/oplog',
- name: '日志',
- icon: 'iconfont iconrizhi',
- component: () => import('./views/Home.vue'),
- show: 0,
- isLeaf: 1,
- children: [{
- path: '/system/oplog',
- component: () => import('./views/system/Oplog.vue'),
- name: '日志'
- }, ]
- },
- ]
- })
|