This commit is contained in:
13684185576
2025-11-06 11:42:13 +08:00
parent d127865f14
commit da6c07de87
4 changed files with 16880 additions and 14 deletions

View File

@ -1,4 +1,5 @@
const url = "ws://183.222.39.242:8006/mosty-api/mosty-websocket/socket/"; //线上
// const url = "ws://192.168.42.212:8006/mosty-api/mosty-websocket/socket/"; //本地
const url = "ws://118.122.165.45:35622/mosty-api/mosty-websocket/socket/"; //线上
import {
getItem
} from "@/utils/storage";

View File

@ -112,24 +112,13 @@ const handleUpdate = () => {
};
onMounted(async () => {
emitter.emit("addPointArea", {
coords: [{ jd: "104.454064", wd: "31.162123" }],
icon: require("@/assets/point/kfd.png"),
flag: "st"
});
// 设置当前日期
const today = new Date();
data.currentDate = today.toISOString().split("T")[0]; // 格式化为 YYYY-MM-DD
await getData();
emitter.on("showFzycInfo", (data) => {
taskDetailsRef.value?.open(data?.info);
});
emitter.emit("setMapCenter", {
location: [{ jd: "104.454064", wd: "31.162123" }],
zoomLevel: 14
});
});
</script>