管道基础大数据平台系统开发-【前端】-新系統界面
1
13693261870
2023-05-23 66730b6a1de4d0874e1fb286a170e41c8b485d86
1
已修改1个文件
7 ■■■■ 文件已修改
src/views/Tools/LayerTree.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/Tools/LayerTree.vue
@@ -227,7 +227,6 @@
    },
    // 鼠标右击事件
    rightClick (event, object, node, element) {
      debugger
      if (object.type == 1 || node.data.children != null) return;
      this.currentNode = node;
@@ -265,7 +264,7 @@
        return;
      }
      if (["TMS", "DOM", "DEM"].indexOf(this.currentData.serveType) > -1 && this.currentData.pubid) {
      if (["TMS", "DEM"].indexOf(this.currentData.serveType) > -1 && this.currentData.pubid) {
        var data = await comprehensive_selectPubById({ id: this.currentData.pubid });
        if (data.result && data.result.geom) {
          var wkt = this.$wkt.parse(data.result.geom);
@@ -292,10 +291,8 @@
    // 透明度
    pellucidity () {
      this.rmListener();
      this.menuVisible = false
      var tile = this.currentData
      for (var j in Viewer.scene.primitives._primitives) {
        if (Viewer.scene.primitives._primitives[j].id == tile.cnName) {
        if (Viewer.scene.primitives._primitives[j].id == this.currentData.cnName) {
          this.$store.state.setAlphaDity = this.currentData;
          this.$bus.$emit("showPellucidity", true);
          break;