From 7586297bb89bbfe2cd4d3711ed5e38f84c3f971c Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期二, 07 五月 2024 18:04:45 +0800 Subject: [PATCH] 考勤统计模块 修改默认日期为当前月份的前一个月 --- src/views/employeeSalary/attendanceStatistics/index.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/employeeSalary/attendanceStatistics/index.vue b/src/views/employeeSalary/attendanceStatistics/index.vue index 38c223d..d3aa38f 100644 --- a/src/views/employeeSalary/attendanceStatistics/index.vue +++ b/src/views/employeeSalary/attendanceStatistics/index.vue @@ -50,7 +50,7 @@ import pageMixin from "@/components/makepager/pager/mixin/pageMixin" import AttendanceStatisticsDetails from "@/views/employeeSalary/attendanceStatistics/components/AttendanceStatisticsDetails" import NewDate from "@/api/date"; -const { getCurrentMonth } = NewDate; +const { getPreviousMonth } = NewDate; export default { name: "attendanceStatistics", props: { @@ -69,7 +69,7 @@ }, }, object:{ - date:getCurrentMonth() + date:getPreviousMonth() }, editRow:{ -- Gitblit v1.8.0