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 || '--' }} + + +