guonan
2025-06-06 cf4ed06dea0076e518319de24c5120bb3fe0dae9
src/views/left/KGSimOption/RealTimeSimulation.vue
@@ -78,7 +78,7 @@
import { initeWaterPrimitiveView } from "@/utils/water";
import { SimAPIStore } from "@/store/simAPI";
import { EventBus } from "@/eventBus"; // 引入事件总线
import { getDeviceInfo } from "@/api/hpApi";
import { getDeviceInfoShg } from "@/api/hpApi";
// 获取 Store 实例
const simStore = SimAPIStore();
@@ -117,7 +117,7 @@
const getRainListAll = () => {
  // 雨量计类型id
  const ids = "1874719366287368194";
  getDeviceInfo(ids).then((res) => {
  getDeviceInfoShg(ids).then((res) => {
    rainListNoFilter.value = res.data.pageData;
    // 根据当前选择的区域自动过滤
    updateShgListByArea();
@@ -188,7 +188,7 @@
    .filter((item) => item.selected)
    .map((item) => ({
      id: item.deviceCode,
      deviceName: item.deviceName,
      name: item.deviceName,
      x: item.longitude,
      y: item.latitude,
      r: 10000,