diff --git a/src/components/view/left/viewLeft.component.html b/src/components/view/left/viewLeft.component.html index ce1f4d0..aff7d3e 100644 --- a/src/components/view/left/viewLeft.component.html +++ b/src/components/view/left/viewLeft.component.html @@ -9,6 +9,7 @@ class="tree-line" :indent="0" icon-class="none" + default-expand-all highlight-current :current-node-key="currentNodeKey" @node-click="nodeClick" diff --git a/src/mock/treeData.ts b/src/mock/treeData.ts index d71e9c4..ec22d0b 100644 --- a/src/mock/treeData.ts +++ b/src/mock/treeData.ts @@ -291,12 +291,12 @@ export const treeData = [ id: Mock.mock("@id"), label: '烟热训练设施', camera: [ - 11660880.450625, - 3692424.8075, - 10.847578, + 11660883.772656, + 3692425.562188, + 9.80382, 0, - -40.95977, - 163.245209, + -36.440582, + 161.437759, 2 ], data: { @@ -308,9 +308,9 @@ export const treeData = [ title: '密闭空间烟热', point: 1, position: [ - 11660878.08, - 3692424.3200000003, - 6.9294152832031255 + 11660880.64, + 3692424.96, + 7.898555297851563 ], // assetPath:"/JC_CustomAssets/ParticleLibrary/Exhibition/火/火焰_3", scale: [0.1, 0.1, 0.1], @@ -1771,12 +1771,12 @@ export const treeData = [ { label: '槽罐车火灾事故处置训练设施', camera:[ - 11660924.781562, - 3692475.529766, - 26.426812, + 11661033.36875, + 3692469.821484, + 10.530007, 0, - -16.573666, - 78.62841, + -30.484076, + 48.917656, 2 ], data: { @@ -1789,12 +1789,12 @@ export const treeData = [ type: 'fire', point: '1', position: [ - 11660935.62, - 3692441.2800000003, - 4 + 11661038.08, + 3692462.08, + 5.27116943359375 ], assetPath: "/JC_CustomAssets/ParticleLibrary/Exhibition/火/火焰_3", - scale: [0.2, 0.2, 0.2], + scale: [0.3, 0.3, 0.3], needFocus:true, distance:3, img: img1, @@ -1807,11 +1807,11 @@ export const treeData = [ type: 'fire', point: '1', position: [ - 11660935.62, - 3692441.2800000003, - 4 + 11661034.24, + 3692461.44, + 4.638316345214844 ], - assetPath: "/JC_CustomAssets/ParticleLibrary/Exhibition/火/火焰_3", + assetPath: "/JC_CustomAssets/ParticleLibrary/Exhibition/烟雾/烟雾_3", scale: [0.2, 0.2, 0.2], needFocus:true, distance:3, @@ -1824,13 +1824,23 @@ export const treeData = [ title: '氮气泄露', type: 'fire', point: '1', - position: [ - 11660935.62, - 3692441.2800000003, - 4 + look:[ + 11661029.520313, + 3692459.537734, + 6.277408, + 0, + -31.90892, + -19.39926, + 2 ], - assetPath: "/JC_CustomAssets/ParticleLibrary/Exhibition/火/火焰_3", - scale: [0.2, 0.2, 0.2], + position: [ + 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, distance:3, img: img1, @@ -1842,6 +1852,53 @@ export const treeData = [ }, 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: [] + }, ] }, {