hyingbo
2 天以前 5636ee8eb5d1108668d0abf1e425268bde14922d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { getAction, deleteAction, putAction, postAction, httpAction } from '@/api/manage'
 
export default {
  // 获取所有车间信息
  getAllWorkShop: id => getAction('/mdc/home/getAllWorkShop', {}),
  // 根据用户ID获取用户信息
  getUserByIdApi: id => getAction('sys/api/getUserById', { id }),
  // 设备运行状态
  getEquipmentStatusStatisticsApi: productionId => getAction('/mdc/home/equipmentStatusStatistics', { productionId }),
  // 设备利用率
  getEquipmentUtilizationStatisticsApi: productionId => getAction('/mdc/home/equipmentUtilizationStatistics', { productionId }),
  // 全厂前15天利用率折线图
  getEquipmentDayUtilizationStatisticsApi: productionId => getAction('/mdc/home/equipmentDayUtilizationStatistics', { productionId }),
  // 设备OEE统计
  getEquipmentOEEStatistics: productionId => getAction('/mdc/home/equipmentOEEStatistics', { productionId }),
  // 设备OEE和利用率对比
  getEquipmentMonthStatisticsApi: productionId => getAction('/mdc/home/equipmentMonthStatistics', { productionId }),
}