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