From accebdce93486d3b4f26e55ffdea047549cce20c Mon Sep 17 00:00:00 2001
From: cuijian <cuijian@xalxzn.com>
Date: 星期一, 28 七月 2025 21:12:38 +0800
Subject: [PATCH] Merge branch 'master' of http://125.76.225.53:18448/r/xhj/vue_mdc_xhj

---
 src/api/api.js |   21 +++++++++++++++++----
 1 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/src/api/api.js b/src/api/api.js
index e43da5b..9d4fb66 100644
--- a/src/api/api.js
+++ b/src/api/api.js
@@ -57,8 +57,14 @@
 const queryMyDepartTreeList = (params)=>getAction("/sys/sysDepart/queryMyDeptTreeList",params);
 
 //杞﹂棿绠$悊
+const queryFactoryTreeList = (params)=>getAction("/base/factory/queryTreeList",params);
+const queryById = (params)=>getAction("/base/factory/queryIdTree",params);
+const deleteByFactory   = (params)=>deleteAction("/base/factory/delete",params);
+
+//杞﹂棿绠$悊
 const queryProductionTreeList = (params)=>getAction("/mdc/mdcProduction/queryTreeList",params);
-const queryById = (params)=>getAction("/mdc/mdcProduction/queryIdTree",params);
+const queryProductionTreeListByMdc = (params)=>getAction("/mdc/mdcProduction/queryTreeListByMdc",params);
+// const queryById = (params)=>getAction("/mdc/mdcProduction/queryIdTree",params);
 const deleteByProduction   = (params)=>deleteAction("/mdc/mdcProduction/delete",params);
 
 
@@ -101,6 +107,9 @@
 //鍔犺浇鎴戠殑閫氬憡淇℃伅
 const getUserNoticeInfo= (params)=>getAction("/sys/sysAnnouncementSend/getMyAnnouncementSend",params);
 const getTransitURL = url => `/sys/common/transitRESTful?url=${encodeURIComponent(url)}`
+//绯荤粺閰嶇疆鍙傛暟鍊艰幏鍙�
+const getSystemConfigValue = (params)=>getAction("/system/sysParams/query/by/settingKey",params);
+
 // 涓浆HTTP璇锋眰
 export const transitRESTful = {
   get: (url, parameter) => getAction(getTransitURL(url), parameter),
@@ -165,11 +174,15 @@
   queryMyDepartTreeList,
   getUserNoticeInfo,
   getDictItemsFromCache,
-  queryProductionTreeList,
-  deleteByProduction,
+  queryFactoryTreeList,
+  deleteByFactory,
   queryById,
+  queryProductionTreeList,
+  queryProductionTreeListByMdc,
+  deleteByProduction,
   addEquipment,
-  editEquipment
+  editEquipment,
+  getSystemConfigValue
 }
 
 

--
Gitblit v1.9.3