1.0
spaceId
[resource/params.spaceId]
group
管道是否按类型分组,缺省false不分组
9
false
query
poc
pipeId
spaceId
type
position
name
remark
=spaceId
='1'
pipeData
管线类型树
clmt('dict/pipe', null, 'rtn')
grid
管道分组
1
8
0
0
1
2
3
4
5
6
7
=query.group(type)
1
0
0
=query.type
type
0
1
=get(treeNode(pipeData, 'code', a1), 'name')
typeName
=query.list()
1
0
2
children
0
3
=query.pipeId
pipeId
0
4
=query.name
name
0
5
=query.position
position
0
6
=query.remark
remark
0
7
2
0
查询空间下的管道
2021-6-9 15:28
1
返回数据示例
分组:
{
"rtn": [
{
"type": "acch_water01",
"typeName": "热水管",
"children": [
{
"pipeId": "5171a317f01c4dd79407e954ff94419f",
"name": "水管11",
"position": "[{\"x\":12,\"y\":23},{\"x\":34,\"y\":45}]"
}
]
}
]
}
不分组:
{
"rtn": [
{
"pipeId": "5171a317f01c4dd79407e954ff94419f",
"spaceId": "Sp0002220011f170a7c74f8347589ea9863cfec65fab",
"type": "acch_water01",
"position": "[{\"x\":12,\"y\":23},{\"x\":34,\"y\":45}]",
"name": "水管11"
}
]
}
2021-6-9 15:46
0