|
@@ -1,41 +1,5 @@
|
|
|
import Vue from 'vue'
|
|
|
import VueRouter from 'vue-router'
|
|
|
-// import login from '../views/login'
|
|
|
-import home from '../views/home'
|
|
|
-import makerActvity from '../views/makerActvity'
|
|
|
-import makerActvityDetails from '../views/makerActvityDetails'
|
|
|
-
|
|
|
-
|
|
|
-import projectApplication from '../views/projectApplication'
|
|
|
-import projectApplicationDetails from '../views/projectApplicationDetails'
|
|
|
-import projectApplication2 from '../views/projectApplication2'
|
|
|
-
|
|
|
-
|
|
|
-import credit from '../views/credit'
|
|
|
-import firm from '../views/firm'
|
|
|
-import makerfund from '../views/makerfund'
|
|
|
-import makerfundApply from '../views/makerfundApply'
|
|
|
-import makerfundDetails from '../views/makerfundDetails'
|
|
|
-
|
|
|
-import messageNotification from '../views/messageNotification'
|
|
|
-import ProjectManagement from '../views/ProjectManagement'
|
|
|
-import ProjectManagement1 from '../views/ProjectManagement1'
|
|
|
-import ProjectManagement2 from '../views/ProjectManagement2'
|
|
|
-import ProjectManagement3 from '../views/ProjectManagement3'
|
|
|
-import ProjectManagement4 from '../views/ProjectManagement4'
|
|
|
-import ProjectManagement5 from '../views/ProjectManagement5'
|
|
|
-import ProjectManagementFund1 from '../views/ProjectManagementFund1'
|
|
|
-import ProjectManagementFund2 from '../views/ProjectManagementFund2'
|
|
|
-
|
|
|
-
|
|
|
-import projectSettlement from '../views/projectSettlement'
|
|
|
-import projectSettlement1 from '../views/projectSettlement1'
|
|
|
-import projectSettlement2 from '../views/projectSettlement2'
|
|
|
-
|
|
|
-import resultsShow from '../views/resultsShow'
|
|
|
-
|
|
|
-
|
|
|
-import credit1 from '../views/credit1'
|
|
|
|
|
|
Vue.use(VueRouter)
|
|
|
|
|
@@ -47,205 +11,205 @@ const routes = [
|
|
|
{
|
|
|
name:'login',
|
|
|
path:'/login',
|
|
|
- component:()=>import('../views/login.vue'),
|
|
|
+ component:()=>import('@/views/login.vue'),
|
|
|
meta:{isAuth:false}
|
|
|
},
|
|
|
{ //项目立项申请
|
|
|
name:"projectApplicationApplyMain",
|
|
|
path:"/projectApplicationApplyMain",
|
|
|
- component:()=>import('../views/projectApplicationApplyMain'),
|
|
|
+ component:()=>import('@/views/projectApply/projectApplicationApplyMain.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
},
|
|
|
{ //活动管理
|
|
|
name:"makerActvityApplyMain",
|
|
|
path:"/makerActvityApplyMain",
|
|
|
- component:()=>import('../views/makerActvityApplyMain.vue'),
|
|
|
+ component:()=>import('@/views/activityManage/makerActvityApplyMain.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
},
|
|
|
|
|
|
{ //成果展示
|
|
|
name:'resultShowDetail',
|
|
|
path:'/resultShowDetail',
|
|
|
- component:()=>import('@/views/resultShowDetail.vue'),
|
|
|
+ component:()=>import('@/views/resultShow/resultShowDetail.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
|
|
|
},
|
|
|
{
|
|
|
name:'home',
|
|
|
path:'/home',
|
|
|
- component:home,
|
|
|
+ component:()=>import('@/views/home.vue'),
|
|
|
meta:{isAuth:true},
|
|
|
|
|
|
children:[
|
|
|
{ //创客活动
|
|
|
name:'makerActvity',
|
|
|
path:'/makerActvity',
|
|
|
- component:makerActvity,
|
|
|
+ component:()=>import('@/views/activityManage/makerActvity.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
|
|
|
},
|
|
|
{ //创客活动详情
|
|
|
name:'makerActvityDetails',
|
|
|
path:'/makerActvityDetails',
|
|
|
- component:makerActvityDetails,
|
|
|
+ component:()=>import('@/views/activityManage/makerActvityDetails.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
},
|
|
|
{ //项目立项申请
|
|
|
name:'projectApplication',
|
|
|
path:'/projectApplication',
|
|
|
- component:projectApplication,
|
|
|
+ component:()=>import('@/views/projectApply/projectApplication.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
|
|
|
},
|
|
|
{
|
|
|
name:'projectApplicationDetails',
|
|
|
path:'/projectApplicationDetails',
|
|
|
- component:projectApplicationDetails,
|
|
|
+ component:()=>import('@/views/projectApply/projectApplicationDetails.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
|
|
|
},
|
|
|
{
|
|
|
name:'projectApplication2',
|
|
|
path:'/projectApplication2',
|
|
|
- component:projectApplication2,
|
|
|
+ component:()=>import('@/views/projectApply/projectApplication2.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
|
|
|
},
|
|
|
{ //学分登记
|
|
|
name:'credit',
|
|
|
path:'/credit',
|
|
|
- component:credit,
|
|
|
+ component:()=>import('@/views/credit/credit.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
|
|
|
},
|
|
|
{ //学分登记
|
|
|
name:'credit1',
|
|
|
path:'/credit1',
|
|
|
- component:credit1,
|
|
|
+ component:()=>import('@/views/credit/credit1.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
|
|
|
},
|
|
|
{ //创业公司登记
|
|
|
name:'firm',
|
|
|
path:'/firm',
|
|
|
- component:firm,
|
|
|
+ component:()=>import('@/views/firm.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
|
|
|
},
|
|
|
{ //创客资金
|
|
|
name:'makerfund',
|
|
|
path:'/makerfund',
|
|
|
- component:makerfund,
|
|
|
+ component:()=>import('@/views/fundManage/makerfund.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
|
|
|
},
|
|
|
{ //创客资金
|
|
|
name:'makerfundApply',
|
|
|
path:'/makerfundApply',
|
|
|
- component:makerfundApply,
|
|
|
+ component:()=>import('@/views/fundManage/makerfundApply.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
|
|
|
},
|
|
|
{ //创客资金
|
|
|
name:'makerfundDetails',
|
|
|
path:'/makerfundDetails',
|
|
|
- component:makerfundDetails,
|
|
|
+ component:()=>import('@/views/fundManage/makerfundDetails.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
|
|
|
},
|
|
|
{ //消息通知
|
|
|
name:'messageNotification',
|
|
|
path:'/messageNotification',
|
|
|
- component:messageNotification,
|
|
|
+ component:()=>import('@/views/messageNotification.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
|
|
|
},
|
|
|
{ //项目管理
|
|
|
name:'ProjectManagement',
|
|
|
path:'/ProjectManagement',
|
|
|
- component:ProjectManagement,
|
|
|
+ component:()=>import('@/views/projectManage/ProjectManagement.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
|
|
|
},
|
|
|
{ //项目管理
|
|
|
name:'ProjectManagement2',
|
|
|
path:'/ProjectManagement2',
|
|
|
- component:ProjectManagement2,
|
|
|
+ component:()=>import('@/views/projectManage/ProjectManagement2.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
|
|
|
},
|
|
|
{ //项目管理
|
|
|
name:'ProjectManagement3',
|
|
|
path:'/ProjectManagement3',
|
|
|
- component:ProjectManagement3,
|
|
|
+ component:()=>import('@/views/projectManage/ProjectManagement3.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
|
|
|
},
|
|
|
{ //项目管理
|
|
|
name:'ProjectManagement4',
|
|
|
path:'/ProjectManagement4',
|
|
|
- component:ProjectManagement4,
|
|
|
+ component:()=>import('@/views/projectManage/ProjectManagement4.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
},
|
|
|
{
|
|
|
name:'ProjectManagement3_1',
|
|
|
path:'/ProjectManagement3_1',
|
|
|
- component:()=>import("../views/ProjectManagement3_1.vue"),
|
|
|
+ component:()=>import('@/views/projectManage/ProjectManagement3_1.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
},
|
|
|
{ //项目管理
|
|
|
name:'ProjectManagement5',
|
|
|
path:'/ProjectManagement5',
|
|
|
- component:ProjectManagement5,
|
|
|
+ component:()=>import('@/views/projectManage/ProjectManagement5.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
|
|
|
},
|
|
|
{ //项目管理
|
|
|
name:'ProjectManagement1',
|
|
|
path:'/ProjectManagement1',
|
|
|
- component:ProjectManagement1,
|
|
|
+ component:()=>import('@/views/projectManage/ProjectManagement1.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
|
|
|
},
|
|
|
{ //项目资金管理
|
|
|
name:'ProjectManagementFund1',
|
|
|
path:'/ProjectManagementFund1',
|
|
|
- component:ProjectManagementFund1,
|
|
|
+ component:()=>import('@/views/projectManage/ProjectManagementFund1.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
|
|
|
},
|
|
|
{ //项目资金管理
|
|
|
name:'ProjectManagementFund2',
|
|
|
path:'/ProjectManagementFund2',
|
|
|
- component:ProjectManagementFund2,
|
|
|
+ component:()=>import('@/views/projectManage/ProjectManagementFund2.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
|
|
|
},
|
|
|
{ //项目结项
|
|
|
name:'projectSettlement',
|
|
|
path:'/projectSettlement',
|
|
|
- component:projectSettlement,
|
|
|
+ component:()=>import('@/views/projectSettlement/projectSettlement.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
|
|
|
},
|
|
|
{ //项目结项
|
|
|
name:'projectSettlement1',
|
|
|
path:'/projectSettlement1',
|
|
|
- component:projectSettlement1,
|
|
|
+ component:()=>import('@/views/projectSettlement/projectSettlement1.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
|
|
|
},
|
|
|
{ //项目结项
|
|
|
name:'projectSettlement2',
|
|
|
path:'/projectSettlement2',
|
|
|
- component:projectSettlement2,
|
|
|
+ component:()=>import('@/views/projectSettlement/projectSettlement2.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
|
|
|
},
|
|
|
{ //成果展示
|
|
|
name:'resultsShow',
|
|
|
path:'/resultsShow',
|
|
|
- component:resultsShow,
|
|
|
+ component:()=>import('@/views/resultShow/resultsShow.vue'),
|
|
|
meta:{isAuth:true}
|
|
|
|
|
|
},
|