管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2023-02-14 c1514cfc69b679d05398bb1def6b24c772426aa0
src/views/Synthesis/LeftMenu.vue
@@ -28,7 +28,14 @@
import { transform } from 'ol/proj';
import mapinfo from '../Tools/mapinfo.vue';
import maplayer from '../Tools/maplayer.vue';
import queryinfo from '../Tools/queryinfo.vue'
import queryinfo from '../Tools/queryinfo.vue';
import {
  OverviewMap,
  defaults as defaultControls,
  FullScreen,
  ScaleLine,
  Rotate,
} from "ol/control.js"
export default {
  components: { mapinfo, maplayer, queryinfo },
  data() {
@@ -368,7 +375,9 @@
      isolineFlag: false,
      isslopeFlag: false,
      isContrastFlag: false,
      UndergroundMode: false
      UndergroundMode: false,
      scaleLine: null,
      Excavation:false,
    };
  },
  methods: {
@@ -914,11 +923,11 @@
          }
          break
        case "d13":
          if (window.Excavation) {
            window.Excavation.destroy()
            window.Excavation = null
          if (this.Excavation ) {
            this.Excavation.destroy()
            this.Excavation = null
          } else {
            window.Excavation = sgworld.Analysis.create3DViewshedPoss({
            this.Excavation = sgworld.Analysis.create3DViewshedPoss({
              height: 1.8,
            })
          }
@@ -1115,10 +1124,21 @@
        case 'b7': //比例尺
          this.isRuler = !this.isRuler;
          window.sgworld.navControl('scale', this.isRuler);
          if (this.isRuler == true) {
            this.scaleLine = new ScaleLine({
              units: "metric"
            });
            window.map.addControl(this.scaleLine);
          } else {
            window.map.removeControl(this.scaleLine);
            this.scaleLine = false;
          }
          break;
        case 'b8': //指北针
          this.isNaviget = !this.isNaviget;
          window.sgworld.navControl('nav', this.isNaviget);
          this.$store.state.isNaviget = this.isNaviget
          break;
        case 'b9': //地下模式
          this.UndergroundMode = !this.UndergroundMode;
@@ -1171,8 +1191,6 @@
.menu_Box {
  width: 100%;
  height: 100%;
  background: #303030;
  color: white;
  margin: 0;
  padding: 0;
  overflow-y: auto;
@@ -1202,206 +1220,9 @@
    border: 1px solid #409eff;
  }
  .menuTwoImage {
    width: 32px;
    height: 32px;
    width: 40px;
    height: 40px;
    display: inline-block;
  }
  .twoMenu_imge11 {
    background: url("../../assets/img/synthesis/图层 32.png") no-repeat center;
  }
  .twoMenu_imge12 {
    background: url("../../assets/img/synthesis/图层 35.png") no-repeat center;
  }
  .twoMenu_imge13 {
    background: url("../../assets/img/synthesis/发布.png") no-repeat center;
  }
  //视图
  .twoMenu_imge21 {
    background: url("../../assets/img/synthesis/圆角矩形 12 拷贝 3.png")
      no-repeat center;
  }
  .twoMenu_imge22 {
    background: url("../../assets/img/synthesis/图层 10 拷贝.png") no-repeat
      center;
  }
  .twoMenu_imge23 {
    background: url("../../assets/img/synthesis/图层 11 拷贝.png") no-repeat
      center;
  }
  .twoMenu_imge24 {
    background: url("../../assets/img/synthesis/图层 12 拷贝 2.png") no-repeat
      center;
  }
  .twoMenu_imge25 {
    background: url("../../assets/img/synthesis/圆角矩形 5 拷贝 2.png")
      no-repeat center;
  }
  .twoMenu_imge26 {
    background: url("../../assets/img/synthesis/圆角矩形 5 拷贝 3.png")
      no-repeat center;
  }
  .twoMenu_imge27 {
    background: url("../../assets/img/synthesis/矩形 9.png") no-repeat center;
  }
  .twoMenu_imge28 {
    background: url("../../assets/img/synthesis/椭圆 4.png") no-repeat center;
  }
  .twoMenu_imge29 {
    background: url("../../assets/img/synthesis/z_03.png") no-repeat center;
  }
  //漫游
  .twoMenu_imge31 {
    background: url("../../assets/img/synthesis/椭圆 6.png") no-repeat center;
  }
  .twoMenu_imge32 {
    background: url("../../assets/img/synthesis/椭圆 7 拷贝 2.png") no-repeat
      center;
  }
  .twoMenu_imge33 {
    background: url("../../assets/img/synthesis/图层 14 副本 拷贝.png")
      no-repeat center;
  }
  .twoMenu_imge34 {
    background: url("../../assets/img/synthesis/图层 74 拷贝 2.png") no-repeat
      center;
  }
  .twoMenu_imge35 {
    background: url("../../assets/img/synthesis/椭圆 7 拷贝 4.png") no-repeat
      center;
  }
  //分析
  .twoMenu_imge41 {
    background: url("../../assets/img/synthesis/椭圆 8 拷贝 8.png") no-repeat
      center;
  }
  .twoMenu_imge42 {
    background: url("../../assets/img/synthesis/圆角矩形 12 拷贝 5.png")
      no-repeat center;
  }
  .twoMenu_imge43 {
    background: url("../../assets/img/synthesis/圆角矩形 10 副本 3.png")
      no-repeat center;
  }
  .twoMenu_imge44 {
    background: url("../../assets/img/synthesis/图层 74 拷贝 3.png") no-repeat
      center;
  }
  .twoMenu_imge45 {
    background: url("../../assets/img/synthesis/图层 20.png") no-repeat center;
  }
  .twoMenu_imge46 {
    background: url("../../assets/img/synthesis/图层 14 拷贝 3.png") no-repeat
      center;
  }
  .twoMenu_imge47 {
    background: url("../../assets/img/synthesis/图层 18.png") no-repeat center;
  }
  .twoMenu_imge48 {
    background: url("../../assets/img/synthesis/圆角矩形 12 拷贝 6.png")
      no-repeat center;
  }
  .twoMenu_imge49 {
    background: url("../../assets/img/synthesis/管道.png") no-repeat center;
  }
  .twoMenu_imge410 {
    background: url("../../assets/img/synthesis/dxkw.png") no-repeat center;
  }
  .twoMenu_imge411 {
    background: url("../../assets/img/synthesis/矩形 14 拷贝 7.png") no-repeat
      center;
  }
 // 通视分析、视域分析 预留
 .twoMenu_imge412 {
    background: url("../../assets/img/synthesis/矩形 14 拷贝 7.png") no-repeat
      center;
  }
  .twoMenu_imge413 {
    background: url("../../assets/img/synthesis/矩形 14 拷贝 7.png") no-repeat
      center;
  }
  .twoMenu_imge414 {
    background: url("../../assets/img/synthesis/矩形 14 拷贝 7.png") no-repeat
      center;
  }
  //查询
  .twoMenu_imge51 {
    background: url("../../assets/img/synthesis/图层 23.png") no-repeat center;
  }
  .twoMenu_imge52 {
    background: url("../../assets/img/synthesis/空间查询.png") no-repeat center;
  }
  //定位
  .twoMenu_imge61 {
    background: url("../../assets/img/synthesis/图层 27.png") no-repeat center;
  }
  .twoMenu_imge62 {
    background: url("../../assets/img/synthesis/图层 28.png") no-repeat center;
  }
  //测量
  .twoMenu_imge71 {
    background: url("../../assets/img/synthesis/图层 31.png") no-repeat center;
  }
  .twoMenu_imge72 {
    background: url("../../assets/img/synthesis/图层 31 拷贝.png") no-repeat
      center;
  }
  .twoMenu_imge73 {
    background: url("../../assets/img/synthesis/矩形 13 拷贝.png") no-repeat
      center;
  }
  .twoMenu_imge74 {
    background: url("../../assets/img/synthesis/图层 18 拷贝.png") no-repeat
      center;
  }
  .twoMenu_imge75 {
    background: url("../../assets/img/synthesis/M 拷贝.png") no-repeat center;
  }
  .twoMenu_imge76 {
    background: url("../../assets/img/synthesis/空间测距.png") no-repeat center;
  }
    // 高层量测图标
    .twoMenu_imge77 {
    background: url("../../assets/img/synthesis/图层 31 拷贝.png") no-repeat
      center;
  }
  //标绘
  .twoMenu_imge81 {
    background: url("../../assets/img/synthesis/椭圆 5 拷贝 3.png") no-repeat
      center;
  }
  .twoMenu_imge82 {
    background: url("../../assets/img/synthesis/椭圆 3 拷贝 16.png") no-repeat
      center;
  }
  .twoMenu_imge83 {
    background: url("../../assets/img/synthesis/椭圆 3 拷贝 20.png") no-repeat
      center;
  }
  .twoMenu_imge84 {
    background: url("../../assets/img/synthesis/椭圆 3 拷贝 23.png") no-repeat
      center;
  }
  .twoMenu_imge85 {
    background: url("../../assets/img/synthesis/导入.png") no-repeat center;
  }
  .twoMenu_imge86 {
    background: url("../../assets/img/synthesis/导出.png") no-repeat center;
  }
  .twoMenu_imge87 {
    background: url("../../assets/img/synthesis/清除.png") no-repeat center;
  }
  .twoMenu_imge88 {
    background: url("../../assets/img/synthesis/图层 32.png") no-repeat center;
  }
}
</style>