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"; import { start } from "repl";
onMounted(() => { onMounted(() => {
send3D();
// //
getPowerCurve_api(); getPowerCurve_api();
// //
@ -470,7 +471,29 @@ onMounted(() => {
// //
getRunning_api(); 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 currentData = reactive<any>({});
let currentLevel = ref<any>({}); let currentLevel = ref<any>({});
@ -570,25 +593,24 @@ const hideRight = ref<boolean>(true); //默认页面显示 右边
// //
onUnmounted(() => { onUnmounted(() => {
handleThree_out(); //线
hideLeft.value = false; hideLeft.value = false;
hideRight.value = false; hideRight.value = false;
}); });
// //
const handleThree = (val) => { const handleThree_out = () => {
const list = { // 线
location: "(X=18705617.163,Y=1826842.166,Z=4299675.505)", const datadispaly = {
rotation: "Pitch=-89.9,Yaw=-90.542,Roll=0", CityID: "12010",
status: "0", //01
}; };
api_send("CameraMove", list, () => { api_send("ShowCityEdge", datadispaly, () => {
console.log("CameraMove"); console.log("ShowCityEdge隐藏城南边界线");
}); });
let _list = { //
CityID: val, const datadel = { status: "0" };
status: "1", api_send("SelectChargingstation", datadel, () => {
}; console.log("SelectChargingstation,隐藏全部的充电站");
api_send("ShowCityEdge", _list, () => {
console.log("ShowCityEdge");
}); });
}; };
@ -1942,14 +1964,12 @@ const styleVar = computed(() => {
.el-input__inner { .el-input__inner {
color: #fff !important; color: #fff !important;
} }
.el-select__placeholder{
.el-select__placeholder {
color: #fff !important; color: #fff !important;
} }
.el-radio__label{ .el-radio__label {
color: #fff !important; color: #fff !important;
} }
// //
.el-button { .el-button {
@ -1965,9 +1985,9 @@ const styleVar = computed(() => {
margin-left: changeHeight(180); margin-left: changeHeight(180);
} }
// //
.el-form-item{ .el-form-item {
height: changeHeight(80) !important; height: changeHeight(80) !important;
margin-bottom:changeHeight(50) !important; margin-bottom: changeHeight(50) !important;
} }
} }
} }