From 3282e95db0207ee133d1e98d9771dec9d83b0fc4 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 02 四月 2026 16:24:38 +0800
Subject: [PATCH] 2026.4.2 新增专题管理功能
---
pages/inspection/scene/info/index.js | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/pages/inspection/scene/info/index.js b/pages/inspection/scene/info/index.js
index afaca46..14a9796 100644
--- a/pages/inspection/scene/info/index.js
+++ b/pages/inspection/scene/info/index.js
@@ -1,17 +1,16 @@
import { useDeviceList } from './devicelist-proxy.js';
-import { useDeviceLocation } from './device-location-proxy.js';
Page({
- behaviors: [useDeviceList, useDeviceLocation],
+ behaviors: [useDeviceList],
data: {
// 鍦烘櫙鍩烘湰淇℃伅
scene:{},
- // 鐩戞祴璁惧淇℃伅
- monitorDevices:[],
- // 娌荤悊璁惧淇℃伅
- treatmentDevices:[],
- // 鐢熶骇璁惧淇℃伅
- productionDevices:[],
+ // // 鐩戞祴璁惧淇℃伅
+ // monitorDevices:[],
+ // // 娌荤悊璁惧淇℃伅
+ // treatmentDevices:[],
+ // // 鐢熶骇璁惧淇℃伅
+ // productionDevices:[],
},
onLoad(options) {
@@ -20,6 +19,10 @@
this.setData({
scene: data.scene,
});
+ // [0, 1, 2].forEach(e => {
+ // this.fetchDeviceInfo(e);
+ // });
+ this.fetchAllDeviceInfo();
}
});
},
--
Gitblit v1.9.3