三维指令
parent
4a003de4ef
commit
e8fa52b780
|
@ -813,8 +813,31 @@ onMounted(() => {
|
|||
// getStatInfo();
|
||||
// }, 3000);
|
||||
handeleTable();
|
||||
send3D();
|
||||
});
|
||||
|
||||
const send3D = () => {
|
||||
// 显示城南位置
|
||||
const list = {
|
||||
location: "(X=117.327,Y=39.001,Z=44242.927)",
|
||||
rotation: "Pitch=-83.545,Yaw=-91.394,Roll=0",
|
||||
};
|
||||
api_send("CameraMove", list, () => {
|
||||
console.log("CameraMove");
|
||||
});
|
||||
// 显示城南边界线
|
||||
const datadispaly = {
|
||||
CityID: "12010",
|
||||
status: "1", //0隐藏1显示
|
||||
};
|
||||
api_send("ShowCityEdge", datadispaly, () => {
|
||||
console.log("ShowCityEdge显示城南边界线");
|
||||
});
|
||||
// 显示全部的变电站
|
||||
const datadel = { type: "ALL", Voltage_Level: "0", region: "0", status: "1" };
|
||||
api_send("SwitchStationstatus", datadel, () => {
|
||||
console.log("SwitchStationstatus,显示全部的变电站");
|
||||
});
|
||||
};
|
||||
// 源页面标识
|
||||
let sourceFlag = ref(true);
|
||||
// 荷页面标识
|
||||
|
@ -1719,7 +1742,6 @@ const styleVar = computed(() => {
|
|||
cursor: pointer;
|
||||
}
|
||||
.content_info {
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 89%;
|
||||
|
@ -1796,11 +1818,10 @@ const styleVar = computed(() => {
|
|||
color: #6ffbf7;
|
||||
}
|
||||
}
|
||||
.long{
|
||||
.long {
|
||||
width: changeWidth(559.89);
|
||||
|
||||
}
|
||||
|
||||
|
||||
.photovoltaic_value1 {
|
||||
margin-left: changeWidth(83.5);
|
||||
display: flex;
|
||||
|
@ -1822,7 +1843,7 @@ const styleVar = computed(() => {
|
|||
// color: #6ffbf7;
|
||||
// }
|
||||
}
|
||||
.short{
|
||||
.short {
|
||||
margin-left: 2%;
|
||||
}
|
||||
}
|
||||
|
@ -2067,7 +2088,7 @@ const styleVar = computed(() => {
|
|||
.content_info {
|
||||
// border: 1px saddlebrown solid;
|
||||
display: flex;
|
||||
|
||||
|
||||
height: changeHeight(319);
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
|
@ -2126,7 +2147,6 @@ const styleVar = computed(() => {
|
|||
height: changeHeight(60);
|
||||
line-height: changeHeight(60);
|
||||
.photovoltaic_key1 {
|
||||
|
||||
width: changeWidth(309.23);
|
||||
|
||||
justify-content: space-between;
|
||||
|
@ -2180,7 +2200,7 @@ const styleVar = computed(() => {
|
|||
}
|
||||
}
|
||||
}
|
||||
.xixiao{
|
||||
.xixiao {
|
||||
margin-top: 10%;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue