管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2023-04-12 427c79adc8cae361c94a0aed952cd8d6ab55b4be
空间查询,属性查询目录修改
已修改3个文件
14 ■■■■■ 文件已修改
src/components/MapView/mapMenuTop.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/MapView/mapSpacePop.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/MapView/mapSpaceTop.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/MapView/mapMenuTop.vue
@@ -190,6 +190,7 @@
import { getToken } from "@/utils/auth"
import * as turf from "@turf/turf"
import { wktToGeoJSON } from "@terraformer/wkt"
import { getTreeData } from "@/utils/treeData.js"
export default {
  components: { queryinfo },
  data() {
@@ -355,6 +356,7 @@
      var val = data.result
      this.layerData = getTreeData(val)
      // var std = [];
      // val.filter((item) => {
      //   if (std.indexOf(item.bak) == -1) {
src/components/MapView/mapSpacePop.vue
@@ -998,7 +998,7 @@
          filter: "exppointid in '" + gid.toString() + "'"
        }
        var data2 = await dataQuerySelectByPage(obj)
        debugger
        if (data2.code == 200) {
          var val2 = data2.result;
          var std = [];
@@ -1049,7 +1049,7 @@
    },
    CreateLayerByZFBH(zfbh, jsonObj, materialColor) {
      debugger
      var featurePoints = [];
      var featurePoints1 = [];
      let points = turf.featureCollection([]);
src/components/MapView/mapSpaceTop.vue
@@ -94,12 +94,12 @@
        this.$message.error("列表调用失败");
      }
      var option = data.result;
      // this.layerData = option.filter((res) => {
      this.layerData = option.filter((res) => {
      //   return res;
        return res;
      // });
      this.layerData = getTreeData(option)
      });
      // this.layerData = getTreeData(option)
      // var val = data.result
      // var std = [];
      // val.filter((item) => {