| | |
| | | }, |
| | | |
| | | //-------------------------设备结构树------------------------------------------------ |
| | | // 获取设备树 |
| | | getDeviceTreeDataApi: () => getAction('/nc/device/queryTreeListByProduction'), |
| | | // 删除文档 |
| | | deleteDeviceRelativeDocumentApi: ({ docId, attributionId }) => deleteAction(`doc/relative/delete/device/${docId}/${attributionId}`), |
| | | // 获取有权限的用户列表 |
| | |
| | | // 移除用户权限 |
| | | removeDeviceTreePermissionFromUser: ({ treeNodeType, treeNodeId, isAssignSonNode, userIdArray }) => { |
| | | return postAction(`/nc/device/assign/remove/user/${treeNodeType}/${treeNodeId}/${isAssignSonNode}`, userIdArray) |
| | | }, |
| | | } |
| | | } |