haoxuan
2024-04-24 5d36d46434a7f4d23844dc94c34e7716eae172a8
src/api/data.js
@@ -6,9 +6,16 @@
  { id: 4, value: "洁净分" },
  { id: 5, value: "最大偏差" }
]
const attendanceStatus = [
  { id: 1, value: "正常" },
  { id: 2, value: "加班" },
  { id: 3, value: "休假" },
  { id: 4, value: "异常" },
]
export const getDataByType = (type) => {
  if (type == "projectOptions") {
    return projectOptions
  }else if(type=='attendanceStatus'){
    return attendanceStatus
  }
}