CMVR-BID/src/utils
lixiaolong e3a566cf28 feat(utils): 添加机器人设备工具函数
- 定义 DEVICE_KIND 枚举映射设备类型
- 创建 DEVICE_KIND_BY_ACTION 映射动作到设备类型
- 实现 getDeviceKindForAction 函数获取动作对应的设备类型
- 添加 toDeviceOptions 函数将设备列表转换为选择框选项格式
- 支持设备名称显示,若设备名存在则显示 "设备名 (设备ID)" 格式
2026-08-05 09:28:45 +08:00
..
generator feat: migrate frontend to Vue 3 2026-07-28 16:26:07 +08:00
auth.js init: 推送代码 2025-08-21 14:11:58 +08:00
convertNodeRedToVueFlow.js feat: migrate workflows to Vue Flow 2026-07-29 11:43:07 +08:00
dict.js feat: migrate frontend to Vue 3 2026-07-28 16:26:07 +08:00
dynamicTitle.js feat: migrate frontend to Vue 3 2026-07-28 16:26:07 +08:00
errorCode.js init: 推送代码 2025-08-21 14:11:58 +08:00
eventBus.js init: 推送代码 2025-08-21 14:11:58 +08:00
flow.js feat: optimize Vue Flow workflow editor 2026-07-29 16:17:39 +08:00
fn.js init: 推送代码 2025-08-21 14:11:58 +08:00
index.js feat: migrate frontend to Vue 3 2026-07-28 16:26:07 +08:00
jsencrypt.js init: 推送代码 2025-08-21 14:11:58 +08:00
passwordRule.js feat: migrate frontend to Vue 3 2026-07-28 16:26:07 +08:00
permission.js feat: migrate frontend to Vue 3 2026-07-28 16:26:07 +08:00
request.js feat: migrate frontend to Vue 3 2026-07-28 16:26:07 +08:00
requestController.js init: 推送代码 2025-08-21 14:11:58 +08:00
robotDevice.js feat(utils): 添加机器人设备工具函数 2026-08-05 09:28:45 +08:00
ruoyi.js feat: migrate frontend to Vue 3 2026-07-28 16:26:07 +08:00
scroll-to.js feat: migrate frontend to Vue 3 2026-07-28 16:26:07 +08:00
theme.js feat: migrate frontend to Vue 3 2026-07-28 16:26:07 +08:00
validate.js feat: migrate frontend to Vue 3 2026-07-28 16:26:07 +08:00