From f8fa629b1bf2e45abc2186f41744aade93db4811 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 17 Apr 2024 18:43:29 +0800 Subject: [PATCH] fix --- src/pages/achievement/info/course.vue | 2 +- src/pages/achievement/info/project.vue | 6 +++++- src/pages/match/add/step3.vue | 2 ++ src/pages/match/manage/matchArchList.vue | 18 +++++++++++++----- src/pages/match/manage/matchInfo.vue | 1 + src/pages/match/manage/matchRank.vue | 2 +- src/pages/match/manage/matchSignup.vue | 22 +++++++++++++++++----- src/pages/student/list/index.vue | 3 ++- src/pages/system/list/staff.vue | 4 ++-- 9 files changed, 44 insertions(+), 16 deletions(-) diff --git a/src/pages/achievement/info/course.vue b/src/pages/achievement/info/course.vue index 06fb91e..3c7bcda 100644 --- a/src/pages/achievement/info/course.vue +++ b/src/pages/achievement/info/course.vue @@ -556,7 +556,7 @@ export default { toReport (row) { this.$store.commit('achievement/setRow', this.curRow) // 考核跳实验报告,练习跳项目维度的成绩详情 - this.$router.push(this.curTab == 1 ? `show?reportId=${row.reportId}` : `project?id=${row.projectId}&projectName=${row.projectName}&classId=${this.curRow.classId || ''}&workNumber=${row.workNumber || row.userName}&mallId=${this.id}`) + this.$router.push(this.curTab == 1 ? `show?reportId=${row.reportId}` : `project?id=${row.projectId}&projectName=${row.projectName}&classId=${this.curRow.classId || ''}&workNumber=${row.workNumber || row.userName}&mallId=${this.id}&fromCourse=1`) }, getChart () { // 初始化折线图 const data = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0] diff --git a/src/pages/achievement/info/project.vue b/src/pages/achievement/info/project.vue index de7400b..add97b0 100644 --- a/src/pages/achievement/info/project.vue +++ b/src/pages/achievement/info/project.vue @@ -671,7 +671,11 @@ export default { echarts.init(document.querySelector(`#chart1`)).setOption(option) }, back () { - location.href = this.$store.state.achievement.referrer + if (this.$route.query.fromCourse) { + this.$router.back() + } else { + location.href = this.$store.state.achievement.referrer + } }, } }; diff --git a/src/pages/match/add/step3.vue b/src/pages/match/add/step3.vue index f52096c..a6b0a58 100644 --- a/src/pages/match/add/step3.vue +++ b/src/pages/match/add/step3.vue @@ -250,6 +250,8 @@ export default { url: n }) }) + } else { + form.competitionStageContentSetting.fileList = [] } form.competitionStageContentSetting.competitionId = this.id form.competitionStageContentSetting.stageId = e.stageId diff --git a/src/pages/match/manage/matchArchList.vue b/src/pages/match/manage/matchArchList.vue index 2de81a1..3c1e5ee 100644 --- a/src/pages/match/manage/matchArchList.vue +++ b/src/pages/match/manage/matchArchList.vue @@ -131,14 +131,20 @@ {{ scope.row.submitTime || '--' }} + + +