|
@@ -98,30 +98,47 @@ export default {
|
|
|
this.$set(this, `items`, _.uniqBy(list, 'index'));
|
|
|
} else {
|
|
|
let data = [
|
|
|
- { icon: 'el-icon-eleme', index: 'userExamine', title: '申请书' },
|
|
|
- { icon: 'el-icon-eleme', index: 'userScore', title: '评分总结' },
|
|
|
- { icon: 'el-icon-eleme', index: 'userExamine', title: '申请书' },
|
|
|
- { icon: 'el-icon-eleme', index: 'userExamine', title: '申请书' },
|
|
|
- { icon: 'el-icon-eleme', index: 'userExamine', title: '申请书' },
|
|
|
+ {
|
|
|
+ icon: 'el-icon-eleme',
|
|
|
+ index: '2',
|
|
|
+ title: '申请书管理',
|
|
|
+ subs: [
|
|
|
+ {
|
|
|
+ icon: 'el-icon-eleme',
|
|
|
+ index: 'firstApply',
|
|
|
+ title: '待审中',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: 'el-icon-eleme',
|
|
|
+ index: 'updateApply',
|
|
|
+ title: '审核未通过',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: 'el-icon-eleme',
|
|
|
+ index: '3',
|
|
|
+ title: '专家评分',
|
|
|
+ subs: [
|
|
|
+ {
|
|
|
+ icon: 'el-icon-eleme',
|
|
|
+ index: 'expertExam',
|
|
|
+ title: '待评分',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: 'el-icon-eleme',
|
|
|
+ index: 'expetScoreUpdate',
|
|
|
+ title: '审核未通过',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ // { icon: 'el-icon-eleme', index: 'userScore', title: '申请书' },
|
|
|
+ // { icon: 'el-icon-eleme', index: 'userExamine', title: '申请书' },
|
|
|
+ // { icon: 'el-icon-eleme', index: 'userExamine', title: '申请书' },
|
|
|
];
|
|
|
list.push(...data);
|
|
|
this.$set(this, `items`, _.uniqBy(list, 'index'));
|
|
|
}
|
|
|
- // if (user) {
|
|
|
- // // 复制列表
|
|
|
- // let list = _.cloneDeep(this.items);
|
|
|
- // if (user.role == '0') {
|
|
|
- // let res = await this.query();
|
|
|
- // if (this.$checkRes(res)) {
|
|
|
- // list.push(...res.data);
|
|
|
- // this.$set(this, `items`, _.uniqBy(list, 'index'));
|
|
|
- // }
|
|
|
- // } else {
|
|
|
- // let data = user.menus;
|
|
|
- // list.push(...data);
|
|
|
- // this.$set(this, `items`, _.uniqBy(list, 'index'));
|
|
|
- // }
|
|
|
- // }
|
|
|
},
|
|
|
},
|
|
|
watch: {
|