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
  }
}