Commit 07e48656 by EDY

添加设备模型

parent f990904e
{
"id": "b720f18923c84ee8a5d459bc829164cd",
"appName": "entry-operation",
"code": "0",
"msg": "success",
"data": [
{
"id": "0745cc4811cc1cb778e9b11148680624",
"projectCode": "025",
"deviceCode": "0250102002011903040010006",
"deviceName": "02109电梯迫降B2F配电",
"system": "03",
"spaceId": null,
"type": "0304001",
"x": null,
"y": null,
"z": null,
"angleX": null,
"angleY": null,
"angleZ": null,
"deviceZoom": null,
"lng": "-196931.648",
"lat": "199008.5734",
"height": null,
"cosFileId": "e748eefcd3044066a56e441a1ede4a6f",
"fileUrl": "/equipment/xiaofangbufeng.glb",
"fileType": "glb",
"deviceHeight": "0",
"cameraView": null,
"modelZoom": "400"
},
{
"id": "2ed78eec8ef69887203607316b9a6684",
"projectCode": "025",
"deviceCode": "0250102002012503040010003",
"deviceName": "02126门吸控制B2F",
"system": "03",
"spaceId": null,
"type": "0304001",
"x": null,
"y": null,
"z": null,
"angleX": null,
"angleY": null,
"angleZ": null,
"deviceZoom": null,
"lng": null,
"lat": null,
"height": null,
"cosFileId": "e748eefcd3044066a56e441a1ede4a6f",
"fileUrl": "/equipment/xiaofangbufeng.glb",
"fileType": "glb",
"deviceHeight": "0",
"cameraView": null,
"modelZoom": "400"
},
{
"id": "3c35c0f2610a108c288afc04b3b31c7d",
"projectCode": "025",
"deviceCode": "0250102002011903040010001",
"deviceName": "02108电梯迫降B2F配电",
"system": "03",
"spaceId": null,
"type": "0304001",
"x": null,
"y": null,
"z": null,
"angleX": null,
"angleY": null,
"angleZ": null,
"deviceZoom": null,
"lng": null,
"lat": null,
"height": null,
"cosFileId": "e748eefcd3044066a56e441a1ede4a6f",
"fileUrl": "/equipment/xiaofangbufeng.glb",
"fileType": "glb",
"deviceHeight": "0",
"cameraView": null,
"modelZoom": "400"
},
{
"id": "47cd392900d2c44f6fbda0cfcd29e7ba",
"projectCode": "025",
"deviceCode": "0250102002011903040010008",
"deviceName": "02112强切B2F酒店配电间1",
"system": "03",
"spaceId": null,
"type": "0304001",
"x": null,
"y": null,
"z": null,
"angleX": null,
"angleY": null,
"angleZ": null,
"deviceZoom": null,
"lng": "-197991.6705",
"lat": "196595.3058",
"height": null,
"cosFileId": "e748eefcd3044066a56e441a1ede4a6f",
"fileUrl": "/equipment/xiaofangbufeng.glb",
"fileType": "glb",
"deviceHeight": "0",
"cameraView": null,
"modelZoom": "400"
},
{
"id": "52a0a7380b4fe7ed1b227f8775a1cfec",
"projectCode": "025",
"deviceCode": "0250102002011903040010004",
"deviceName": "02112强切B2F酒店配电间1",
"system": "03",
"spaceId": null,
"type": "0304001",
"x": null,
"y": null,
"z": null,
"angleX": null,
"angleY": null,
"angleZ": null,
"deviceZoom": null,
"lng": null,
"lat": null,
"height": null,
"cosFileId": "e748eefcd3044066a56e441a1ede4a6f",
"fileUrl": "/equipment/xiaofangbufeng.glb",
"fileType": "glb",
"deviceHeight": "0",
"cameraView": null,
"modelZoom": "400"
},
{
"id": "540f8baa9833ac422fddb2912268ee83",
"projectCode": "025",
"deviceCode": "0250102002012503040010004",
"deviceName": "02126门吸控制B2F",
"system": "03",
"spaceId": null,
"type": "0304001",
"x": null,
"y": null,
"z": null,
"angleX": null,
"angleY": null,
"angleZ": null,
"deviceZoom": null,
"lng": "-194385.547",
"lat": "188218.8589",
"height": null,
"cosFileId": "e748eefcd3044066a56e441a1ede4a6f",
"fileUrl": "/equipment/xiaofangbufeng.glb",
"fileType": "glb",
"deviceHeight": "0",
"cameraView": null,
"modelZoom": "400"
},
{
"id": "76b4b5b05d1d5035338651d166b8f3bd",
"projectCode": "025",
"deviceCode": "0250102002011903040010003",
"deviceName": "02111强切B2F酒店配电间1",
"system": "03",
"spaceId": null,
"type": "0304001",
"x": null,
"y": null,
"z": null,
"angleX": null,
"angleY": null,
"angleZ": null,
"deviceZoom": null,
"lng": null,
"lat": null,
"height": null,
"cosFileId": "e748eefcd3044066a56e441a1ede4a6f",
"fileUrl": "/equipment/xiaofangbufeng.glb",
"fileType": "glb",
"deviceHeight": "0",
"cameraView": null,
"modelZoom": "400"
},
{
"id": "827cf7cbc77402e6058c0845f76f3cd9",
"projectCode": "025",
"deviceCode": "0250102002012403040010001",
"deviceName": "02123风机控制B2F",
"system": "03",
"spaceId": null,
"type": "0304001",
"x": null,
"y": null,
"z": null,
"angleX": null,
"angleY": null,
"angleZ": null,
"deviceZoom": null,
"lng": null,
"lat": null,
"height": null,
"cosFileId": "e748eefcd3044066a56e441a1ede4a6f",
"fileUrl": "/equipment/xiaofangbufeng.glb",
"fileType": "glb",
"deviceHeight": "0",
"cameraView": null,
"modelZoom": "400"
},
{
"id": "c1d084b2ad748ce24bf832a7a4b1e90e",
"projectCode": "025",
"deviceCode": "0250102002011903040010007",
"deviceName": "02111强切B2F酒店配电间1",
"system": "03",
"spaceId": null,
"type": "0304001",
"x": null,
"y": null,
"z": null,
"angleX": null,
"angleY": null,
"angleZ": null,
"deviceZoom": null,
"lng": "-198657.719",
"lat": "196595.3035",
"height": null,
"cosFileId": "e748eefcd3044066a56e441a1ede4a6f",
"fileUrl": "/equipment/xiaofangbufeng.glb",
"fileType": "glb",
"deviceHeight": "0",
"cameraView": null,
"modelZoom": "400"
},
{
"id": "d0338e2ee4647be2c665511257e57bc5",
"projectCode": "025",
"deviceCode": "0250102002012503040010001",
"deviceName": "02124风机控制B2F",
"system": "03",
"spaceId": null,
"type": "0304001",
"x": null,
"y": null,
"z": null,
"angleX": null,
"angleY": null,
"angleZ": null,
"deviceZoom": null,
"lng": null,
"lat": null,
"height": null,
"cosFileId": "e748eefcd3044066a56e441a1ede4a6f",
"fileUrl": "/equipment/xiaofangbufeng.glb",
"fileType": "glb",
"deviceHeight": "0",
"cameraView": null,
"modelZoom": "400"
},
{
"id": "d33218041dd61e0f4aa7113e18a45fbc",
"projectCode": "025",
"deviceCode": "0250102002011903040010002",
"deviceName": "02109电梯迫降B2F配电",
"system": "03",
"spaceId": null,
"type": "0304001",
"x": null,
"y": null,
"z": null,
"angleX": null,
"angleY": null,
"angleZ": null,
"deviceZoom": null,
"lng": null,
"lat": null,
"height": null,
"cosFileId": "e748eefcd3044066a56e441a1ede4a6f",
"fileUrl": "/equipment/xiaofangbufeng.glb",
"fileType": "glb",
"deviceHeight": "0",
"cameraView": null,
"modelZoom": "400"
},
{
"id": "e8feab36f30454298ffad9d45a948013",
"projectCode": "025",
"deviceCode": "0250102002012503040010002",
"deviceName": "02125风机控制B2F",
"system": "03",
"spaceId": null,
"type": "0304001",
"x": null,
"y": null,
"z": null,
"angleX": null,
"angleY": null,
"angleZ": null,
"deviceZoom": null,
"lng": null,
"lat": null,
"height": null,
"cosFileId": "e748eefcd3044066a56e441a1ede4a6f",
"fileUrl": "/equipment/xiaofangbufeng.glb",
"fileType": "glb",
"deviceHeight": "0",
"cameraView": null,
"modelZoom": "400"
},
{
"id": "ed47e9add03845d8ac706397775b8aa9",
"projectCode": "025",
"deviceCode": "0250102002011903040010005",
"deviceName": "02108电梯迫降B2F配电",
"system": "03",
"spaceId": null,
"type": "0304001",
"x": null,
"y": null,
"z": null,
"angleX": null,
"angleY": null,
"angleZ": null,
"deviceZoom": null,
"lng": "-197282.2366",
"lat": "199510.0705",
"height": null,
"cosFileId": "e748eefcd3044066a56e441a1ede4a6f",
"fileUrl": "/equipment/xiaofangbufeng.glb",
"fileType": "glb",
"deviceHeight": "0",
"cameraView": null,
"modelZoom": "400"
}
]
}
......@@ -187,7 +187,9 @@ export default {
const { spaceId } = this.activeItem
if (!spaceId) return
this.loading = true
const { data = [] } = await api.getDeviceList(spaceId)
// const { data = [] } = await api.getDeviceList(spaceId)
const res = await this.$_axios.get('/mock/floor/equipment.json')
const { data = [] } = res.data
this.iotDeviceList = data
if (Array.isArray(data)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment