From 7a173d873b252b4b04e6ff034a18f8b808ccab05 Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期五, 14 二月 2025 16:39:00 +0800
Subject: [PATCH] 设备结构树与mdc设备树接口分开为两个接口

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

diff --git a/src/api/dnc.js b/src/api/dnc.js
index 58366f3..0fba512 100644
--- a/src/api/dnc.js
+++ b/src/api/dnc.js
@@ -75,6 +75,8 @@
   },
 
   //-------------------------璁惧缁撴瀯鏍�------------------------------------------------
+  // 鑾峰彇璁惧鏍�
+  getDeviceTreeDataApi: () => getAction('/nc/device/queryTreeListByProduction'),
   // 鍒犻櫎鏂囨。
   deleteDeviceRelativeDocumentApi: ({ docId, attributionId }) => deleteAction(`doc/relative/delete/device/${docId}/${attributionId}`),
   // 鑾峰彇鏈夋潈闄愮殑鐢ㄦ埛鍒楄〃
@@ -86,5 +88,5 @@
   // 绉婚櫎鐢ㄦ埛鏉冮檺
   removeDeviceTreePermissionFromUser: ({ treeNodeType, treeNodeId, isAssignSonNode, userIdArray }) => {
     return postAction(`/nc/device/assign/remove/user/${treeNodeType}/${treeNodeId}/${isAssignSonNode}`, userIdArray)
-  },
+  }
 }
\ No newline at end of file

--
Gitblit v1.9.3