管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2023-09-11 5d73bad0d529727d9617496e41c35a5b7928ef30
钻孔柱状图修改
已修改1个文件
16 ■■■■ 文件已修改
src/components/MapView/mapSpacePop.vue 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/MapView/mapSpacePop.vue
@@ -674,7 +674,7 @@
      this.tableData = val
      this.$refs.filterTable.doLayout()
      // this.$refs.filterTable.doLayout()
    },
    async setCartesianToEightFour(entities) {
@@ -763,6 +763,7 @@
          )
          window.histogramHandler.setInputAction((event) => {
            var pick = sgworld.Viewer.scene.pick(event.endPosition);
            if (pick) {
            var propertiesFlag = that.$store.state.propertiesFlag
@@ -790,6 +791,8 @@
                that.$store.state.propertiesFlag = null
              }
            }
            }
          }, Cesium.ScreenSpaceEventType.MOUSE_MOVE)
        }, 500);
      }
@@ -906,7 +909,8 @@
      var coord = wkt.coordinates;
      var std = [];
      var num = res.elev;
      var num = res.elev == null ? 0 : res.elev;
      var height = 0;
      for (var i in data) {
        if (data[i].exppointid == exppointid) {
@@ -915,6 +919,7 @@
      }
      var outlineList = this.outlineList;
      if (std.length > 0) {
      for (var i in std) {
        var line;
        var geoname = std[i].geoname;
@@ -923,7 +928,7 @@
            return res
          }
        })
        console.log(1, col)
        if (col.length == 0) {
          col = outlineList.filter((ste) => {
            if (ste.name == '其他') {
@@ -934,6 +939,7 @@
        line = col[0].color
        var height = num - std[i].botdepth
          // console.log(num, std[i].botdepth)
        var layer = Viewer.entities.add({
          position: Cesium.Cartesian3.fromDegrees(coord[0], coord[1]),
          tag: 'Histogram',
@@ -954,6 +960,10 @@
        this.$store.state.histogramLayer.push(layer)
      }
      this.$store.state.histLenged = true;
      }
    },