From 577f56ea7c23952ab132c7473d174fb4598791b5 Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期四, 23 一月 2025 10:06:19 +0800 Subject: [PATCH] 新增设备故障停机时长和设备维修时长页面及完成相关功能 --- src/api/mdc.js | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/api/mdc.js b/src/api/mdc.js index 24833ba..4518a4e 100644 --- a/src/api/mdc.js +++ b/src/api/mdc.js @@ -1,7 +1,6 @@ import { getAction, deleteAction, putAction, postAction, httpAction } from '@/api/manage' export default { - // -------------------------------------椹卞姩鍙傛暟绠$悊椤甸潰---------------------------------------- // 鑾峰彇鎺у埗绯荤粺绫诲瀷 getDriveTypeApi: () => getAction('/mdc/mdcDriveTypeParamConfig/getDriveParamOptions'), // -------------------------------------杞﹂棿鐪嬫澘椤甸潰-------------------------------------------- @@ -41,5 +40,12 @@ // 鍒犻櫎璁惧鍙傛暟闃堝�� deleteParamThresholdApi: id => deleteAction('/mdc/mdcEquipmentThreshold/delete', { id }), // 鍒犻櫎璁惧鍙傛暟闃堝�� - deleteBatchParamThresholdApi: ids => deleteAction('/mdc/mdcEquipmentThreshold/deleteBatch', { ids }) + deleteBatchParamThresholdApi: ids => deleteAction('/mdc/mdcEquipmentThreshold/deleteBatch', { ids }), + // -------------------------------------OEE椤甸潰-------------------------------------------- + // 璁$畻OEE + computeOeeApi: params => postAction('/mdc/mdcOeeInfo/computeOee', params), + // 璁$畻MTBF + computeMTBFApi: params => postAction('/mdc/mdcDownTime/computeMtbf', params), + // 璁$畻MTTR + computeMTTRApi: params => postAction('/mdc/mdcRepairInfo/computeMttr', params) } \ No newline at end of file -- Gitblit v1.9.3