|
@@ -106,9 +106,10 @@ export default {
|
|
return Object.values(this.options).find(opt => opt.value == this.prevData.activeGeneration)
|
|
return Object.values(this.options).find(opt => opt.value == this.prevData.activeGeneration)
|
|
},
|
|
},
|
|
subTitle() {
|
|
subTitle() {
|
|
- if (this.prevData.isAccumulate) return ''
|
|
|
|
const hideGenerations = [this.options.init, this.options.terminate]
|
|
const hideGenerations = [this.options.init, this.options.terminate]
|
|
- return hideGenerations.includes(this.activeOpt) ? '' : this.activeOpt?.title || ''
|
|
|
|
|
|
+ let generationDesc = hideGenerations.includes(this.activeOpt) ? '' : this.activeOpt?.title || ''
|
|
|
|
+ if (this.prevData.isAccumulate && generationDesc) generationDesc = this.options.primary.title + ' 至 ' + generationDesc
|
|
|
|
+ return generationDesc
|
|
},
|
|
},
|
|
localData() {
|
|
localData() {
|
|
this.queryParams.generation = this.prevData.queryGeneration
|
|
this.queryParams.generation = this.prevData.queryGeneration
|
|
@@ -131,7 +132,7 @@ export default {
|
|
index: { label: '序号', slot: 'pagedIndex' },
|
|
index: { label: '序号', slot: 'pagedIndex' },
|
|
className: { label: '班级' },
|
|
className: { label: '班级' },
|
|
studentName: { label: '姓名', slot: 'studentName' },
|
|
studentName: { label: '姓名', slot: 'studentName' },
|
|
- userName: {label: '账号'}
|
|
|
|
|
|
+ userName: { label: '账号' }
|
|
}
|
|
}
|
|
if (!ignoreGroups) {
|
|
if (!ignoreGroups) {
|
|
columns.groupName = { label: queryCategory.detailName || '组合' }
|
|
columns.groupName = { label: queryCategory.detailName || '组合' }
|