From 63f3d7ced3f08043360f67202a04c2ff359a91f0 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 7 Nov 2024 17:15:15 +0800 Subject: [PATCH] fix --- src/api/index.js | 4 ++ src/layouts/navbar/index.vue | 2 +- src/pages/allocationReview/list/index.vue | 17 +++--- src/pages/allocationReview/list/setup.vue | 24 +++++--- .../allocationReview/records/allocation.vue | 3 +- src/pages/allocationReview/records/index.vue | 6 +- src/pages/allocationReview/records/people.vue | 58 ++++++++++++++++--- src/pages/myReview/list/index.vue | 20 +++++-- src/pages/myReview/records/index.vue | 6 +- 9 files changed, 106 insertions(+), 34 deletions(-) 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 @@