|
@@ -295,10 +295,10 @@ export default {
|
|
|
this.$store.state.userInfo.type == 0
|
|
|
) {
|
|
|
this.$router.push("/projectApplication");
|
|
|
+ }else if(this.$store.state.userInfo.type == 3){
|
|
|
+ this.$router.push("/projectApplication");
|
|
|
} else if (
|
|
|
- this.$store.state.userInfo.type == 3 ||
|
|
|
- this.$store.state.userInfo.type == 4
|
|
|
- ) {
|
|
|
+ this.$store.state.userInfo.type == 4) {
|
|
|
|
|
|
// this.$router.push("/resultsShow");
|
|
|
this.$router.push("/commission")
|
|
@@ -314,7 +314,7 @@ export default {
|
|
|
if (
|
|
|
this.$store.state.userInfo.type == 1 ||
|
|
|
this.$store.state.userInfo.type == 2
|
|
|
- ) {
|
|
|
+ ) {//老师、学生
|
|
|
this.navList.push(
|
|
|
{
|
|
|
id: 1,
|
|
@@ -397,7 +397,7 @@ export default {
|
|
|
// group: [],
|
|
|
// },
|
|
|
);
|
|
|
- } else if (this.$store.state.userInfo.type == 0) {
|
|
|
+ } else if (this.$store.state.userInfo.type == 0) {//管理员
|
|
|
this.navList.push(
|
|
|
{
|
|
|
id: 1,
|
|
@@ -511,11 +511,141 @@ export default {
|
|
|
group: [],
|
|
|
}
|
|
|
);
|
|
|
- } else if (
|
|
|
- this.$store.state.userInfo.type == 3 ||
|
|
|
- this.$store.state.userInfo.type == 4
|
|
|
- ) {
|
|
|
+ }else if(this.$store.state.userInfo.type == 3){
|
|
|
+ this.navList.push(
|
|
|
+ {
|
|
|
+ id: 1,
|
|
|
+ label: "事前申请",
|
|
|
+ goto: "/projectApplication",
|
|
|
+ icon: "iconfont icon-shuben",
|
|
|
+ group: [
|
|
|
+ {
|
|
|
+ id: 1,
|
|
|
+ label: "项目立项管理",
|
|
|
+ goto: "/projectApplication",
|
|
|
+ group: [
|
|
|
+ {
|
|
|
+ label: "双创项目申请",
|
|
|
+ goto: "/newStudentProjectApply",
|
|
|
+ },
|
|
|
+ { label: "创客空间申请", goto: "/MakerSpaceApply" },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 1,
|
|
|
+ label: "创客活动管理",
|
|
|
+ goto: "/makerActvity",
|
|
|
+ group: [
|
|
|
+ {
|
|
|
+ label: "实践活动申请",
|
|
|
+ goto: "/newMarkerActivity",
|
|
|
+ },
|
|
|
+ // {label:"个人创客申请",power:false,goto:"/newNomMarkerActivity"},
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 2,
|
|
|
+ label: "事后汇总",
|
|
|
+ goto: "/makerfund",
|
|
|
+ icon: "iconfont icon-zijinguanli",
|
|
|
+ group: [
|
|
|
+ {
|
|
|
+ label: "创客资金申请",
|
|
|
+ goto: "/newMarkerfundApply",
|
|
|
+ group: [],
|
|
|
+ },
|
|
|
+ // {label:"创客活动资金申请",power:false,goto:"/newMarkerfundApply"},
|
|
|
+ // {label:"个人创客资金申请",power:false,goto:"/newNomMarkerFundApply"}
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ // {
|
|
|
+ // id: 3,
|
|
|
+ // label: "资金使用管理",
|
|
|
+ // goto: "/makerfund",
|
|
|
+ // icon: "iconfont icon-zijinguanli",
|
|
|
+ // group: [],
|
|
|
+ // },
|
|
|
+ {
|
|
|
+ id: 4,
|
|
|
+ label: "项目管理",
|
|
|
+ goto: "/ProjectManagement",
|
|
|
+ icon: "el-icon-receiving",
|
|
|
+ group: [],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 5,
|
|
|
+ label: "项目结项",
|
|
|
+ goto: "/projectSettlement",
|
|
|
+ icon: "iconfont icon-_yuanhuanchong",
|
|
|
+ group: [],
|
|
|
+ },
|
|
|
+ // {id:6,label:"学分登记",goto:"/credit",icon:"iconfont icon-yonghu"},
|
|
|
+ {
|
|
|
+ id: 7,
|
|
|
+ label: "成果展示",
|
|
|
+ goto: "/resultsShow",
|
|
|
+ icon: "iconfont icon-xiangmuguanli2",
|
|
|
+ group: [],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 8,
|
|
|
+ label: "创业公司登记",
|
|
|
+ goto: "/firm",
|
|
|
+ icon: "iconfont icon-zuzhijiegou",
|
|
|
+ group: [],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 9,
|
|
|
+ label: "消息通知",
|
|
|
+ goto: "/messageNotification",
|
|
|
+ icon: "iconfont icon-xiaoxitongzhi3",
|
|
|
+ group: [],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 10,
|
|
|
+ label: "数据监测",
|
|
|
+ goto: "/echarts",
|
|
|
+ icon: "iconfont icon-qushi",
|
|
|
+ group: [],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 11,
|
|
|
+ label: "待办公文",
|
|
|
+ goto: "/commission",
|
|
|
+ icon: "dbgw",
|
|
|
+ group: [],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 11,
|
|
|
+ label: "系统管理",
|
|
|
+ goto: "/system",
|
|
|
+ icon: "el-icon-setting",
|
|
|
+ group: [],
|
|
|
+ }
|
|
|
+ );
|
|
|
+ }else if (this.$store.state.userInfo.type == 4) {
|
|
|
this.navList.push(
|
|
|
+ {
|
|
|
+ id: 1,
|
|
|
+ label: "事前申请",
|
|
|
+ goto: "/projectApplication",
|
|
|
+ icon: "iconfont icon-shuben",
|
|
|
+ group: [
|
|
|
+ {
|
|
|
+ id: 1,
|
|
|
+ label: "项目立项管理",
|
|
|
+ goto: "/projectApplication",
|
|
|
+ group: [
|
|
|
+ {
|
|
|
+ label: "双创项目申请",
|
|
|
+ goto: "/newStudentProjectApply",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
// {
|
|
|
// id: 7,
|
|
|
// label: "成果展示",
|