|
|
|
|
@ -1168,7 +1168,7 @@ import {
|
|
|
|
|
getLocalPositionRelativeToP4,
|
|
|
|
|
parseTime
|
|
|
|
|
} from '@/utils/tool'
|
|
|
|
|
const formUrl = 'http://192.168.1.123:5000/'
|
|
|
|
|
const formUrl = 'https://192.168.1.123:5000/'
|
|
|
|
|
const router = useRouter()
|
|
|
|
|
|
|
|
|
|
const date1 = ref([])
|
|
|
|
|
@ -1350,7 +1350,7 @@ const table1Current1 = (e,) => {
|
|
|
|
|
// ws连接
|
|
|
|
|
const getSocket = () => {
|
|
|
|
|
|
|
|
|
|
const socket = new WebSocket("ws://192.168.1.123:7789/ws");
|
|
|
|
|
const socket = new WebSocket("wss://192.168.1.123:7789/ws");
|
|
|
|
|
|
|
|
|
|
socket.addEventListener("open", () => {
|
|
|
|
|
console.log("✅ WebSocket 连接成功");
|
|
|
|
|
@ -2640,8 +2640,9 @@ watch(() => JSON.stringify([tableData1.value, areaPoints.value]), (oldVal, newVa
|
|
|
|
|
</script>
|
|
|
|
|
<style lang="less">
|
|
|
|
|
.app-container {
|
|
|
|
|
width: 1080px;
|
|
|
|
|
min-width: 1080px;
|
|
|
|
|
width: 100%;
|
|
|
|
|
//width: 1080px;
|
|
|
|
|
//min-width: 1080px;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
}
|
|
|
|
|
@ -2696,6 +2697,7 @@ watch(() => JSON.stringify([tableData1.value, areaPoints.value]), (oldVal, newVa
|
|
|
|
|
.left {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
height: calc(100vh - 80px);
|
|
|
|
|
min-height: 56vw;
|
|
|
|
|
width: 34%;
|
|
|
|
|
vertical-align: top;
|
|
|
|
|
position: relative;
|
|
|
|
|
@ -2719,6 +2721,7 @@ watch(() => JSON.stringify([tableData1.value, areaPoints.value]), (oldVal, newVa
|
|
|
|
|
padding: 20px 20px 0 20px;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
height: calc(100vh - 80px - 20px);
|
|
|
|
|
min-height: 56vw;
|
|
|
|
|
width: calc(66% - 40px);
|
|
|
|
|
background-color: #F6F7FB;
|
|
|
|
|
overflow: auto;
|
|
|
|
|
|