|
@@ -5,144 +5,83 @@ VueRouter.prototype.push = function push(location) {
|
|
|
return originalPush.call(this, location).catch((err) => err);
|
|
|
};
|
|
|
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'),
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/infoview/task/index',
|
|
|
- meta: { title: '实验室建设期内承担项目明细' },
|
|
|
- component: () => import('../views/infoview/task/index.vue'),
|
|
|
- },
|
|
|
-];
|
|
|
-// 科研信息
|
|
|
+// 科研实力
|
|
|
const scientific = [
|
|
|
{
|
|
|
- path: '/scientific/award/index',
|
|
|
- meta: { title: '实验室建设期内获奖明细' },
|
|
|
- component: () => import('../views/scientific/award/index.vue'),
|
|
|
+ path: '/scientific/mathematics/index',
|
|
|
+ meta: { title: '国家数学中心' },
|
|
|
+ component: () => import('../views/scientific/mathematics/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
- path: '/scientific/paper/index',
|
|
|
- meta: { title: '实验室建设期内发表学术论文明细' },
|
|
|
- component: () => import('../views/scientific/paper/index.vue'),
|
|
|
+ path: '/scientific/laboratory/index',
|
|
|
+ meta: { title: '省重点实验室' },
|
|
|
+ component: () => import('../views/scientific/laboratory/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
- path: '/scientific/otherachieve/index',
|
|
|
- meta: { title: '其他成果' },
|
|
|
- component: () => import('../views/scientific/otherachieve/index.vue'),
|
|
|
+ path: '/scientific/work/index',
|
|
|
+ meta: { title: '院士工作站' },
|
|
|
+ component: () => import('../views/scientific/work/index.vue'),
|
|
|
},
|
|
|
];
|
|
|
-// 人员信息
|
|
|
-const personnel = [
|
|
|
- {
|
|
|
- path: '/personnel/index',
|
|
|
- meta: { title: '人员信息' },
|
|
|
- component: () => import('../views/personnel/index.vue'),
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/personnel/director/index',
|
|
|
- meta: { title: '主任及科研助理信息列表' },
|
|
|
- component: () => import('../views/personnel/director/index.vue'),
|
|
|
- },
|
|
|
+// 创新能力
|
|
|
+const innovate = [
|
|
|
{
|
|
|
- path: '/personnel/learning/index',
|
|
|
- meta: { title: '学术委员会' },
|
|
|
- component: () => import('../views/personnel/learning/index.vue'),
|
|
|
+ path: '/innovate/achieve/index',
|
|
|
+ meta: { title: '成果展示' },
|
|
|
+ component: () => import('../views/innovate/achieve/index.vue'),
|
|
|
},
|
|
|
-];
|
|
|
-// 学术交流
|
|
|
-const learning = [
|
|
|
{
|
|
|
- path: '/learning/index',
|
|
|
+ path: '/innovate/learning/index',
|
|
|
meta: { title: '学术交流' },
|
|
|
- component: () => import('../views/learning/index.vue'),
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/learning/sociology/index',
|
|
|
- meta: { title: '社会服务活动' },
|
|
|
- component: () => import('../views/learning/sociology/index.vue'),
|
|
|
+ component: () => import('../views/innovate/learning/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
- path: '/learning/technology/index',
|
|
|
- meta: { title: '技术服务活动' },
|
|
|
- component: () => import('../views/learning/technology/index.vue'),
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/learning/science/index',
|
|
|
+ path: '/innovate/popularization/index',
|
|
|
meta: { title: '科普活动' },
|
|
|
- component: () => import('../views/learning/science/index.vue'),
|
|
|
+ component: () => import('../views/innovate/popularization/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
- path: '/learning/report/index',
|
|
|
- meta: { title: '分析/建议/决策/咨询报告' },
|
|
|
- component: () => import('../views/learning/report/index.vue'),
|
|
|
+ path: '/innovate/service/index',
|
|
|
+ meta: { title: '科技服务' },
|
|
|
+ component: () => import('../views/innovate/service/index.vue'),
|
|
|
},
|
|
|
];
|
|
|
-// 队伍建设与人才培养;
|
|
|
-const ranks = [
|
|
|
+// 科技资讯
|
|
|
+const science = [
|
|
|
{
|
|
|
- path: '/ranks/index',
|
|
|
- meta: { title: '队伍建设与人才培养' },
|
|
|
- component: () => import('../views/ranks/index.vue'),
|
|
|
+ path: '/science/notice/index',
|
|
|
+ meta: { title: '通知通告' },
|
|
|
+ component: () => import('../views/science/notice/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
- path: '/ranks/personnel/index',
|
|
|
- meta: { title: '人才称号' },
|
|
|
- component: () => import('../views/ranks/personnel/index.vue'),
|
|
|
+ path: '/science/thefront/index',
|
|
|
+ meta: { title: '学术前沿' },
|
|
|
+ component: () => import('../views/science/thefront/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
- path: '/ranks/title/index',
|
|
|
- meta: { title: '职称晋升' },
|
|
|
- component: () => import('../views/ranks/title/index.vue'),
|
|
|
+ path: '/science/investigation/index',
|
|
|
+ meta: { title: '调查调研' },
|
|
|
+ component: () => import('../views/science/investigation/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
- path: '/ranks/boshuo/index',
|
|
|
- meta: { title: '博硕培养' },
|
|
|
- component: () => import('../views/ranks/boshuo/index.vue'),
|
|
|
+ path: '/science/account/index',
|
|
|
+ meta: { title: '个人中心' },
|
|
|
+ component: () => import('../views/science/account/index.vue'),
|
|
|
},
|
|
|
];
|
|
|
+
|
|
|
const web = [
|
|
|
{
|
|
|
path: '/',
|
|
|
meta: { title: '网站首页' },
|
|
|
component: () => import('../views/index.vue'),
|
|
|
},
|
|
|
- // 信息展示
|
|
|
- ...infoview,
|
|
|
- // 科研信息
|
|
|
+ // 科研实力
|
|
|
...scientific,
|
|
|
- // 平台活动时间段公示
|
|
|
- // 人员信息
|
|
|
- ...personnel,
|
|
|
- // 学术交流
|
|
|
- ...learning,
|
|
|
- // 队伍建设与人才培养
|
|
|
- ...ranks,
|
|
|
-
|
|
|
- {
|
|
|
- path: '/activity/time/index',
|
|
|
- meta: { title: '活动时间段' },
|
|
|
- component: () => import('../views/activity/time/index.vue'),
|
|
|
- },
|
|
|
+ // 创新能力
|
|
|
+ ...innovate,
|
|
|
+ // 科技资讯
|
|
|
+ ...science,
|
|
|
];
|
|
|
const routes = [...web];
|
|
|
const router = new VueRouter({
|