import Vue from 'vue';
import Router from 'vue-router';

Vue.use(Router);

export default new Router({
	routes: [{
			path: '/',
			redirect: '/journal'
		},
		{
			path: '/',
			component: () => import( /* webpackChunkName: "home" */ '../components/common/Home.vue'),
			meta: {
				title: '自述文件'
			},
			children: [
				{
					path: '/journal',
					component: () => import( /* webpackChunkName: "journal" */ '../components/page/jou_rnal.vue'),
					meta: {
						title: '期刊管理'
					}
				},
				{
					path: '/oftalk',
					component: () => import( /* webpackChunkName: "oftalk" */ '../components/page/of_talk.vue'),
					meta: {
						title: '领域管理'
					}
				},
				{
					path: '/ofjour',
					component: () => import( /* webpackChunkName: "ofjour" */ '../components/page/of_jour'),
					meta: {
						title: '期刊分配'
					}
				},
				{
					path: '/oflone',
					component: () => import( /* webpackChunkName: "oflone" */ '../components/page/of_lone'),
					meta: {
						title: '独有领域'
					}
				},
				{
					path: '/ofsynch',
					component: () => import( /* webpackChunkName: "ofsynch" */ '../components/page/of_synch'),
					meta: {
						title: '领域同步'
					}
				},
				{
					path: "/joutiaxis",
					component: () => import( /* webpackChunkName: "joutiaxis" */ '../components/page/jou_tiaxis.vue'),
					meta: {
						title: '时间轴管理'
					}
				},
				{
					path: "/joutiactile",
					component: () => import( /* webpackChunkName: "joutiactile" */ '../components/page/jou_tiactile.vue'),
					meta: {
						title: '时间轴文章管理'
					}
				},
				{
					path: "/jourelant",
					component: () => import( /* webpackChunkName: "jourelant" */ '../components/page/jou_relant.vue'),
					meta: {
						title: '相关期刊管理'
					}
				},
				{
					path: "/joupaper",
					component: () => import( /* webpackChunkName: "joupaper" */ '../components/page/jou_paper.vue'),
					meta: {
						title: 'paper管理'
					}
				},
				{
					path: "/joufotter",
					component: () => import( /* webpackChunkName: "joufotter" */ '../components/page/jou_fotter.vue'),
					meta: {
						title: 'footer管理'
					}
				},
				{
					path: "/joufotactile",
					component: () => import( /* webpackChunkName: "joufotactile" */ '../components/page/jou_fotactile.vue'),
					meta: {
						title: 'footer文章管理'
					}
				},
				{
					path: "/jouauthor",
					component: () => import( /* webpackChunkName: "jouauthor" */ '../components/page/jou_author.vue'),
					meta: {
						title: 'for author管理'
					}
				},
				{
					path: "/jounotice",
					component: () => import( /* webpackChunkName: "jounotice" */ '../components/page/jou_notice.vue'),
					meta: {
						title: '消息管理'
					}
				},
				{
					path: '/jouchain',
					component: () => import( /* webpackChunkName: "jouchain" */ '../components/page/jou_chain.vue'),
					meta: {
						title: '外链管理'
					}
				},
				{
					path: '/jouguest',
					component: () => import( /* webpackChunkName: "jouguest" */ '../components/page/jou_guest.vue'),
					meta: {
						title: '客座管理'
					}
				},
				{
					path: '/jougucon',
					component: () => import( /* webpackChunkName: "jougucon" */ '../components/page/jou_gucon.vue'),
					meta: {
						title: '客座管理-详情'
					}
				},
				{
					path: '/jouboard',
					component: () => import( /* webpackChunkName: "jouboard" */ '../components/page/jou_board.vue'),
					meta: {
						title: '编委管理'
					}
				},
				{
					path: "/joustage",
					component: () => import( /* webpackChunkName: "joustage" */ '../components/page/jou_stage.vue'),
					meta: {
						title: '分期管理'
					}
				},
				{
					path: "/joutopic",
					component: () => import( /* webpackChunkName: "joutopic" */ '../components/page/jou_topic.vue'),
					meta: {
						title: '话题管理'
					}
				},
				{
					path: "/jouticl",
					component: () => import( /* webpackChunkName: "jouticl" */ '../components/page/jou_ticl.vue'),
					meta: {
						title: '话题文章'
					}
				},
				{
					path: "/joureport",
					component: () => import( /* webpackChunkName: "joureport" */ '../components/page/jou_report.vue'),
					meta: {
						title: '分析报告'
					}
				},
				{
					path: "/jouremail",
					component: () => import( /* webpackChunkName: "jouremail" */ '../components/page/jou_email.vue'),
					meta: {
						title: '邮件发送'
					}
				},
				{
					path: '/article',
					component: () => import( /* webpackChunkName: "article" */ '../components/page/art_cle.vue'),
					meta: {
						title: '文章管理'
					}
				},
				{
					path: '/artquoall',
					component: () => import( /* webpackChunkName: "artquoall" */ '../components/page/art_quoall.vue'),
					meta: {
						title: '文章引用'
					}
				},
				{
					path: '/artexam',
					component: () => import( /* webpackChunkName: "artexam" */ '../components/page/art_exam'),
					meta: {
						title: '文章引用审核'
					}
				},
				{
					path: "/arttext",
					component: () => import( /* webpackChunkName: "arttext" */ '../components/page/art_text.vue'),
					meta: {
						title: '文章-修改'
					}
				},
				{
					path: "/arttextlook",
					component: () => import( /* webpackChunkName: "arttextlook" */ '../components/page/art_textlook.vue'),
					meta: {
						title: '文章-查看'
					}
				},
				{
					path: "/artquote",
					component: () => import( /* webpackChunkName: "artquote" */ '../components/page/art_quote.vue'),
					meta: {
						title: '文章-引用'
					}
				},
				{
					path: "/artrelate",
					component: () => import( /* webpackChunkName: "artrelate" */ '../components/page/art_relate.vue'),
					meta: {
						title: '文章-相关文章'
					}
				},
				{
					path: '/wagesment',
					component: () => import( /* webpackChunkName: "wagesment" */ '../components/page/wages_ment.vue'),
					meta: {
						title: '工资管理'
					}
				},
				{
					path: '/wagescheck',
					component: () => import( /* webpackChunkName: "wagescheck" */ '../components/page/wages_check.vue'),
					meta: {
						title: '工资查询'
					}
				},
				{
					path: '/wagesper',
					component: () => import( /* webpackChunkName: "wagesper" */ '../components/page/wages_person.vue'),
					meta: {
						title: '工资查询'
					}
				},
				{
					path: '/datation',
					component: () => import( /* webpackChunkName: "datation" */ '../components/page/data_tion.vue'),
					meta: {
						title: '数据库管理'
					}
				},
				{
					path: '/database',
					component: () => import( /* webpackChunkName: "database" */ '../components/page/data_base.vue'),
					meta: {
						title: '数据库资料与讨论'
					}
				},
				{
					path: '/datamean',
					component: () => import( /* webpackChunkName: "datamean" */ '../components/page/data_mean.vue'),
					meta: {
						title: '数据库资料'
					}
				},
				{
					path: '/datatalk',
					component: () => import( /* webpackChunkName: "datatalk" */ '../components/page/data_talk.vue'),
					meta: {
						title: '数据库讨论'
					}
				},
				{
					path: '/datalkcon',
					component: () => import( /* webpackChunkName: "datalkcon" */ '../components/page/data_talkcon.vue'),
					meta: {
						title: '数据库讨论-详情'
					}
				},
				{
					path: '/depool',
					component: () => import( /* webpackChunkName: "depool" */ '../components/page/de_pool.vue'),
					meta: {
						title: '话题管理'
					}
				},
				{
					path: '/person',
					component: () => import( /* webpackChunkName: "person" */ '../components/page/per_son.vue'),
					meta: {
						title: '人员管理'
					}
				},
				{
					path: '/syspic',
					component: () => import( /* webpackChunkName: "syspic" */ '../components/page/sys_pic.vue'),
					meta: {
						title: '轮播图管理'
					}
				},
				{
					path: '/syscientist',
					component: () => import( /* webpackChunkName: "syscientist" */ '../components/page/sys_cientist.vue'),
					meta: {
						title: 'Scientists'
					}
				},
				{
					path: '/sysbook',
					component: () => import( /* webpackChunkName: "sysbook" */ '../components/page/sys_book.vue'),
					meta: {
						title: 'Books'
					}
				},
				{
					path: '/sysnotice',
					component: () => import( /* webpackChunkName: "sysnotice" */ '../components/page/sys_notice.vue'),
					meta: {
						title: 'Notices'
					}
				},
				{
					path: '/sysauthor',
					component: () => import( /* webpackChunkName: "sysauthor" */ '../components/page/sys_author.vue'),
					meta: {
						title: 'For Author'
					}
				},
				{
					path: '/sysfooter',
					component: () => import( /* webpackChunkName: "sysfooter" */ '../components/page/sys_footer.vue'),
					meta: {
						title: '底栏管理'
					}
				},
				{
					path: '/systopic',
					component: () => import( /* webpackChunkName: "systopic" */ '../components/page/sys_topic.vue'),
					meta: {
						title: '通用话题'
					}
				},{
					path: '/sysbasic',
					component: () => import( /* webpackChunkName: "sysbasic" */ '../components/page/sys_basic.vue'),
					meta: {
						title: '网站设置'
					}
				},
				{
					path: '/coreperal',
					component: () => import( /* webpackChunkName: "coreperal" */ '../components/page/core_peral.vue'),
					meta: {
						title: '个人中心'
					}
				},
				{
					path: '/editor',
					component: () => import( /* webpackChunkName: "editor" */ '../components/page/edi_tor.vue'),
					meta: {
						title: '编辑手册'
					}
				}
			]
		},
		{
			path: '/login',
			component: () => import( /* webpackChunkName: "login" */ '../components/page/Login.vue'),
			meta: {
				title: '登录'
			}
		},
		{
			path: '*',
			redirect: '/404'
		}
	]
});
