feat:火点更新

wuyanfu
guangyin 2023-05-24 15:45:09 +08:00
parent 324d0103a2
commit 203105e167
2 changed files with 85 additions and 27 deletions

View File

@ -9,6 +9,7 @@
class="tree-line" class="tree-line"
:indent="0" :indent="0"
icon-class="none" icon-class="none"
default-expand-all
highlight-current highlight-current
:current-node-key="currentNodeKey" :current-node-key="currentNodeKey"
@node-click="nodeClick" @node-click="nodeClick"

View File

@ -291,12 +291,12 @@ export const treeData = [
id: Mock.mock("@id"), id: Mock.mock("@id"),
label: '烟热训练设施', label: '烟热训练设施',
camera: [ camera: [
11660880.450625, 11660883.772656,
3692424.8075, 3692425.562188,
10.847578, 9.80382,
0, 0,
-40.95977, -36.440582,
163.245209, 161.437759,
2 2
], ],
data: { data: {
@ -308,9 +308,9 @@ export const treeData = [
title: '密闭空间烟热', title: '密闭空间烟热',
point: 1, point: 1,
position: [ position: [
11660878.08, 11660880.64,
3692424.3200000003, 3692424.96,
6.9294152832031255 7.898555297851563
], ],
// assetPath:"/JC_CustomAssets/ParticleLibrary/Exhibition/火/火焰_3", // assetPath:"/JC_CustomAssets/ParticleLibrary/Exhibition/火/火焰_3",
scale: [0.1, 0.1, 0.1], scale: [0.1, 0.1, 0.1],
@ -1771,12 +1771,12 @@ export const treeData = [
{ {
label: '槽罐车火灾事故处置训练设施', label: '槽罐车火灾事故处置训练设施',
camera:[ camera:[
11660924.781562, 11661033.36875,
3692475.529766, 3692469.821484,
26.426812, 10.530007,
0, 0,
-16.573666, -30.484076,
78.62841, 48.917656,
2 2
], ],
data: { data: {
@ -1789,12 +1789,12 @@ export const treeData = [
type: 'fire', type: 'fire',
point: '1', point: '1',
position: [ position: [
11660935.62, 11661038.08,
3692441.2800000003, 3692462.08,
4 5.27116943359375
], ],
assetPath: "/JC_CustomAssets/ParticleLibrary/Exhibition/火/火焰_3", assetPath: "/JC_CustomAssets/ParticleLibrary/Exhibition/火/火焰_3",
scale: [0.2, 0.2, 0.2], scale: [0.3, 0.3, 0.3],
needFocus:true, needFocus:true,
distance:3, distance:3,
img: img1, img: img1,
@ -1807,11 +1807,11 @@ export const treeData = [
type: 'fire', type: 'fire',
point: '1', point: '1',
position: [ position: [
11660935.62, 11661034.24,
3692441.2800000003, 3692461.44,
4 4.638316345214844
], ],
assetPath: "/JC_CustomAssets/ParticleLibrary/Exhibition/火/火焰_3", assetPath: "/JC_CustomAssets/ParticleLibrary/Exhibition/烟雾/烟雾_3",
scale: [0.2, 0.2, 0.2], scale: [0.2, 0.2, 0.2],
needFocus:true, needFocus:true,
distance:3, distance:3,
@ -1824,13 +1824,23 @@ export const treeData = [
title: '氮气泄露', title: '氮气泄露',
type: 'fire', type: 'fire',
point: '1', point: '1',
position: [ look:[
11660935.62, 11661029.520313,
3692441.2800000003, 3692459.537734,
4 6.277408,
0,
-31.90892,
-19.39926,
2
], ],
assetPath: "/JC_CustomAssets/ParticleLibrary/Exhibition/火/火焰_3", position: [
scale: [0.2, 0.2, 0.2], 11661034.24,
3692460.48,
3.2007153320312502
],
assetPath: "/JC_CustomAssets/ParticleLibrary/Exhibition/烟雾/烟雾_3",
scale: [0.5, 0.5, 0.5],
rotation:[0,-90,0],
needFocus:true, needFocus:true,
distance:3, distance:3,
img: img1, img: img1,
@ -1842,6 +1852,53 @@ export const treeData = [
}, },
children: [] children: []
}, },
{
label: '储电站火灾事故处置训练设施',
camera:[
11661006.465781,
3692464.516875,
16.885184,
0,
-24.473141,
151.198471,
2
],
data: {
content: '槽罐车火灾事故处置训练设施是一个模拟化工生产过程中可能发生火灾事故的专业化训练场地,旨在提高消防部队和应急救援人员对化工火灾事故的应对能力。通过模拟不同类型的化工火灾事故场景,训练设施对参训人员进行实战化、实用性强的教学培训。',
dataList: [
{
id: Mock.mock("@id"),
rate: 1,
title: '储电站火灾',
type: 'fire',
point: '1',
look: [
11660997.54125,
3692456.695937,
8.776907,
0,
-26.943729,
150.282318,
2
],
position: [
11660986.88,
3692454.72,
2.7989727783203127
],
assetPath: "/JC_CustomAssets/ParticleLibrary/Exhibition/火/火焰_3",
scale: [0.5, 0.5, 0.5],
needFocus:true,
distance:3,
img: img1,
content: '储电站火灾。',
mainPoint: "储电站火灾。"
}
]
},
children: []
},
] ]
}, },
{ {