From e2726f9984cd169e184d6767594d2f4ed93610a0 Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期二, 30 七月 2024 10:00:46 +0800
Subject: [PATCH] 1、修改项目名称和logo 2、调整用户管理编辑字段 3、调整首页为设备监控页面

---
 src/api/mdc.js |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/src/api/mdc.js b/src/api/mdc.js
index cf25ea1..002c46f 100644
--- a/src/api/mdc.js
+++ b/src/api/mdc.js
@@ -5,5 +5,16 @@
   getDriveTypeApi: () => getAction('/mdc/mdcDriveTypeParamConfig/getDriveParamOptions'),
   // -------------------------------------璁惧鐢垫祦璐熻浇瀵规瘮椤甸潰--------------------------------------------
   // 鑾峰彇璁惧鐢垫祦璐熻浇瀵规瘮鍥捐〃鏁版嵁
-  getEquipCurrentLoadContrastChartDataApi: params => getAction('/mdc/equipmentElectricStatistical/getElectricValue', params)
+  getEquipCurrentLoadContrastChartDataApi: params => getAction('/mdc/equipmentElectricStatistical/getElectricValue', params),
+  // -------------------------------------璁惧鍙傛暟闃堝�肩鐞嗛〉闈�--------------------------------------------
+  // 鏍规嵁椹卞姩绫诲瀷鑾峰彇鍙傛暟
+  getParamListByDriveTypeApi: controlSystemType => getAction(`/mdc/mdcDriveTypeParamConfig/getDriveParamOptionsByType?controlSystemType=${controlSystemType}`),
+  // 澧炲姞璁惧鍙傛暟闃堝��
+  addParamThresholdApi: params => postAction('/mdc/mdcEquipmentThreshold/add', params),
+  // 缂栬緫璁惧鍙傛暟闃堝��
+  editParamThresholdApi: params => postAction('/mdc/mdcEquipmentThreshold/edit', params),
+  // 鍒犻櫎璁惧鍙傛暟闃堝��
+  deleteParamThresholdApi: id => deleteAction('/mdc/mdcEquipmentThreshold/delete', { id }),
+  // 鍒犻櫎璁惧鍙傛暟闃堝��
+  deleteBatchParamThresholdApi: ids => deleteAction('/mdc/mdcEquipmentThreshold/deleteBatch', { ids })
 }
\ No newline at end of file

--
Gitblit v1.9.3