main
zhangqun 2 years ago
parent 2e9a064d2e
commit 9d087b3c85
  1. BIN
      public/img/cad/5C/5CS001.png
  2. BIN
      public/img/cad/5C/5CS002.png
  3. BIN
      public/img/cad/5C/5CS003.png
  4. BIN
      public/img/cad/5C/5CS004.png
  5. BIN
      public/img/cad/5C/5CS005.png
  6. BIN
      public/img/cad/7Q/7QP001.png
  7. BIN
      public/img/cad/7Q/7QP002.png
  8. BIN
      public/img/cad/7Q/7QP003.png
  9. BIN
      public/img/cad/7Q/7QP004.png
  10. BIN
      public/img/cad/7Q/7QP005.png
  11. BIN
      public/img/cad/7Q/7QP006.png
  12. BIN
      public/img/cad/7Q/7QP007.png
  13. BIN
      public/img/cad/7Q/7QP008.png
  14. BIN
      public/img/cad/7Q/7QP009.png
  15. BIN
      public/img/cad/7Q/7QP010.png
  16. BIN
      public/img/cad/7Q/7QP011.png
  17. BIN
      public/img/cad/7Q/7QP012.png
  18. BIN
      public/img/cad/7Q/7QP013.png
  19. BIN
      public/img/cad/7Q/7QP014.png
  20. BIN
      public/img/cad/E-W-8LS001-V0.dwg-154902613613.1.PNG
  21. BIN
      public/img/cad/peidian/4DS001.png
  22. BIN
      public/img/cad/peidian/4DS002.png
  23. BIN
      public/img/cad/peidian/4DS003.png
  24. BIN
      public/img/cad/peidian/4DS004.png
  25. BIN
      public/img/cad/peidian/4DS005.png
  26. BIN
      public/img/cad/peidianxiang/6BS001.png
  27. BIN
      public/img/cad/peidianxiang/6BS002.png
  28. BIN
      public/img/cad/peidianxiang/6BS003.png
  29. BIN
      public/img/cad/peidianxiang/6BS004.png
  30. BIN
      public/img/cad/peidianxiang/6BS005.png
  31. BIN
      public/img/cad/peidianxiang/6BS006.png
  32. BIN
      public/img/cad/peidianxiang/6BS007.png
  33. BIN
      public/img/cad/peidianxiang/6BS008.png
  34. BIN
      public/img/cad/peidianxiang/6BS009.png
  35. BIN
      public/img/cad/peidianxiang/6BS010.png
  36. BIN
      public/img/cad/peidianxiang/8LS001.png
  37. BIN
      public/img/cad/peidianxiang/qiangdian.png
  38. BIN
      public/img/cad/qiangdian_zpm.PNG
  39. BIN
      public/img/cad/wudingfanglei.png
  40. 408
      src/components/monitoring/clickCp.vue
  41. 4
      src/components/monitoring/lift.vue
  42. 4
      src/components/monitoring/light.vue
  43. 4
      src/components/monitoring/wall.vue
  44. 2
      src/components/monitoring/water.vue
  45. 1
      vue.config.js

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 837 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 913 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

