20260211:h5,支持分享出去的设备在当前账号也能查询显示

This commit is contained in:
George 2026-02-11 19:47:48 +08:00
parent f0fa257351
commit 3c7f37c9e6
3 changed files with 6 additions and 4 deletions

View File

@ -163,7 +163,7 @@
"base" : "./" "base" : "./"
}, },
"devServer" : { "devServer" : {
"port" : 8090 "port" : 82
}, },
"optimization" : { "optimization" : {
"treeShaking" : { "treeShaking" : {

View File

@ -236,12 +236,13 @@
return { return {
token: '', token: '',
groupList: [], // 分组列表 groupList: [], // 分组列表
// 查询参数 // 查询参数(showChild: true 包含分享的设备,本账号和被分享账号都能查看)
queryParams: { queryParams: {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
groupId: 0, groupId: 0,
deviceName: null deviceName: null,
showChild: true
}, },
loadStatus: 'loadmore', // 加载更多 loadStatus: 'loadmore', // 加载更多
deviceList: [], // 设备列表 deviceList: [], // 设备列表

View File

@ -148,7 +148,8 @@
pageNum: 1, pageNum: 1,
pageSize: 11, pageSize: 11,
deviceName: '', deviceName: '',
status: null status: null,
showChild: true // 包含分享的设备
}, },
list: [], // 产品列表 list: [], // 产品列表
total: 0, total: 0,