| | |
| | | import { initeWaterPrimitiveView } from "@/utils/water"; |
| | | import { SimAPIStore } from "@/store/simAPI"; |
| | | import { EventBus } from "@/eventBus"; // 引入事件总线 |
| | | import { getDeviceInfoShg, getYLJData } from "@/api/hpApi"; |
| | | import { getDeviceInfo, getYLJData } from "@/api/hpApi"; |
| | | |
| | | // 获取 Store 实例 |
| | | const simStore = SimAPIStore(); |
| | |
| | | const getRainListAll = () => { |
| | | // 雨量计类型id |
| | | const ids = "1874719366287368194"; |
| | | getDeviceInfoShg(ids).then((res) => { |
| | | getDeviceInfo(ids, "110116110000").then((res) => { |
| | | rainListNoFilter.value = res.data.pageData; |
| | | // 根据当前选择的区域自动过滤 |
| | | updateShgListByArea(); |