haoxuan
2024-04-29 caeb71b06d19a8ffd854c19e5e4b58f7180cdce8
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;
  }
}