src/api/mdc.js
@@ -43,5 +43,9 @@
  deleteBatchParamThresholdApi: ids => deleteAction('/mdc/mdcEquipmentThreshold/deleteBatch', { ids }),
  // -------------------------------------OEE页面--------------------------------------------
  // 计算OEE
  computeOeeApi: params => postAction('/mdc/mdcOeeInfo/computeOee', params)
  computeOeeApi: params => postAction('/mdc/mdcOeeInfo/computeOee', params),
  // 计算MTBF
  computeMTBFApi: ({ month }) => postAction(`/mdc/mdcDownTime/computeMtbf?month=${month}`),
  // 计算MTTR
  computeMTTRApi: ({ month }) => postAction(`/mdc/mdcRepairInfo/computeMttr?month=${month}`)
}