From f0a0f01ca70e852caf0300fd47d1840799c4d65d Mon Sep 17 00:00:00 2001 From: guonan <guonan201020@163.com> Date: 星期二, 10 六月 2025 11:08:34 +0800 Subject: [PATCH] 撒点 --- src/views/left/KGSimOption/RealTimeSimulation.vue | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/views/left/KGSimOption/RealTimeSimulation.vue b/src/views/left/KGSimOption/RealTimeSimulation.vue index 29ca253..0b34776 100644 --- a/src/views/left/KGSimOption/RealTimeSimulation.vue +++ b/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 { getDeviceInfoShg } from "@/api/hpApi"; +import { getDeviceInfoShg, getYLJData } from "@/api/hpApi"; // 鑾峰彇 Store 瀹炰緥 const simStore = SimAPIStore(); @@ -139,6 +139,8 @@ ...device, selected: true, // 榛樿閫変腑 })); + + console.log(shgList.value, "shgList.valueshgList.value"); }; // 涓嬫媺妗嗛�変腑鍊肩殑琛ㄦ牸鏁版嵁鍙樺寲 @@ -198,6 +200,9 @@ // 淇濆瓨鏂规 const saveSim = async () => { try { + getYLJData("1101160300070101").then((res) => { + console.log(res, "resres"); + }); updateSelectedGauges(); formData.geom = props.selectedArea; await simStore.addSimCheme(formData); -- Gitblit v1.9.3