xiangpei
2025-03-17 b4fa6fafc2db40fba48676e38f4340ce14e99179
Merge branch 'dev'
1个文件已修改
23 ■■■■■ 已修改文件
src/views/components/Map/index.vue 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/components/Map/index.vue
@@ -281,17 +281,10 @@
    },
    showProjectStatusStr(status) {
      switch (status) {
        case "1":
          return "储备项目";
        case "2":
          return "前期项目";
        case "3":
          return "实施项目";
        case "4":
          return "竣工项目";
        case "5":
          return "异常项目";
        case "pendding":
          return "未开工";
        case "working":
          return "已开工";
        default:
          return "异常项目";
      }
@@ -410,11 +403,11 @@
            ? item.yearInvestAmount + "元"
            : "暂无数据",
          projectAddr: item.projectAddress,
          projectStatus: item.usedStatus,
          projectStatus: item.projectStatus,
        };
        _this.makeMask(item.longitude, item.latitude, config);
        if (item.longitude && item.longitude > maxX) {
          maxX = item.longitude;
        }
@@ -428,7 +421,7 @@
          minY = item.latitude;
        }
      });
      this.moveTo(
        (parseFloat(maxX) + parseFloat(minX)) / 2,
        (parseFloat(maxY) + parseFloat(minY)) / 2