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