|
@@ -5,131 +5,6 @@ VueRouter.prototype.push = function push(location) {
|
|
return originalPush.call(this, location).catch((err) => err);
|
|
return originalPush.call(this, location).catch((err) => err);
|
|
};
|
|
};
|
|
Vue.use(VueRouter);
|
|
Vue.use(VueRouter);
|
|
-
|
|
|
|
-const infoview = [
|
|
|
|
- {
|
|
|
|
- path: '/infoview-laboratory/index',
|
|
|
|
- meta: { title: '重点实验室信息展示' },
|
|
|
|
- component: () => import('../views/infoview-laboratory/index.vue'),
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/infoview-research/index',
|
|
|
|
- meta: { title: '研究方向信息展示' },
|
|
|
|
- component: () => import('../views/infoview-research/index.vue'),
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/infoview-equipment/index',
|
|
|
|
- meta: { title: '设备信息展示' },
|
|
|
|
- component: () => import('../views/infoview-equipment/index.vue'),
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/infoview-achievement/index',
|
|
|
|
- meta: { title: '重要成果信息展示' },
|
|
|
|
- component: () => import('../views/infoview-achievement/index.vue'),
|
|
|
|
- },
|
|
|
|
-];
|
|
|
|
-
|
|
|
|
-const scientific = [
|
|
|
|
- {
|
|
|
|
- path: '/scientific/index',
|
|
|
|
- meta: { title: '科研信息' },
|
|
|
|
- component: () => import('../views/scientific/index.vue'),
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/scientific/personnel/index',
|
|
|
|
- meta: { title: '主任及科研助理信息列表' },
|
|
|
|
- component: () => import('../views/scientific/personnel/index.vue'),
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/scientific/learning/index',
|
|
|
|
- meta: { title: '学术委员会' },
|
|
|
|
- component: () => import('../views/scientific/learning/index.vue'),
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/scientific/task/index',
|
|
|
|
- meta: { title: '实验室建设期内承担项目明细' },
|
|
|
|
- component: () => import('../views/scientific/task/index.vue'),
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/scientific/award/index',
|
|
|
|
- meta: { title: '实验室建设期内获奖明细' },
|
|
|
|
- component: () => import('../views/scientific/award/index.vue'),
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/scientific/paper/index',
|
|
|
|
- meta: { title: '实验室建设期内发表学术论文明细' },
|
|
|
|
- component: () => import('../views/scientific/paper/index.vue'),
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/scientific/achieve/index',
|
|
|
|
- meta: { title: '成果展示' },
|
|
|
|
- component: () => import('../views/scientific/achieve/index.vue'),
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/scientific/otherachieve/index',
|
|
|
|
- meta: { title: '其他成果' },
|
|
|
|
- component: () => import('../views/scientific/otherachieve/index.vue'),
|
|
|
|
- },
|
|
|
|
-];
|
|
|
|
-
|
|
|
|
-const learning = [
|
|
|
|
- {
|
|
|
|
- path: '/learning/index',
|
|
|
|
- meta: { title: '学术交流' },
|
|
|
|
- component: () => import('../views/learning/index.vue'),
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/learning/sociology/index',
|
|
|
|
- meta: { title: '社会服务活动' },
|
|
|
|
- component: () => import('../views/learning/sociology/index.vue'),
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/learning/technology/index',
|
|
|
|
- meta: { title: '技术服务活动' },
|
|
|
|
- component: () => import('../views/learning/technology/index.vue'),
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/learning/science/index',
|
|
|
|
- meta: { title: '科普活动' },
|
|
|
|
- component: () => import('../views/learning/science/index.vue'),
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/learning/report/index',
|
|
|
|
- meta: { title: '分析/建议/决策/咨询报告' },
|
|
|
|
- component: () => import('../views/learning/report/index.vue'),
|
|
|
|
- },
|
|
|
|
-];
|
|
|
|
-
|
|
|
|
-const ranks = [
|
|
|
|
- {
|
|
|
|
- path: '/ranks/index',
|
|
|
|
- meta: { title: '队伍建设与人才培养' },
|
|
|
|
- component: () => import('../views/ranks/index.vue'),
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/ranks/personnel/index',
|
|
|
|
- meta: { title: '人才称号' },
|
|
|
|
- component: () => import('../views/ranks/personnel/index.vue'),
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/ranks/title/index',
|
|
|
|
- meta: { title: '职称晋升' },
|
|
|
|
- component: () => import('../views/ranks/title/index.vue'),
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/ranks/boshuo/index',
|
|
|
|
- meta: { title: '博硕培养' },
|
|
|
|
- component: () => import('../views/ranks/boshuo/index.vue'),
|
|
|
|
- },
|
|
|
|
-];
|
|
|
|
-
|
|
|
|
-const activity = [
|
|
|
|
- {
|
|
|
|
- path: '/activity-time/index',
|
|
|
|
- meta: { title: '平台活动时间段公示' },
|
|
|
|
- component: () => import('../views/activity-time/index.vue'),
|
|
|
|
- },
|
|
|
|
-];
|
|
|
|
|
|
|
|
const web = [
|
|
const web = [
|
|
{
|
|
{
|
|
@@ -137,16 +12,6 @@ const web = [
|
|
meta: { title: '网站首页' },
|
|
meta: { title: '网站首页' },
|
|
component: () => import('../views/index.vue'),
|
|
component: () => import('../views/index.vue'),
|
|
},
|
|
},
|
|
-
|
|
|
|
- ...infoview,
|
|
|
|
-
|
|
|
|
- ...scientific,
|
|
|
|
-
|
|
|
|
- ...learning,
|
|
|
|
-
|
|
|
|
- ...ranks,
|
|
|
|
-
|
|
|
|
- ...activity,
|
|
|
|
];
|
|
];
|
|
const routes = [...web];
|
|
const routes = [...web];
|
|
const router = new VueRouter({
|
|
const router = new VueRouter({
|