管道基础大数据平台系统开发-【前端】-新系統界面
数据管理-项目管理目录结构上下调整失效,勘察信息表无信息弹出窗口颜色修改;二维地图不能切换
已修改4个文件
43 ■■■■■ 文件已修改
src/components/MapDiv.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/mapol.vue 36 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/mapsdk.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/Tools/AddOnlineMap.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/MapDiv.vue
@@ -228,7 +228,7 @@
      return this.levelArray[this.levelArray.length - 1]
    },
    showBaseMapLayer() {
      this.$refs && this.$refs.addOnlineMap && this.$refs.addOnlineMap.open("地下模式", null);
      this.$refs && this.$refs.addOnlineMap && this.$refs.addOnlineMap.open("在线地图", null);
    }
  },
  mounted() {
src/components/mapol.vue
@@ -97,22 +97,22 @@
    init2DMap() {
      var layerBase = [];
      if (!is_production) {
        var vectorLayer = new TileLayer({
          source: new XYZ({
            url: "http://wprd0{1-4}.is.autonavi.com/appmaptile?lang=zh_cn&size=1&style=7&x={x}&y={y}&z={z}",
          }),
        })
        var imageLayer = new TileLayer({
          source: new XYZ({
            url: "http://wprd0{1-4}.is.autonavi.com/appmaptile?lang=zh_cn&size=1&style=6&x={x}&y={y}&z={z}",
          }),
        })
        layerBase = [vectorLayer, imageLayer]
      }
      // if (!is_production) {
      //   var vectorLayer = new TileLayer({
      //     source: new XYZ({
      //       url: "http://wprd0{1-4}.is.autonavi.com/appmaptile?lang=zh_cn&size=1&style=7&x={x}&y={y}&z={z}",
      //     }),
      //   })
      //   var imageLayer = new TileLayer({
      //     source: new XYZ({
      //       url: "http://wprd0{1-4}.is.autonavi.com/appmaptile?lang=zh_cn&size=1&style=6&x={x}&y={y}&z={z}",
      //     }),
      //   })
      //   layerBase = [vectorLayer, imageLayer]
      // }
      window.map = new Map({
        target: "mapol",
        layers: layerBase,
        // layers: layerBase,
        view: new View({
          center: [105.02, 34.9],
          zoom: 4,
@@ -140,7 +140,13 @@
          })
        });
        window.map.addLayer(window.olBaseMapLayer);
      } else {
        window.olBaseMapLayer = new TileLayer({
          source: new XYZ({
            url: "http://wprd0{1-4}.is.autonavi.com/appmaptile?lang=zh_cn&size=1&style=6&x={x}&y={y}&z={z}",
          }),
        })
        window.map.addLayer(window.olBaseMapLayer);
      }
src/components/mapsdk.vue
@@ -1843,7 +1843,7 @@
      }
      if (!data.result.length) {
        this.$message.error("未查询到勘探信息数据");
        this.$message("未查询到勘探信息数据");
        return
      }
      this.showAttribute = !this.showAttribute;
src/views/Tools/AddOnlineMap.vue
@@ -237,6 +237,7 @@
    open() {
      this.close(true);
      this.$refs.pop.open();
    },
    changeToken(token) {
      this.mapCollection.tokne = token;
@@ -289,7 +290,7 @@
          format: "image/jpeg",
          tileMatrixSetID: "GoogleMapsCompatible",
        }))
        debugger
        window.olBaseMapLayer = new TileLayer({
          title: "高德地图",
          source: new XYZ({