haoxuan
2024-05-07 7586297bb89bbfe2cd4d3711ed5e38f84c3f971c
考勤统计模块 修改默认日期为当前月份的前一个月
1个文件已修改
4 ■■■■ 已修改文件
src/views/employeeSalary/attendanceStatistics/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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:{