From ef18be7b3104f115d72b3278d903a3a22d3bdee6 Mon Sep 17 00:00:00 2001
From: fhysy <1149505133@qq.com>
Date: Fri, 17 Oct 2025 15:37:15 +0800
Subject: [PATCH] =?UTF-8?q?feat(iot):=E9=87=8D=E6=9E=84=E8=BF=90=E8=A1=8C?=
=?UTF-8?q?=E7=8A=B6=E6=80=81=E5=92=8C=E8=AE=BE=E5=A4=87=E5=8A=9F=E8=83=BD?=
=?UTF-8?q?=E6=A8=A1=E5=9D=97=E9=80=82=E9=85=8D=E6=84=9F=E7=9F=A5=E5=B9=B3?=
=?UTF-8?q?=E5=8F=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 重新设计功能标签页结构,调整设备信息与功能模块的显示顺序
- 调整运行状态页面适配感知平台
- 适配新websocket格式
- 优化功能参数输入界面,支持多种表单控件类型(数字、滑块、开关、时间选择器等)
- 实现功能执行前的安全预检查机制(用户密码、固定密码、短信验证)
- 改进执行结果展示方式,使用pre标签格式化JSON数据显示
- 重构表单数据初始化逻辑,支持更精确的默认值设置
- 增强参数类型转换处理,确保数据格式正确性
- 优化代码结构和组件间通信方式,提升整体性能和可维护性
---
src/views/iot/device/profile/details.vue | 15 +-
src/views/iot/device/profile/functionWrap.vue | 1042 ++++++++++-------
src/views/profile/DeviceRunStarts/index.vue | 311 +++--
3 files changed, 832 insertions(+), 536 deletions(-)
diff --git a/src/views/iot/device/profile/details.vue b/src/views/iot/device/profile/details.vue
index e6c5d879..5d21b38c 100644
--- a/src/views/iot/device/profile/details.vue
+++ b/src/views/iot/device/profile/details.vue
@@ -54,6 +54,11 @@
>
+
{{ item.data }}