lrf402788946 %!s(int64=4) %!d(string=hai) anos
pai
achega
53b4dc5b40
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/views/leave/index.vue

+ 2 - 0
src/views/leave/index.vue

@@ -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}`;