YunaiV
|
d1a2601b6c
|
fix(iot): alert 模块对齐后端 VO + 搜索体验对齐 vben 实践(P1)
- alert/config API 删除多余字段 updateTime
- alert/record API 删除多余字段 deviceName / productName / processTime
- alert/record 搜索表单告警级别字段 configLevel → level ,
对齐后端 IotAlertRecordPageReqVO.level(之前提交后端不会按级别筛选)
- alert/record 搜索表单设备字段改用 ApiSelect + getSimpleDeviceList 全量加载,
showSearch / filterable 模糊搜索,对齐 vben 项目 13+ 处 ApiSelect 主流实践
- alert/config + alert/record 列表移除空跑 checkbox 列(无批量删除接口)
|
2026-05-21 16:39:30 +08:00 |
YunaiV
|
58f2e23654
|
fix: iot 补齐 vue3 源缺失的表单校验(P1)
- 物模型功能定义「数据类型」字段补 required 必填校验
- 产品选择器(ProductSelect)补搜索能力:antd 加 show-search + option-filter-prop ,ele 加 filterable
- 设备表单 onConfirm 增加 advancedFormApi.validate() 调用,
否则高级表单(含经纬度等字段)的 schema rules 不会触发
- 设备经纬度增加「成对填写」跨字段校验:仅填一项时给 warning 提示,
与 vue3 源 DeviceForm.vue 行为对齐
|
2026-05-21 14:43:06 +08:00 |
YunaiV
|
3f09fc1498
|
feat(iot): 优化 iot 的代码风格(迁移 constants.ts)地址
|
2026-05-20 23:11:02 +08:00 |
YunaiV
|
e816288b82
|
feat(iot): 迁移 ele 的 alert、device、product、ota、home、thingmodel 的实现
|
2026-05-20 13:31:27 +08:00 |