|
@@ -428,7 +428,10 @@ class StudentService extends CrudService {
|
|
|
return i;
|
|
|
});
|
|
|
const meta = this.metaBx();
|
|
|
- return await this.ctx.service.util.toExcel(studentList, meta, '学生名单');
|
|
|
+ let fn = '学生名单';
|
|
|
+ const head = _.head(classList);
|
|
|
+ if (head) fn = `${head.term}期-${head.batch}批${fn}`;
|
|
|
+ return await this.ctx.service.util.toExcel(studentList, meta, fn);
|
|
|
}
|
|
|
|
|
|
metaBx() {
|