From 7586297bb89bbfe2cd4d3711ed5e38f84c3f971c Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期二, 07 五月 2024 18:04:45 +0800
Subject: [PATCH] 考勤统计模块 修改默认日期为当前月份的前一个月
---
src/api/data.js | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/api/data.js b/src/api/data.js
index 815656d..def6c5e 100644
--- a/src/api/data.js
+++ b/src/api/data.js
@@ -12,10 +12,17 @@
{ id: 3, value: "浼戝亣" },
{ id: 4, value: "寮傚父" },
]
+const silkSet=[
+ { id: 1, value: "閲庣氦" },
+ { id: 2, value: "澶ч噹" },
+ { id: 3, value: "鐗归噹" },
+]
export const getDataByType = (type) => {
if (type == "projectOptions") {
return projectOptions
}else if(type=='attendanceStatus'){
return attendanceStatus
+ }else if(type=='silkSet'){
+ return silkSet;
}
}
--
Gitblit v1.8.0