lrf402788946 4 년 전
부모
커밋
53b4dc5b40
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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}`;