|
@@ -87,7 +87,9 @@ export default {
|
|
|
const res = await this.query({ skip, limit, ...info, schid: this.user.code });
|
|
|
if (this.$checkRes(res)) {
|
|
|
let studs = await this.allRequest({ method: 'fetch', data: _.uniq(res.data.map(i => i.studentid)) });
|
|
|
+ console.log(studs);
|
|
|
res.data.map(i => {
|
|
|
+ console.log(i.studentid);
|
|
|
let student = studs.find(f => f.id === i.studentid);
|
|
|
if (student) i.name = student.name;
|
|
|
i.time = `${i.starttime} 至 ${i.endtime}`;
|