三维指令
parent
4a003de4ef
commit
e8fa52b780
|
@ -813,8 +813,31 @@ onMounted(() => {
|
||||||
// getStatInfo();
|
// getStatInfo();
|
||||||
// }, 3000);
|
// }, 3000);
|
||||||
handeleTable();
|
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);
|
let sourceFlag = ref(true);
|
||||||
// 荷页面标识
|
// 荷页面标识
|
||||||
|
@ -1719,7 +1742,6 @@ const styleVar = computed(() => {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.content_info {
|
.content_info {
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 89%;
|
width: 89%;
|
||||||
|
@ -1798,7 +1820,6 @@ const styleVar = computed(() => {
|
||||||
}
|
}
|
||||||
.long {
|
.long {
|
||||||
width: changeWidth(559.89);
|
width: changeWidth(559.89);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.photovoltaic_value1 {
|
.photovoltaic_value1 {
|
||||||
|
@ -2126,7 +2147,6 @@ const styleVar = computed(() => {
|
||||||
height: changeHeight(60);
|
height: changeHeight(60);
|
||||||
line-height: changeHeight(60);
|
line-height: changeHeight(60);
|
||||||
.photovoltaic_key1 {
|
.photovoltaic_key1 {
|
||||||
|
|
||||||
width: changeWidth(309.23);
|
width: changeWidth(309.23);
|
||||||
|
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
Loading…
Reference in New Issue