赛事成绩相关

dev_review
yujialong 3 months ago
parent 5c7bb7eba0
commit 5a21e78cac
  1. 4
      src/views/match/manage/index.vue
  2. 2
      src/views/match/manage/matchArch.vue
  3. 2
      src/views/match/manage/matchArchList.vue
  4. 2
      src/views/match/manage/theoryArchList.vue

@ -58,7 +58,7 @@ export default {
if (Setting.dynamicRoute) { if (Setting.dynamicRoute) {
this.initTabs() this.initTabs()
} else { } else {
this.active = 'tab1' this.active = this.$route.query.tab || 'tab1'
} }
}, },
methods: { methods: {
@ -121,7 +121,7 @@ export default {
// tab // tab
tabSwitch (i) { tabSwitch (i) {
this.active = i this.active = i
this.$router.push(`/matchManage?id=${this.$route.query.id}&tab=${i}&name=${this.name}`) this.$router.push(`/matchManage?id=${this.$route.query.id}&tab=${i}&name=${this.name}`).catch(e => { })
}, },
// tab // tab
backOrTab (i) { backOrTab (i) {

@ -101,7 +101,7 @@ export default {
this.$store.commit('setInnerReferrer', this.$route.fullPath) this.$store.commit('setInnerReferrer', this.$route.fullPath)
const cur = this.form.competitionStage[i] const cur = this.form.competitionStage[i]
const showFile = !!(cur.method === 2 && cur.competitionStageContentSetting && cur.competitionStageContentSetting.whetherToUploadFiles) const showFile = !!(cur.method === 2 && cur.competitionStageContentSetting && cur.competitionStageContentSetting.whetherToUploadFiles)
this.$router.push(`/${cur.method === 2 ? 'matchArchList' : 'theoryArchList'}?id=${this.id}&stageId=${row.stageId}&method=${row.method}&competitionType=${row.competitionType}&showFile=${showFile}`) this.$router.push(`/${cur.method !== 1 ? 'matchArchList' : 'theoryArchList'}?id=${this.id}&stageId=${row.stageId}&method=${row.method}&competitionType=${row.competitionType}&showFile=${showFile}`)
} }
} }
}; };

@ -284,7 +284,7 @@ export default {
}, },
// //
show (row) { show (row) {
this.$router.push(`/${row.paperId ? 'theoryReport' : 'trialReport'}?reportId=${row.reportId}`) this.$router.push(`/trialReport?reportId=${row.reportId}`)
}, },
// () // ()
async exportData () { async exportData () {

@ -237,7 +237,7 @@ export default {
}, },
// //
show (row) { show (row) {
this.$router.push(`/${row.paperId ? 'theoryReport' : 'trialReport'}?reportId=${row.reportId}`) this.$router.push(`/theoryReport?reportId=${row.reportId}`)
}, },
// () // ()
async exportData () { async exportData () {

Loading…
Cancel
Save