diff --git a/src/api/index.js b/src/api/index.js index 739e203..a66d19e 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -26,6 +26,9 @@ export default { queryCity: `/nakadai/nakadai/city/queryCity`, treeListArch: `/nakadai/nakadai/staffAccountArchitecture/treeList`, staffList: `/nakadai/nakadai/backstageStaff/staffList`, + professionalList: `/occupationlab/occupationlab/staff/professionalList`, + staffGradeList: `/occupationlab/occupationlab/staff/staffGradeList`, + occupationlabStaff: `/occupationlab/occupationlab/staff/staffList`, querySchoolByReadAndAppraise: `/nakadai/nakadai/school/querySchoolByReadAndAppraise`, querySchool: `/nakadai/nakadai/school/querySchool`, @@ -38,6 +41,7 @@ export default { getPaperQuestionInfoByReviewSetting: `/nakadai/evaluation/getPaperQuestionInfoByReviewSetting`, assignReviewers: `/nakadai/evaluationAssignments/assignReviewers`, myReviewTask: `/nakadai/evaluation/myReviewTask`, + myReviewTaskForAssessment: `/nakadai/evaluation/myReviewTaskForAssessment`, myReviewTaskByReviewList: `/nakadai/evaluation/myReviewTaskByReviewList`, reviewTheDetailsReport: `/exam/exam/paper/reviewTheDetailsReport`, reviewPaper: `/nakadai/evaluation/reviewPaper`, diff --git a/src/layouts/navbar/index.vue b/src/layouts/navbar/index.vue index 4c149b6..e5c301b 100644 --- a/src/layouts/navbar/index.vue +++ b/src/layouts/navbar/index.vue @@ -101,7 +101,7 @@ export default { }, async getPer () { const res = await this.$get(this.api.getUserRolesPermissionMenu, { - platformId: 3 + platformId: this.$route.query.nakadai ? 3 : 1 }) const routes = res.permissionMenu[0].children.find(e => e.path === '/review') // 只获取评阅平台的权限 routes && addRoutes(routes.children) diff --git a/src/pages/allocationReview/list/index.vue b/src/pages/allocationReview/list/index.vue index 255af95..4479aba 100644 --- a/src/pages/allocationReview/list/index.vue +++ b/src/pages/allocationReview/list/index.vue @@ -1,8 +1,8 @@