From 730fb9ddd379142afd1fb95ab36dfb24c4eb4618 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 26 Sep 2024 16:18:51 +0800 Subject: [PATCH] fix --- src/api/index.js | 1 + src/pages/allocationReview/list/index.vue | 2 +- src/pages/allocationReview/records/index.vue | 35 ++++--------------- src/pages/myReview/list/index.vue | 11 +++--- src/pages/myReview/records/index.vue | 36 ++++++-------------- src/pages/myReview/theoryReview/index.vue | 23 +++++++------ src/router/permission.js | 2 +- 7 files changed, 38 insertions(+), 72 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index ddfd816..285e215 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -10,6 +10,7 @@ export default { treeListArch: `/nakadai/nakadai/staffAccountArchitecture/treeList`, staffList: `/nakadai/nakadai/backstageStaff/staffList`, querySchoolByReadAndAppraise: `/nakadai/nakadai/school/querySchoolByReadAndAppraise`, + querySchool: `/nakadai/nakadai/school/querySchool`, getDetailedExamScores: `/exam/exam/paper/getDetailedExamScores`, reviewSettingsList: `/competition/competition/readAndAppraise/reviewSettingsList`, diff --git a/src/pages/allocationReview/list/index.vue b/src/pages/allocationReview/list/index.vue index 50eaa8b..b583fcc 100644 --- a/src/pages/allocationReview/list/index.vue +++ b/src/pages/allocationReview/list/index.vue @@ -218,7 +218,6 @@ export default { }) this.list = list this.getNow() - this.handleStage() this.total = pageList.total } finally { this.loading = false @@ -264,6 +263,7 @@ export default { async getNow () { if (!this.now) { this.now = await Util.getNow() + this.handleStage() clearInterval(this.timer) this.timer = setInterval(() => { this.now = new Date(this.now.setSeconds(this.now.getSeconds() + 1)) diff --git a/src/pages/allocationReview/records/index.vue b/src/pages/allocationReview/records/index.vue index eb9187b..beaebf7 100644 --- a/src/pages/allocationReview/records/index.vue +++ b/src/pages/allocationReview/records/index.vue @@ -15,14 +15,13 @@