From 7f76d4b5d52d9f6ae65c429fe26faf3a7f730dba Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期四, 27 二月 2025 10:56:02 +0800
Subject: [PATCH] 1、新增车间看板页面、大屏车间入口及大屏车间管理页面 2、新增vue-drag-resize和dataV插件

---
 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..c4d8c62 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: ({ month }) => postAction(`/mdc/mdcDownTime/computeMtbf?month=${month}`),
+  // 璁$畻MTTR
+  computeMTTRApi: ({ month }) => postAction(`/mdc/mdcRepairInfo/computeMttr?month=${month}`)
 }
\ No newline at end of file

--
Gitblit v1.9.3