考勤和统计bug

This commit is contained in:
zhanglipeng 2021-01-26 16:16:38 +08:00
parent a4e61f1801
commit dc76ce3105

View File

@ -291,6 +291,10 @@ export default {
createuserid: undefined, createuserid: undefined,
createTime: undefined, createTime: undefined,
}, },
//
queryParams_child: {
status: '0',
},
// //
form: {}, form: {},
// //
@ -402,7 +406,7 @@ export default {
this.isable = false; this.isable = false;
this.open = true; this.open = true;
this.title = "幼儿考勤"; this.title = "幼儿考勤";
listByCheck(null).then((response) => { listByCheck(this.queryParams_child).then((response) => {
this.childs = response.rows; this.childs = response.rows;
}); });
}, },
@ -413,7 +417,7 @@ export default {
const id = row.id || this.ids; const id = row.id || this.ids;
getDetail(id).then((response) => { getDetail(id).then((response) => {
this.form = response.data; this.form = response.data;
listChild(null).then((response) => { listChild(this.queryParams_child).then((response) => {
this.childs = response.rows; this.childs = response.rows;
}); });
this.checkedChilds.push(response.data.childid); this.checkedChilds.push(response.data.childid);