修改
This commit is contained in:
parent
bc78f2d16b
commit
4d932a504f
@ -163,20 +163,20 @@ export default {
|
|||||||
date: nowDate.getDate() //获取当前日期
|
date: nowDate.getDate() //获取当前日期
|
||||||
};
|
};
|
||||||
//拼接
|
//拼接
|
||||||
// if (dates.month < 10) {
|
if (dates.month < 10) {
|
||||||
// this.startDate = dates.year + "-0" + dates.month;
|
this.startDate = dates.year + "-0" + dates.month;
|
||||||
// this.endDate = dates.year + "-0" + dates.month;
|
this.endDate = dates.year + "-0" + dates.month;
|
||||||
// } else {
|
} else {
|
||||||
// this.startDate = dates.year + "." + dates.month;
|
this.startDate = dates.year + "." + dates.month;
|
||||||
// this.endDate = dates.year + "-" + dates.month;
|
this.endDate = dates.year + "-" + dates.month;
|
||||||
// }
|
}
|
||||||
// if (dates.date < 10) {
|
if (dates.date < 10) {
|
||||||
// this.startDate = this.startDate + "-0" + dates.date;
|
this.startDate = this.startDate + "-0" + dates.date;
|
||||||
// this.endDate = this.endDate + "-0" + dates.date;
|
this.endDate = this.endDate + "-0" + dates.date;
|
||||||
// } else {
|
} else {
|
||||||
// this.startDate = this.startDate + "-" + dates.date;
|
this.startDate = this.startDate + "-" + dates.date;
|
||||||
// this.endDate = this.endDate + "-" + dates.date;
|
this.endDate = this.endDate + "-" + dates.date;
|
||||||
// }
|
}
|
||||||
},
|
},
|
||||||
//名下学生
|
//名下学生
|
||||||
getStudent(e) {
|
getStudent(e) {
|
||||||
|
|||||||
@ -163,9 +163,7 @@ export default {
|
|||||||
this.endDate = this.formatDate(new Date(e[1]).getTime());
|
this.endDate = this.formatDate(new Date(e[1]).getTime());
|
||||||
},
|
},
|
||||||
//幼儿园
|
//幼儿园
|
||||||
kinbatlist(e) {
|
kinbatlist(e) {},
|
||||||
console.log(e);
|
|
||||||
},
|
|
||||||
//家长
|
//家长
|
||||||
parentlist(e) {
|
parentlist(e) {
|
||||||
this.parentInfoId = e;
|
this.parentInfoId = e;
|
||||||
@ -183,20 +181,20 @@ export default {
|
|||||||
date: nowDate.getDate() //获取当前日期
|
date: nowDate.getDate() //获取当前日期
|
||||||
};
|
};
|
||||||
// //拼接
|
// //拼接
|
||||||
// if (dates.month < 10) {
|
if (dates.month < 10) {
|
||||||
// this.startDate = dates.year + "-0" + dates.month;
|
this.startDate = dates.year + "-0" + dates.month;
|
||||||
// this.endDate = dates.year + "-0" + dates.month;
|
this.endDate = dates.year + "-0" + dates.month;
|
||||||
// } else {
|
} else {
|
||||||
// this.startDate = dates.year + "." + dates.month;
|
this.startDate = dates.year + "." + dates.month;
|
||||||
// this.endDate = dates.year + "-" + dates.month;
|
this.endDate = dates.year + "-" + dates.month;
|
||||||
// }
|
}
|
||||||
// if (dates.date < 10) {
|
if (dates.date < 10) {
|
||||||
// this.startDate = this.startDate + "-0" + dates.date;
|
this.startDate = this.startDate + "-0" + dates.date;
|
||||||
// this.endDate = this.endDate + "-0" + dates.date;
|
this.endDate = this.endDate + "-0" + dates.date;
|
||||||
// } else {
|
} else {
|
||||||
// this.startDate = this.startDate + "-" + dates.date;
|
this.startDate = this.startDate + "-" + dates.date;
|
||||||
// this.endDate = this.endDate + "-" + dates.date;
|
this.endDate = this.endDate + "-" + dates.date;
|
||||||
// }
|
}
|
||||||
},
|
},
|
||||||
formatDate(time, timetype) {
|
formatDate(time, timetype) {
|
||||||
let date = new Date(time); //13位时间戳
|
let date = new Date(time); //13位时间戳
|
||||||
|
|||||||
@ -123,20 +123,20 @@ export default {
|
|||||||
date: nowDate.getDate() //获取当前日期
|
date: nowDate.getDate() //获取当前日期
|
||||||
};
|
};
|
||||||
// //拼接
|
// //拼接
|
||||||
// if (dates.month < 10) {
|
if (dates.month < 10) {
|
||||||
// this.query.startDate = dates.year + "-0" + dates.month;
|
this.query.startDate = dates.year + "-0" + dates.month;
|
||||||
// this.query.endDate = dates.year + "-0" + dates.month;
|
this.query.endDate = dates.year + "-0" + dates.month;
|
||||||
// } else {
|
} else {
|
||||||
// this.query.startDate = dates.year + "." + dates.month;
|
this.query.startDate = dates.year + "." + dates.month;
|
||||||
// this.query.endDate = dates.year + "-" + dates.month;
|
this.query.endDate = dates.year + "-" + dates.month;
|
||||||
// }
|
}
|
||||||
// if (dates.date < 10) {
|
if (dates.date < 10) {
|
||||||
// this.query.startDate = this.startDate + "-0" + dates.date;
|
this.query.startDate = this.query.startDate + "-0" + dates.date;
|
||||||
// this.query.endDate = this.endDate + "-0" + dates.date;
|
this.query.endDate = this.query.endDate + "-0" + dates.date;
|
||||||
// } else {
|
} else {
|
||||||
// this.query.startDate = this.startDate + "-" + dates.date;
|
this.query.startDate = this.query.startDate + "-" + dates.date;
|
||||||
// this.query.endDate = this.endDate + "-" + dates.date;
|
this.query.endDate = this.query.endDate + "-" + dates.date;
|
||||||
// }
|
}
|
||||||
},
|
},
|
||||||
//重置
|
//重置
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
|
|||||||
@ -381,20 +381,20 @@ export default {
|
|||||||
dates.year + "-12"
|
dates.year + "-12"
|
||||||
];
|
];
|
||||||
// //拼接
|
// //拼接
|
||||||
// if (dates.month < 10) {
|
if (dates.month < 10) {
|
||||||
// this.query.startDate = dates.year + "-0" + dates.month;
|
this.query.startDate = dates.year + "-0" + dates.month;
|
||||||
// this.query.endDate = dates.year + "-0" + dates.month;
|
this.query.endDate = dates.year + "-0" + dates.month;
|
||||||
// } else {
|
} else {
|
||||||
// this.query.startDate = dates.year + "." + dates.month;
|
this.query.startDate = dates.year + "." + dates.month;
|
||||||
// this.query.endDate = dates.year + "-" + dates.month;
|
this.query.endDate = dates.year + "-" + dates.month;
|
||||||
// }
|
}
|
||||||
// if (dates.date < 10) {
|
if (dates.date < 10) {
|
||||||
// this.query.startDate = this.startDate + "-0" + dates.date;
|
this.query.startDate = this.query.startDate + "-0" + dates.date;
|
||||||
// this.query.endDate = this.endDate + "-0" + dates.date;
|
this.query.endDate = this.query.endDate + "-0" + dates.date;
|
||||||
// } else {
|
} else {
|
||||||
// this.query.startDate = this.startDate + "-" + dates.date;
|
this.query.startDate = this.query.startDate + "-" + dates.date;
|
||||||
// this.query.endDate = this.endDate + "-" + dates.date;
|
this.query.endDate = this.query.endDate + "-" + dates.date;
|
||||||
// }
|
}
|
||||||
},
|
},
|
||||||
look(row) {
|
look(row) {
|
||||||
this.parentInfoId = row.parentInfoId;
|
this.parentInfoId = row.parentInfoId;
|
||||||
|
|||||||
@ -146,20 +146,20 @@ export default {
|
|||||||
date: nowDate.getDate() //获取当前日期
|
date: nowDate.getDate() //获取当前日期
|
||||||
};
|
};
|
||||||
// //拼接
|
// //拼接
|
||||||
// if (dates.month < 10) {
|
if (dates.month < 10) {
|
||||||
// this.startDate = dates.year + "-0" + dates.month;
|
this.startDate = dates.year + "-0" + dates.month;
|
||||||
// this.endDate = dates.year + "-0" + dates.month;
|
this.endDate = dates.year + "-0" + dates.month;
|
||||||
// } else {
|
} else {
|
||||||
// this.startDate = dates.year + "." + dates.month;
|
this.startDate = dates.year + "." + dates.month;
|
||||||
// this.endDate = dates.year + "-" + dates.month;
|
this.endDate = dates.year + "-" + dates.month;
|
||||||
// }
|
}
|
||||||
// if (dates.date < 10) {
|
if (dates.date < 10) {
|
||||||
// this.startDate = this.startDate + "-0" + dates.date;
|
this.startDate = this.startDate + "-0" + dates.date;
|
||||||
// this.endDate = this.endDate + "-0" + dates.date;
|
this.endDate = this.endDate + "-0" + dates.date;
|
||||||
// } else {
|
} else {
|
||||||
// this.startDate = this.startDate + "-" + dates.date;
|
this.startDate = this.startDate + "-" + dates.date;
|
||||||
// this.endDate = this.endDate + "-" + dates.date;
|
this.endDate = this.endDate + "-" + dates.date;
|
||||||
// }
|
}
|
||||||
},
|
},
|
||||||
//重置
|
//重置
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user