1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| import { useDeviceList } from './devicelist-proxy.js';
| import { useDeviceLocation } from './device-location-proxy.js';
|
| Page({
| behaviors: [useDeviceList, useDeviceLocation],
| data: {
| // 场景基本信息
| sceneInfo:{},
| // 监测设备信息
| monitorDevices:[],
| // 治理设备信息
| treatmentDevices:[],
| // 生产设备信息
| productionDevices:[],
| },
|
| onLoad(options) {
| this.getOpenerEventChannel().on('acceptSceneData', data => {
| if (data) {
| this.setData({
| scene: data.scene,
| });
| }
| });
| },
|
| onReachBottom() {},
| });
|
|