master
“yu” 2024-07-17 15:12:24 +08:00
parent a84c96f9dd
commit b40ea601f0
2 changed files with 1667 additions and 1357 deletions

File diff suppressed because it is too large Load Diff

View File

@ -463,6 +463,7 @@ import { usrzApi } from "@/api/Osp/svgApi";
import { start } from "repl";
onMounted(() => {
send3D();
//
getPowerCurve_api();
//
@ -470,7 +471,29 @@ onMounted(() => {
//
getRunning_api();
});
const send3D = () => {
//
const list = {
location: "(X=-715146.324,Y=-1188697.616,Z=4422791.944)",
rotation: "Pitch=-83.545,Yaw=-91.394,Roll=0",
};
api_send("CameraMove", list, () => {
console.log("CameraMove");
});
// 线
const datadispaly = {
CityID: "12010",
status: "1", //01
};
api_send("ShowCityEdge", datadispaly, () => {
console.log("ShowCityEdge显示城南边界线");
});
//
const datadel = { status: "1" };
api_send("SelectChargingstation", datadel, () => {
console.log("SelectChargingstation,显示全部的变电站");
});
};
//
let currentData = reactive<any>({});
let currentLevel = ref<any>({});
@ -570,25 +593,24 @@ const hideRight = ref<boolean>(true); //默认页面显示 右边
//
onUnmounted(() => {
handleThree_out(); //线
hideLeft.value = false;
hideRight.value = false;
});
//
const handleThree = (val) => {
const list = {
location: "(X=18705617.163,Y=1826842.166,Z=4299675.505)",
rotation: "Pitch=-89.9,Yaw=-90.542,Roll=0",
const handleThree_out = () => {
// 线
const datadispaly = {
CityID: "12010",
status: "0", //01
};
api_send("CameraMove", list, () => {
console.log("CameraMove");
api_send("ShowCityEdge", datadispaly, () => {
console.log("ShowCityEdge隐藏城南边界线");
});
let _list = {
CityID: val,
status: "1",
};
api_send("ShowCityEdge", _list, () => {
console.log("ShowCityEdge");
//
const datadel = { status: "0" };
api_send("SelectChargingstation", datadel, () => {
console.log("SelectChargingstation,隐藏全部的充电站");
});
};
@ -1944,12 +1966,10 @@ const styleVar = computed(() => {
}
.el-select__placeholder {
color: #fff !important;
}
.el-radio__label {
color: #fff !important;
}
//
.el-button {