|
|
|
|
@ -500,6 +500,18 @@
|
|
|
|
|
this.getList()
|
|
|
|
|
},
|
|
|
|
|
async getList() {
|
|
|
|
|
const filter = [{
|
|
|
|
|
key: 'course_id',
|
|
|
|
|
op: 'eq',
|
|
|
|
|
value: this.select.course_id
|
|
|
|
|
}]
|
|
|
|
|
if (this.select.status !== '' && this.select.status !== null && this.select.status !== undefined) {
|
|
|
|
|
filter.push({
|
|
|
|
|
key: 'status',
|
|
|
|
|
op: 'eq',
|
|
|
|
|
value: this.select.status
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const res = await index({
|
|
|
|
|
page: this.select.page,
|
|
|
|
|
page_size: this.select.page_size,
|
|
|
|
|
@ -514,15 +526,7 @@
|
|
|
|
|
type: this.select.type,
|
|
|
|
|
sort_name: 'score',
|
|
|
|
|
sort_type: this.select.sort_type,
|
|
|
|
|
filter: [{
|
|
|
|
|
key: 'course_id',
|
|
|
|
|
op: 'eq',
|
|
|
|
|
value: this.select.course_id
|
|
|
|
|
}, {
|
|
|
|
|
key: 'status',
|
|
|
|
|
op: 'eq',
|
|
|
|
|
value: this.select.status
|
|
|
|
|
}]
|
|
|
|
|
filter
|
|
|
|
|
})
|
|
|
|
|
this.list = res.data
|
|
|
|
|
this.total = res.total
|
|
|
|
|
@ -577,6 +581,19 @@
|
|
|
|
|
_export['user.idcard'] = '身份证号'
|
|
|
|
|
_export['score'] = '评分'
|
|
|
|
|
|
|
|
|
|
const filter = [{
|
|
|
|
|
key: 'course_id',
|
|
|
|
|
op: 'eq',
|
|
|
|
|
value: this.select.course_id
|
|
|
|
|
}]
|
|
|
|
|
if (this.select.status !== '' && this.select.status !== null && this.select.status !== undefined) {
|
|
|
|
|
filter.push({
|
|
|
|
|
key: 'status',
|
|
|
|
|
op: 'eq',
|
|
|
|
|
value: this.select.status
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
download(
|
|
|
|
|
'/api/admin/course-signs/index',
|
|
|
|
|
'get', {
|
|
|
|
|
@ -592,15 +609,7 @@
|
|
|
|
|
sort_name: 'score',
|
|
|
|
|
sort_type: this.select.sort_type,
|
|
|
|
|
export_fields: _export,
|
|
|
|
|
filter: [{
|
|
|
|
|
key: 'course_id',
|
|
|
|
|
op: 'eq',
|
|
|
|
|
value: this.select.course_id
|
|
|
|
|
}, {
|
|
|
|
|
key: 'status',
|
|
|
|
|
op: 'eq',
|
|
|
|
|
value: this.select.status
|
|
|
|
|
}],
|
|
|
|
|
filter,
|
|
|
|
|
is_export: 1,
|
|
|
|
|
page: 1,
|
|
|
|
|
page_size: 999
|
|
|
|
|
|