智慧园区前端大屏
shuishen
2024-12-03 e68ee03553e51aa2d38327264d80d3adaf379499
src/views/companyInfo/components/box/fireTrend.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2023-03-13 14:54:26
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2024-12-02 21:23:17
 * @LastEditTime: 2024-12-03 00:22:00
 * @FilePath: \bigScreen\src\views\companyInfo\components\box\fireTrend.vue
 * @Description:
 *
@@ -17,6 +17,9 @@
let image = ref(VITE_APP_BASE + 'img/mapicon/yjwz.png')
const panoramaShow = ref(false)
const panoramaTitle = ref('')
const panoramaUrl = ref('')
const TableContent = ref(null)
const curTableHeight = ref(0)
const loading = ref(false)
@@ -122,6 +125,27 @@
    divIcon.attrParams = row
    let incident = (e) => {
      const { attrParams } = e.overlay
      console.log(attrParams, 894654)
      if (
        attrParams.panoramicUrl && attrParams.panoramicUrl.length > 0 &&
        attrParams.panoramicUrl.indexOf("http://vr.jxpskj.com:180") != -1
      ) {
        let panoramicUrl = attrParams.panoramicUrl.replace(
          "http://vr.jxpskj.com:180",
          "/panorama"
        )
        panoramaTitle.value = attrParams.name
        panoramaUrl.value = panoramicUrl
        panoramaShow.value = true
        return
      }
      // 删除
      destroyPupoLayers()
      if (picList.value.length == 0) {
@@ -180,6 +204,10 @@
  addPupoLayers = null
})
import { Search, Refresh } from '@element-plus/icons-vue'
const closePanoramaPopup = () => {
  panoramaShow.value = false
}
</script>
<template>
@@ -209,6 +237,9 @@
</el-table-column> -->
      </el-table>
    </div>
    <panorama v-show="panoramaShow" :title="panoramaTitle" :url="panoramaUrl" @closePanoramaPopup="closePanoramaPopup">
    </panorama>
  </div>
</template>