From da0a310c1b11346737019681670dcc10c6ee2e7d Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Tue, 24 Sep 2024 14:11:20 +0800 Subject: [PATCH] fix --- src/pages/allocationReview/list/index.vue | 2 +- .../allocationReview/records/allocation.vue | 2 +- src/pages/allocationReview/records/index.vue | 6 +- src/pages/myReview/list/index.vue | 26 +++----- src/pages/myReview/records/index.vue | 2 +- src/pages/myReview/theoryReview/index.vue | 62 ++++++++++++++----- src/router/permission.js | 1 + 7 files changed, 61 insertions(+), 40 deletions(-) diff --git a/src/pages/allocationReview/list/index.vue b/src/pages/allocationReview/list/index.vue index 138f84e..9b421b9 100644 --- a/src/pages/allocationReview/list/index.vue +++ b/src/pages/allocationReview/list/index.vue @@ -40,7 +40,7 @@ - + diff --git a/src/pages/allocationReview/records/allocation.vue b/src/pages/allocationReview/records/allocation.vue index 9c83220..1c020cb 100644 --- a/src/pages/allocationReview/records/allocation.vue +++ b/src/pages/allocationReview/records/allocation.vue @@ -191,7 +191,7 @@ export default { const id = this.row.evaluationId if (id) { const { data } = await this.$post(`${this.api.evaluationFind}?id=${id}`) - this.setup = data + this.setup = data || {} } } catch (e) { } }, diff --git a/src/pages/allocationReview/records/index.vue b/src/pages/allocationReview/records/index.vue index e9589d5..1fe04c1 100644 --- a/src/pages/allocationReview/records/index.vue +++ b/src/pages/allocationReview/records/index.vue @@ -53,7 +53,7 @@ - @@ -83,7 +83,9 @@ }} - + + + diff --git a/src/pages/myReview/list/index.vue b/src/pages/myReview/list/index.vue index 3a29f67..c784569 100644 --- a/src/pages/myReview/list/index.vue +++ b/src/pages/myReview/list/index.vue @@ -33,7 +33,7 @@ - + @@ -157,26 +157,16 @@ export default { const { query } = this.$route if (query.page) { - const { questionTypes, correctRateEnd, correctRateStart, difficultys, specialtyIds, status, keyword, questionTypeSort, givenYearSort, difficultySort, correctRateSort, updateTimeSort, referenceCountSort, givenYears, knowledgePointIds, questionBankId, questionBankName, questionBankCategory } = query + const { month, startTime, endTime, evaluationResult, evaluationStatus, keyWord } = query this.filter = { - questionTypes: questionTypes ? questionTypes.split(',') : [], - correctRateEnd: correctRateEnd || '', - correctRateStart: correctRateStart || '', - difficultys: difficultys ? difficultys.split(',') : [], - specialtyIds: specialtyIds ? specialtyIds.split(',').map(e => +e) : [], - status: status ? +status : '', - keyword: keyword || '', - questionTypeSort: questionTypeSort || '', - givenYearSort: givenYearSort || '', - difficultySort: difficultySort || '', - correctRateSort: correctRateSort || '', - updateTimeSort: updateTimeSort || '', - referenceCountSort: referenceCountSort || '', + evaluationResult: evaluationResult ? +evaluationResult : '', + evaluationStatus: evaluationStatus ? +evaluationStatus : '', + keyWord: keyWord || '', } - this.givenYears = givenYears || '' - this.knowledgePointIds = knowledgePointIds ? JSON.parse(knowledgePointIds) : [] + this.month = !startTime && month ? +month : '' + if (startTime) this.date = [startTime, endTime] - this.$router.push(`/myReview?questionBankId=${questionBankId}&questionBankName=${questionBankName}&questionBankCategory=${questionBankCategory}`).catch(() => { }) + this.$router.push(`/myReview`).catch(() => { }) } this.getList() diff --git a/src/pages/myReview/records/index.vue b/src/pages/myReview/records/index.vue index 3f7758c..227348f 100644 --- a/src/pages/myReview/records/index.vue +++ b/src/pages/myReview/records/index.vue @@ -46,7 +46,7 @@ --> - diff --git a/src/pages/myReview/theoryReview/index.vue b/src/pages/myReview/theoryReview/index.vue index f65ad6c..9243d8b 100644 --- a/src/pages/myReview/theoryReview/index.vue +++ b/src/pages/myReview/theoryReview/index.vue @@ -43,8 +43,8 @@ @click="filterStatus(item.id)">{{ item.name }} -
-
    +
    +
    • {{ arabicToChinese(i + 1) }}、{{ item.outlineName }}(本题共{{ item.questionNum }}小题,共{{ @@ -130,8 +130,8 @@

      填空{{ j + 1 }}:{{ ans.studentAnswer || '未作答' }} - - ; +

      @@ -140,11 +140,14 @@
      题目分值:{{ ques.questionScore }}分
      考生得分:分  - 保存分数 - - + + (如需修改填空题的得分请直接修改考生答案的对错) + + 保存分数 + +
      保存 @@ -155,7 +158,7 @@
      - 评语: + 评语:
      {{ ques.commentSetTime }} @@ -168,6 +171,10 @@
    +
    + +

    暂无数据

    +
    基本信息
    @@ -197,10 +204,9 @@