赛事修复

master
yujialong 1 month ago
parent 4779595867
commit 734524aab2
  1. 2
      src/views/match/manage/matchArch.vue
  2. 5
      src/views/match/manage/matchArchList.vue
  3. 16
      src/views/match/manage/otherArchList.vue

@ -32,7 +32,7 @@
<el-button v-if="scope.row.showMyReviewTask" type="text" <el-button v-if="scope.row.showMyReviewTask" type="text"
@click="showReview(scope.row, '/myReview/records')">我的评阅任务</el-button> @click="showReview(scope.row, '/myReview/records')">我的评阅任务</el-button>
<el-button v-auth="'/review:分配评阅任务'" type="text" <el-button v-auth="'/review:分配评阅任务'" type="text"
@click="showReview(scope.row, '/allocationReview/records')">分配评阅任务</el-button> @click="showReview(scope.row, '/allocationReview')">分配评阅任务</el-button>
</template> </template>
</template> </template>
</el-table-column> </el-table-column>

@ -79,7 +79,7 @@
<div> <div>
<template v-if="active && method === 1"> <template v-if="active && method === 1">
<el-button v-auth="'/review:分配评阅任务'" type="primary" size="mini" <el-button v-auth="'/review:分配评阅任务'" type="primary" size="mini"
@click="showReview('/allocationReview/records')">分配评阅任务</el-button> @click="showReview('/allocationReview')">分配评阅任务</el-button>
<el-button v-if="showMyReviewTask" type="primary" size="mini" <el-button v-if="showMyReviewTask" type="primary" size="mini"
@click="showReview('/myReview/records')">我的评阅任务</el-button> @click="showReview('/myReview/records')">我的评阅任务</el-button>
<el-button type="primary" size="mini" @click="exportFiles">导出答题文件</el-button> <el-button type="primary" size="mini" @click="exportFiles">导出答题文件</el-button>
@ -493,7 +493,8 @@ export default {
// //
res = await axios.post(this.api.batchExportReportsAsZip, { res = await axios.post(this.api.batchExportReportsAsZip, {
reportIds: ids, reportIds: ids,
stageId: this.stageId stageId: this.stageId,
competitionId: this.id,
}, { }, {
headers: this.headers, headers: this.headers,
responseType: 'blob' responseType: 'blob'

@ -50,7 +50,14 @@
</el-select> </el-select>
</li> </li>
<li> <li>
<el-input size="small" placeholder="请输入学校/学生姓名" prefix-icon="el-icon-search" v-model="keyword" clearable <label>学校</label>
<el-select v-model="filter.realSchoolId" clearable filterable placeholder="请选择学校" @change="initData">
<el-option v-for="(item, i) in schools" :key="i" :label="item.schoolName"
:value="item.schoolId"></el-option>
</el-select>
</li>
<li>
<el-input size="small" placeholder="请输入学生姓名" prefix-icon="el-icon-search" v-model="keyword" clearable
style="width: 300px"></el-input> style="width: 300px"></el-input>
</li> </li>
</ul> </ul>
@ -213,6 +220,7 @@ export default {
}, },
provinces: [], provinces: [],
cities: [], cities: [],
schools: [],
keyword: this.$route.query.keyword || '', keyword: this.$route.query.keyword || '',
searchTimer: null, searchTimer: null,
list: [], list: [],
@ -261,6 +269,7 @@ export default {
mounted () { mounted () {
this.getData() this.getData()
this.getProvince() this.getProvince()
this.getSchool()
}, },
methods: { methods: {
async getData () { async getData () {
@ -343,6 +352,11 @@ export default {
this.cities = list this.cities = list
} }
}, },
//
async getSchool () {
const { list } = await this.$get(this.api.querySchoolData)
this.schools = list
},
// //
show (row) { show (row) {

Loading…
Cancel
Save