@ -1,125 +1,167 @@
<template>
<div>
<div class="clickBox" v-if="bimModel == 1">
<div class="btnBox flex-center-center">
<div :class="[active == 1 ? 'active' : '', tower == 0 ? 'active2' : '']" class="btn tower"
@click="clickBtn(1, 0)">1#
<div v-if="sbType != '水' && sbType != '电子围界'">
<div class="clickBox" v-if="bimModel == 1">
<div class="btnBox flex-center-center">
<div :class="[active == 1 ? 'active' : '', tower == 0 ? 'active2' : '']" class="btn tower"
@click="clickBtn(1, 0)">1#
</div>
<div :class="[active == 2 ? 'active' : '', tower == 1 ? 'active2' : '']" class="btn tower"
@click="clickBtn(2, 1)">2#
</div>
<div :class="[active == 3 ? 'active' : '', tower == 2 ? 'active2' : '']" class="btn tower"
@click="clickBtn(3, 2)">3#
</div>
<div :class="[active == 4 ? 'active' : '', tower == 3 ? 'active2' : '']" class="btn tower"
@click="clickBtn(4, 3)">4#
</div>
<div :class="[active == 5 ? 'active' : '', tower == 4 ? 'active2' : '']" class="btn tower"
@click="clickBtn(5, 4)">5#
</div>
<div :class="[active == 6 ? 'active' : '', tower == 5 ? 'active2' : '']" class="btn tower"
@click="clickBtn(6, 5)">6#
</div>
<div :class="[active == 7 ? 'active' : '', tower == 0 ? 'active2' : '']" class="btn"
@click="clickBtn(7, 0, 1)">1F
</div>
<div :class="[active == 8 ? 'active' : '', tower == 1 ? 'active2' : '']" class="btn"
@click="clickBtn(8, 1, 1)">1F
</div>
<div :class="[active == 9 ? 'active' : '', tower == 2 ? 'active2' : '']" class="btn"
@click="clickBtn(9, 2, 1)">1F
</div>
<div :class="[active == 10 ? 'active' : '', tower == 3 ? 'active2' : '']" class="btn"
@click="clickBtn(10, 3, 1)">1F
</div>
<div :class="[active == 11 ? 'active' : '', tower == 4 ? 'active2' : '']" class="btn"
@click="clickBtn(11, 4, 1)">1F
</div>
<div :class="[active == 12 ? 'active' : '', tower == 5 ? 'active2' : '']" class="btn"
@click="clickBtn(12, 5, 1)">1F
</div>
<div :class="[active == 13 ? 'active' : '', tower == 0 ? 'active2' : '']" class="btn"
@click="clickBtn(13, 0, 2)">2F
</div>
<div :class="[active == 14 ? 'active' : '', tower == 1 ? 'active2' : '']" class="btn"
@click="clickBtn(14, 1, 2)">2F
</div>
<div :class="[active == 15 ? 'active' : '', tower == 2 ? 'active2' : '']" class="btn"
@click="clickBtn(15, 2, 2)">2F
</div>
<div :class="[active == 16 ? 'active' : '', tower == 3 ? 'active2' : '']" class="btn"
@click="clickBtn(16, 3, 2)">2F
</div>
<div :class="[active == 17 ? 'active' : '', tower == 4 ? 'active2' : '']" class="btn"
@click="clickBtn(17, 4, 2)">2F
</div>
<div :class="[active == 18 ? 'active' : '', tower == 5 ? 'active2' : '']" class="btn"
@click="clickBtn(18, 5, 2)">2F
</div>
<div :class="[active == 19 ? 'active' : '', tower == 0 ? 'active2' : '']" class="btn"
@click="clickBtn(19, 0, 3)">3F
</div>
<div :class="[active == 20 ? 'active' : '', tower == 1 ? 'active2' : '']" class="btn"
@click="clickBtn(20, 1, 3)">3F
</div>
<div :class="[active == 21 ? 'active' : '', tower == 2 ? 'active2' : '']" class="btn"
@click="clickBtn(21, 2, 3)">3F
</div>
<div :class="[active == 22 ? 'active' : '', tower == 3 ? 'active2' : '']" class="btn"
@click="clickBtn(22, 3, 3)">3F
</div>
<div :class="[active == 23 ? 'active' : '', tower == 4 ? 'active2' : '']" class="btn"
@click="clickBtn(23, 4, 3)">3F
</div>
<div :class="[active == 24 ? 'active' : '', tower == 5 ? 'active2' : '']" class="btn"
@click="clickBtn(24, 5, 3)">3F
</div>
</div>
<div :class="[active == 2 ? 'active' : '', tower == 1 ? 'active2' : '']" class="btn tower"
@click="clickBtn(2, 1)">2#
</div>
<div :class="[active == 3 ? 'active' : '', tower == 2 ? 'active2' : '']" class="btn tower"
@click="clickBtn(3, 2)">3#
</div>
<div :class="[active == 4 ? 'active' : '', tower == 3 ? 'active2' : '']" class="btn tower"
@click="clickBtn(4, 3)">4#
</div>
<div :class="[active == 5 ? 'active' : '', tower == 4 ? 'active2' : '']" class="btn tower"
@click="clickBtn(5, 4)">5#
</div>
<div :class="[active == 6 ? 'active' : '', tower == 5 ? 'active2' : '']" class="btn tower"
@click="clickBtn(6, 5)">6#
</div>
<div :class="[active == 7 ? 'active' : '', tower == 0 ? 'active2' : '']" class="btn"
@click="clickBtn(7, 0, 1)">1F
</div>
<div :class="[active == 8 ? 'active' : '', tower == 1 ? 'active2' : '']" class="btn"
@click="clickBtn(8, 1, 1)">1F
</div>
<div :class="[active == 9 ? 'active' : '', tower == 2 ? 'active2' : '']" class="btn"
@click="clickBtn(9, 2, 1)">1F
</div>
<div :class="[active == 10 ? 'active' : '', tower == 3 ? 'active2' : '']" class="btn"
@click="clickBtn(10, 3, 1)">1F
</div>
<div :class="[active == 11 ? 'active' : '', tower == 4 ? 'active2' : '']" class="btn"
@click="clickBtn(11, 4, 1)">1F
</div>
<div :class="[active == 12 ? 'active' : '', tower == 5 ? 'active2' : '']" class="btn"
@click="clickBtn(12, 5, 1)">1F
</div>
<div :class="[active == 13 ? 'active' : '', tower == 0 ? 'active2' : '']" class="btn"
@click="clickBtn(13, 0, 2)">2F
</div>
<div :class="[active == 14 ? 'active' : '', tower == 1 ? 'active2' : '']" class="btn"
@click="clickBtn(14, 1, 2)">2F
</div>
<div :class="[active == 15 ? 'active' : '', tower == 2 ? 'active2' : '']" class="btn"
@click="clickBtn(15, 2, 2)">2F
</div>
<div :class="[active == 16 ? 'active' : '', tower == 3 ? 'active2' : '']" class="btn"
@click="clickBtn(16, 3, 2)">2F
</div>
<div :class="[active == 17 ? 'active' : '', tower == 4 ? 'active2' : '']" class="btn"
@click="clickBtn(17, 4, 2)">2F
</div>
<div :class="[active == 18 ? 'active' : '', tower == 5 ? 'active2' : '']" class="btn"
@click="clickBtn(18, 5, 2)">2F
</div>
<div :class="[active == 19 ? 'active' : '', tower == 0 ? 'active2' : '']" class="btn"
@click="clickBtn(19, 0, 3)">3F
</div>
<div :class="[active == 20 ? 'active' : '', tower == 1 ? 'active2' : '']" class="btn"
@click="clickBtn(20, 1, 3)">3F
</div>
<div :class="[active == 21 ? 'active' : '', tower == 2 ? 'active2' : '']" class="btn"
@click="clickBtn(21, 2, 3)">3F
</div>
<div :class="[active == 22 ? 'active' : '', tower == 3 ? 'active2' : '']" class="btn"
@click="clickBtn(22, 3, 3)">3F
</div>
<div :class="[active == 23 ? 'active' : '', tower == 4 ? 'active2' : '']" class="btn"
@click="clickBtn(23, 4, 3)">3F
</div>
<div :class="[active == 24 ? 'active' : '', tower == 5 ? 'active2' : '']" class="btn"
@click="clickBtn(24, 5, 3)">3F
<div style="margin-top: 3px;" class="btnBox flex-center-center">
<div :class="[active == 25 ? 'active' : '']" class="btn2 flex-center-center" @click="clickBtn(25)">
<img src="/img/monitoring/clickBtn1.png">
<span>园区</span>
</div>
<div :class="[active == 26 ? 'active' : '']" class="btn2 flex-center-center" @click="clickBtn(26, 9)">
<img src="/img/monitoring/clickBtn2.png">
<span>地下室</span>
</div>
</div>
</div>
<div style="margin-top: 3px;" class="btnBox flex-center-center">
<div :class="[active == 25 ? 'active' : '']" class="btn2 flex-center-center" @click="clickBtn(25)">
<img src="/img/monitoring/clickBtn1.png">
<span>园区</span>
<div v-else class="clickBox1">
<!-- <img src="../../../public/img/monitoring/ktborder.png" class="kt-border kt-border1">
<img src="../../../public/img/monitoring/ktborder.png" class="kt-border kt-border2">
<img src="../../../public/img/monitoring/ktborder.png" class="kt-border kt-border3">
<img src="../../../public/img/monitoring/ktborder.png" class="kt-border kt-border4"> -->
<!-- <span :class="ttActive == 20?'active1':''" @click="clickTt(20)">塔台</span> -->
<span :class="ttActive == 3 ? 'active1' : ''" @click="clickTt(3)">辅楼</span>
<span :class="ttActive == 1 ? 'active1' : ''" @click="clickTt(1)">1F</span>
<span :class="ttActive == 2 ? 'active1' : ''" @click="clickTt(2)">2F</span>
<div :class="ttActive == 0 ? 'active1' : ''" style="display: flex;align-items: center;justify-content: center;">
<img src="../../../public/img/monitoring/tower-build.png" alt="">
<span @click="clickTt(0)">塔楼</span>
</div>
<div :class="[active == 26 ? 'active' : '']" class="btn2 flex-center-center" @click="clickBtn(26, 9)">
<img src="/img/monitoring/clickBtn2.png">
<span>地下室</span>
<div :class="ttActive == 20 ? 'active1' : ''"
style="display: flex;align-items: center;justify-content: center;">
<img src="../../../public/img/monitoring/clickBtn1.png" alt="" style="width: 22px;">
<span @click="clickTt(20)">园区</span>
</div>
</div>
</div>
<div v-else class="clickBox1">
<!-- <img src="../../../public/img/monitoring/ktborder.png" class="kt-border kt-border1">
<img src="../../../public/img/monitoring/ktborder.png" class="kt-border kt-border2">
<img src="../../../public/img/monitoring/ktborder.png" class="kt-border kt-border3">
<img src="../../../public/img/monitoring/ktborder.png" class="kt-border kt-border4"> -->
<!-- <span :class="ttActive == 20?'active1':''" @click="clickTt(20)">塔台</span> -->
<span :class="ttActive == 3 ? 'active1' : ''" @click="clickTt(3)">辅楼</span>
<span :class="ttActive == 1 ? 'active1' : ''" @click="clickTt(1)">1F</span>
<span :class="ttActive == 2 ? 'active1' : ''" @click="clickTt(2)">2F</span>
<div :class="ttActive == 0 ? 'active1' : ''"
style="display: flex;align-items: center;justify-content: center;">
<img src="../../../public/img/monitoring/tower-build.png" alt="">
<span @click="clickTt(0)">塔楼</span>
</div>
<div :class="ttActive == 20 ? 'active1' : ''"
style="display: flex;align-items: center;justify-content: center;">
<img src="../../../public/img/monitoring/clickBtn1.png" alt="" style="width: 22px;">
<span @click="clickTt(20)">园区</span>
</div>
</div>
</div>
<!-- <div class="mapDom" :style="{opacity:isMapViewer}" style="position: absolute;left: 105px;top: 250px;width: 250px;height: 180px;"></div> -->
<div v-if="active == 25" style="position:absolute;left:367px; top:40px;display: flex; flex-direction: column;">
<el-button style="
background-color: rgb(1, 238, 255);
color: rgb(23, 72, 167);
border: 0;
width: 100px;
" size="small" @click="openPreview('peidian')">配电系统图</el-button>
<el-button style="
background-color: white;
color: rgb(23, 72, 167);
border: 0;
width: 100px;margin: 10px 0 0 0;
" size="small" @click="openPreview('peidianxiang')">配电系统图</el-button>
<el-button style="
background-color: rgb(1, 238, 255);
color: rgb(23, 72, 167);
border: 0;
width: 100px;margin: 10px 0 0 0;
" size="small" @click="openPreview('wuding')">屋顶平面图</el-button>
<el-button style="
background-color: white;
color: rgb(23, 72, 167);
border: 0;
width: 100px;margin: 10px 0 0 0;
" size="small" @click="openPreview('qita')">其他图纸</el-button>
</div>
<div v-else style="position:absolute;left:367px; top:40px;display: flex; flex-direction: column;">
<el-button style="
background-color: rgb(1, 238, 255);
color: rgb(23, 72, 167);
border: 0;
width: 100px;
" size="small" @click="openPreview(active)">平面图纸</el-button>
</div>
<!-- 图片预览 -->
<el-image style="width: 0; height: 0;opacity: 0;" ref="preview" :src="url" :preview-src-list="srcList"></el-image>
<el-image-viewer
v-if="showViewer"
:on-close="closeViewer"
:url-list="srcList" style="width: 1000px;height:800px;left:50%;top:50%;margin-left:-500px;margin-top:-400px;overflow: hidden;" />
</div>
</template>
<script>
import * as bfHelper from '../../util/bfHelper';
import ElImageViewer from 'element-ui/packages/image/src/image-viewer'
export default {
components: { ElImageViewer },
props: {
sbType: {
type: String
@ -143,6 +185,32 @@ export default {
},
data() {
return {
//
//使el-image
cardImg: {
peidian: ['../../../img/cad/peidian/4DS001.png','../../../img/cad/peidian/4DS002.png','../../../img/cad/peidian/4DS003.png','../../../img/cad/peidian/4DS004.png','../../../img/cad/peidian/4DS005.png'],
peidianxiang: ['../../../img/cad/peidianxiang/6BS001.png','../../../img/cad/peidianxiang/6BS002.png','../../../img/cad/peidianxiang/6BS003.png','../../../img/cad/peidianxiang/6BS004.png','../../../img/cad/peidianxiang/6BS005.png','../../../img/cad/peidianxiang/6BS006.png','../../../img/cad/peidianxiang/6BS007.png','../../../img/cad/peidianxiang/6BS008.png','../../../img/cad/peidianxiang/6BS009.png','../../../img/cad/peidianxiang/6BS010.png'],
26: ['../../../img/cad/7Q/7QP001.png','../../../img/cad/7Q/7QP002.png'],
1: ['../../../img/cad/7Q/7QP003.png','../../../img/cad/7Q/7QP004.png','../../../img/cad/7Q/7QP005.png','../../../img/cad/7Q/7QP013.png','../../../img/cad/7Q/7QP014.png'],
2: ['../../../img/cad/7Q/7QP006.png','../../../img/cad/7Q/7QP007.png'],
3: ['../../../img/cad/7Q/7QP008.png','../../../img/cad/7Q/7QP009.png'],
wuding: ['../../../img/cad/7Q/7QP010.png','../../../img/cad/7Q/7QP011.png','../../../img/cad/7Q/7QP012.png'],
qita: ['../../../img/cad/5C/5CS001.png','../../../img/cad/5C/5CS002.png','../../../img/cad/5C/5CS003.png','../../../img/cad/5C/5CS004.png','../../../img/cad/5C/5CS005.png','../../../img/cad/peidianxaing/8LS001.png','../../../img/cad/peidianxaing/qiangdian.png','../../../img/cad/7Q/7QP012.png'],
},
//使el-image-viewer
// cardImg: {
// peidian: ['/img/cad/peidian/4DS001.png','/img/cad/peidian/4DS002.png','/img/cad/peidian/4DS003.png','/img/cad/peidian/4DS004.png','/img/cad/peidian/4DS005.png'],
// peidianxiang: ['/img/cad/peidianxiang/6BS001.png','/img/cad/peidianxiang/6BS002.png','/img/cad/peidianxiang/6BS003.png','/img/cad/peidianxiang/6BS004.png','/img/cad/peidianxiang/6BS005.png','/img/cad/peidianxiang/6BS006.png','/img/cad/peidianxiang/6BS007.png','/img/cad/peidianxiang/6BS008.png','/img/cad/peidianxiang/6BS009.png','/img/cad/peidianxiang/6BS010.png'],
// 26: ['/img/cad/7Q/7QP001.png','/img/cad/7Q/7QP002.png'],
// 1: ['/img/cad/7Q/7QP003.png','/img/cad/7Q/7QP004.png','/img/cad/7Q/7QP005.png','/img/cad/7Q/7QP013.png','/img/cad/7Q/7QP014.png'],
// 2: ['/img/cad/7Q/7QP006.png','/img/cad/7Q/7QP007.png'],
// 3: ['/img/cad/7Q/7QP008.png','/img/cad/7Q/7QP009.png'],
// wuding: ['/img/cad/7Q/7QP010.png','/img/cad/7Q/7QP011.png','/img/cad/7Q/7QP012.png'],
// qita: ['/img/cad/5C/5CS001.png','/img/cad/5C/5CS002.png','/img/cad/5C/5CS003.png','/img/cad/5C/5CS004.png','/img/cad/5C/5CS005.png','/img/cad/peidianxaing/8LS001.png','/img/cad/peidianxaing/qiangdian.png','/img/cad/7Q/7QP012.png'],
// },
showViewer: false,
url: '',
srcList: [],
active: 25,
tower: null,
layer: null,
@ -207,6 +275,38 @@ export default {
}
},
methods: {
//
openPreview(key) {
if([7,8,9,10,11,12].indexOf(key) > -1) {
//1F
this.url = this.cardImg[1][0];
this.srcList = this.cardImg[1];
} else if([13,14,15,16,17,18].indexOf(key) > -1) {
//2F
this.url = this.cardImg[2][0];
this.srcList = this.cardImg[2];
} else if([19,20,21,22,23,24].indexOf(key) > -1) {
//3F
this.url = this.cardImg[1][0];
this.srcList = this.cardImg[1];
} else if([1,2,3,4,5,6].indexOf(key) > -1) {
//
this.url = this.cardImg[1][0];
this.srcList = this.srcList.concat(this.cardImg[1]).concat(this.cardImg[2]).concat(this.cardImg[3]);
}
else{
this.url = this.cardImg[key][0];
this.srcList = this.cardImg[key];
}
// this.showViewer = true;//使el-image-viewer
// 使el-image
setTimeout(() => {
this.$refs.preview.clickHandler();
}, 500)
},
closeViewer() {
this.showViewer = false;
},
clickBtn(activeNum, tower, layer) {
if (this.sbType == '空调' && activeNum <= 6) {
return false;
@ -269,30 +369,30 @@ export default {
// this.$parent.openTotal();
this.$parent.setTowerLight('00');
bfHelper.setCameraStatus({
aspect: 1.889763779527559,
coordinateSystem: "world",
far: 960464.7787185954,
fov: 45,
name: "persp",
near: 105041.57557288553,
position: {
x: 114923.08877241895,
y: -391542.9803033385,
z: 219845.7809478254
},
target: {
x: -8729.420142852026,
y: 863922.0428858905,
z: -496665.6824418152
},
up: {
x: -0.048407478040169157,
y: 0.4914893345691443,
z: 0.8695372045373162
},
version: 1,
zoom: 1
});
aspect: 1.889763779527559,
coordinateSystem: "world",
far: 960464.7787185954,
fov: 45,
name: "persp",
near: 105041.57557288553,
position: {
x: 114923.08877241895,
y: -391542.9803033385,
z: 219845.7809478254
},
target: {
x: -8729.420142852026,
y: 863922.0428858905,
z: -496665.6824418152
},
up: {
x: -0.048407478040169157,
y: 0.4914893345691443,
z: 0.8695372045373162
},
version: 1,
zoom: 1
});
return
}
//
@ -328,31 +428,31 @@ export default {
}
//20221205-
// if(this.sbType == '' || this.sbType == '' || this.sbType == '' || this.sbType == ''){
bfHelper.setCameraStatus({
aspect: 1.889763779527559,
coordinateSystem: "world",
far: 960464.7787185954,
fov: 45,
name: "persp",
near: 105041.57557288553,
position: {
x: 114923.08877241895,
y: -391542.9803033385,
z: 219845.7809478254
},
target: {
x: -8729.420142852026,
y: 863922.0428858905,
z: -496665.6824418152
},
up: {
x: -0.048407478040169157,
y: 0.4914893345691443,
z: 0.8695372045373162
},
version: 1,
zoom: 1
});
bfHelper.setCameraStatus({
aspect: 1.889763779527559,
coordinateSystem: "world",
far: 960464.7787185954,
fov: 45,
name: "persp",
near: 105041.57557288553,
position: {
x: 114923.08877241895,
y: -391542.9803033385,
z: 219845.7809478254
},
target: {
x: -8729.420142852026,
y: 863922.0428858905,
z: -496665.6824418152
},
up: {
x: -0.048407478040169157,
y: 0.4914893345691443,
z: 0.8695372045373162
},
version: 1,
zoom: 1
});
// }
} else {
if (this.sbType == '监控') {

@ -179,8 +179,8 @@ export default {
pos: 0,
height: 5350,
offsetZ: 250,
path: "ws://192.168.1.3/blade-websocket/ws?lift",
// path: "ws://10.90.100.204/blade-websocket/ws?lift",
// path: "ws://192.168.1.3/blade-websocket/ws?lift",
path: "ws://10.90.100.204/blade-websocket/ws?lift",
socket: "",
arr: [], //
listData: [],

@ -281,8 +281,8 @@ export default {
},
data() {
return {
// path:'ws://10.90.100.204/blade-websocket/ws?light_kk',//socket
path:'ws://192.168.1.3/blade-websocket/ws?light_kk',//socket
path:'ws://10.90.100.204/blade-websocket/ws?light_kk',//socket
// path:'ws://192.168.1.3/blade-websocket/ws?light_kk',//socket
build: "00", //
floored: null, //
controlAll: 2, //

@ -1,6 +1,8 @@
<!-- 电子围界 -->
<template>
<div>
<!-- 各楼栋楼层切换 -->
<clickCp :bimModel="bimModel" sbType="电子围界" ref="clickcp"></clickCp>
<!-- 返回主视角 -->
<backHome :bimModel="bimModel" type="电子围界" dom=".mapDom"></backHome>
<div style="position: absolute; left: 84px; top: 20px" v-if="bimModel == 1">
@ -254,6 +256,7 @@
</template>
<script>
import clickCp from "./clickCp";
import * as bfHelper from "../../util/bfHelper";
import * as commonValue from "../../util/commonValue";
import backHome from "./backHome";
@ -274,6 +277,7 @@ export default {
},
components: {
backHome,
clickCp,
},
data() {
return {

@ -2,7 +2,7 @@
<!-- -->
<div v-if="waterState" class="water">
<!-- 各楼栋楼层切换 -->
<!-- <clickCp :bimModel="bimModel" sbType="水" ref="clickcp"></clickCp> -->
<clickCp :bimModel="bimModel" sbType="水" ref="clickcp"></clickCp>
<!-- 返回主视角 -->
<backHome :bimModel="bimModel" type="水" :waterModelOn="onList" :waterModelOff="offList" :waterModelAlarm="bjList"
dom=".mapDom"></backHome>

@ -27,6 +27,7 @@ module.exports = {
port: 1888,
proxy: {
"/bimfaceApi": {
// target: 'http://192.168.3.58:8001',
target: 'http://192.168.1.106:8001',
ws: true,
pathRewrite: {

Loading…
Cancel
Save