更新10.15

This commit is contained in:
许允枞 2024-10-15 15:34:24 +08:00
parent f4aa1c2685
commit 2285d94d08

View File

@ -324,6 +324,8 @@ export default {
let nowDate = new Date();
let oneWeekAgo = new Date(nowDate.getTime() - 6 * 24 * 60 * 60 * 1000)
this.value1 = [parseTime(oneWeekAgo), parseTime(nowDate)]
this.countValue = [parseTime(oneWeekAgo), parseTime(nowDate)]
this.showValue = [parseTime(oneWeekAgo), parseTime(nowDate)]
this.getStoreTotal()
// this.selectChildByDeptIdApi()
this.getStoreAmount()
@ -461,8 +463,8 @@ export default {
//
getDataShow() {
const data = {
"startTime": this.value1[0].split(' ')[0],
"endTime": this.value1[1].split(' ')[0]
"startTime": this.showValue[0].split(' ')[0],
"endTime": this.showValue[1].split(' ')[0]
}
getDataShow(data).then(res => {
// console.log('', res.data)
@ -473,8 +475,8 @@ export default {
//
getDataCount() {
const data = {
"startTime": this.value1[0].split(' ')[0],
"endTime": this.value1[1].split(' ')[0]
"startTime": this.countValue[0].split(' ')[0],
"endTime": this.countValue[1].split(' ')[0]
}
getDataCount(data).then(res => {
// console.log('', res.data)