From dbb3445dc720a8f36b3424e73f2e02a6b0f9deb6 Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期日, 27 四月 2025 11:31:57 +0800 Subject: [PATCH] art: 从沃克项目迁移设备管理代码到航宇 --- src/api/api.js | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/api/api.js b/src/api/api.js index e43da5b..9c6111c 100644 --- a/src/api/api.js +++ b/src/api/api.js @@ -58,6 +58,7 @@ //杞﹂棿绠$悊 const queryProductionTreeList = (params)=>getAction("/mdc/mdcProduction/queryTreeList",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 +102,8 @@ //鍔犺浇鎴戠殑閫氬憡淇℃伅 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), @@ -166,10 +169,12 @@ getUserNoticeInfo, getDictItemsFromCache, queryProductionTreeList, + queryProductionTreeListByMdc, deleteByProduction, queryById, addEquipment, - editEquipment + editEquipment, + getSystemConfigValue } -- Gitblit v1.9.3