src/api/mdc.js
@@ -16,5 +16,25 @@
  // 删除设备参数阈值
  deleteParamThresholdApi: id => deleteAction('/mdc/mdcEquipmentThreshold/delete', { id }),
  // 删除设备参数阈值
  deleteBatchParamThresholdApi: ids => deleteAction('/mdc/mdcEquipmentThreshold/deleteBatch', { ids })
  deleteBatchParamThresholdApi: ids => deleteAction('/mdc/mdcEquipmentThreshold/deleteBatch', { ids }),
  // -------------------------------------总控车间看板页面--------------------------------------------
  // 获取昨日概况
  getYesterdayOverviewApi: () => getAction('/mdc/largeScreen/yesterdayOverview'),
  // 获取今日生产进度
  getTodayProductionProgressApi: () => getAction('/mdc/largeScreen/todayProductionSchedule'),
  // 获取今日产品合格率
  getTodayProductPassRateApi: () => getAction('/mdc/largeScreen/todayProductionPassRate'),
  // 获取今日班组完成量
  getTeamCompletionCountApi: () => getAction('/mdc/largeScreen/todayClazzCompletionCount'),
  // 获取今日设备工作效率
  getTodayEquipmentWorkEfficiencyApi: () => getAction('/mdc/largeScreen/todayEquipmentRate'),
  // 获取月设备利用率
  getMonthEquipmentUtilizationRateApi: () => getAction('/mdc/largeScreen/monthEquipmentUtilizationRate'),
  // 获取产线列表
  getProductionLineListApi: () => getAction('/mdc/largeScreen/productionList'),
  // -------------------------------------分控车间看板页面--------------------------------------------
  // 获取设备状态
  getEquipmentStatusApi: productionId => getAction('/mdc/subLargeScreen/equipmentStatus', { productionId }),
  // 获取当日生产进度
  getTodayProductionPlanApi: productionId => getAction('/mdc/subLargeScreen/todayProductionProgress', { productionId })
}