diff --git a/src/views/hrm/clock_record.vue b/src/views/hrm/clock_record.vue index 5fd21988..0c4a4d25 100644 --- a/src/views/hrm/clock_record.vue +++ b/src/views/hrm/clock_record.vue @@ -203,7 +203,7 @@ getOneData(id){ let that = this; return new Promise((resolve,reject)=>{ - that.$API.hrm.clock_record.list.req({page:1,page_size:400,year:that.query.year,month:that.query.month,employee:id}) + that.$API.hrm.clock_record.list.req({page:1,page_size:499,type__in:'10,20',year:that.query.year,month:that.query.month,employee:id}) .then(res=>{ resolve(res.results) }) diff --git a/src/views/sys/user.vue b/src/views/sys/user.vue index 940ebbba..4e45ebd7 100644 --- a/src/views/sys/user.vue +++ b/src/views/sys/user.vue @@ -415,7 +415,7 @@ export default { groupClick(data) { console.log(data); // debugger; - this.$refs.table.queryData({ belong_dept: data.id }); + this.$refs.table.queryData({ depts: data.id }); }, //搜索 handleQuery() {