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 |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/api/mdc.js b/src/api/mdc.js
index c1d0fd0..4518a4e 100644
--- a/src/api/mdc.js
+++ b/src/api/mdc.js
@@ -40,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