From a2bf670143f51ce7fc9ae77ba0c4f113fca5f0e4 Mon Sep 17 00:00:00 2001
From: taisheng <taisheng@qq.com>
Date: 星期二, 25 二月 2025 15:40:22 +0800
Subject: [PATCH] #
---
src/main/webapp/views/console.html | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html
index 2bd4961..7f5fb5d 100644
--- a/src/main/webapp/views/console.html
+++ b/src/main/webapp/views/console.html
@@ -60,8 +60,8 @@
<!--杈撳嚭灏忚溅-->
<div v-for="(car,idx) in currentLevShuttleList"
:style="{
- left: getCarPosition(car.wcsPoint.x,car.wcsPoint.y)[1]
- ,top: getCarPosition(car.wcsPoint.x,car.wcsPoint.y)[0]
+ left: getCarPosition(car.point.x,car.point.y)[1]
+ ,top: getCarPosition(car.point.x,car.point.y)[0]
,color: shuttleColorList[car.shuttleNo]
}"
class="sxcar" :id="'sxcar-' + car.shuttleNo">
@@ -78,7 +78,7 @@
<div>
<!-- <el-button @click="testMove()">娴嬭瘯绉诲姩杞�</el-button>-->
<el-button @click="resetMap()">閲嶇疆鍦板浘</el-button>
- <el-button @click="initLoc()">鍒濆鍖栧簱浣�</el-button>
+<!-- <el-button @click="initLoc()">鍒濆鍖栧簱浣�</el-button>-->
</div>
</div>
</div>
@@ -334,7 +334,7 @@
map: [],//鍦板浘鏁版嵁
currentLev: 1,//鍦板浘褰撳墠妤煎眰
siteWindow: false, //绔欑偣寮圭獥鏄剧ず榛樿涓嶆樉绀�
- floorList: [1, 2, 3], //褰撳墠椤圭洰妤煎眰
+ floorList: [1, 2, 3, 4], //褰撳墠椤圭洰妤煎眰
shuttleList: [], //鍥涘悜绌挎杞﹂泦鍚�
currentLevShuttleList: [],//褰撳墠妤煎眰鍥涘悜绌挎杞﹂泦鍚�
shuttleColorList: [],//鍥涘悜绌挎杞﹂鑹查泦鍚�
@@ -599,8 +599,8 @@
let tmp = null
tmp = setInterval(() => {
if (index < res.length) {
- that.currentLevShuttleList[0].wcsPoint.y = res[index].y
- that.currentLevShuttleList[0].wcsPoint.x = res[index].x
+ that.currentLevShuttleList[0].point.y = res[index].y
+ that.currentLevShuttleList[0].point.x = res[index].x
index++
}else {
clearInterval(tmp)
--
Gitblit v1.9.1