From 5a2bd164d3a831e39bf0defaddf181a97de36993 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期日, 05 四月 2026 23:28:42 +0800
Subject: [PATCH] #缓存数据清理
---
src/main/webapp/components/DevpCard.js | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/src/main/webapp/components/DevpCard.js b/src/main/webapp/components/DevpCard.js
index d9eb322..94deb26 100644
--- a/src/main/webapp/components/DevpCard.js
+++ b/src/main/webapp/components/DevpCard.js
@@ -27,13 +27,18 @@
<span class="mc-field-label">宸ヤ綔鍙�</span>
<input class="mc-input" v-model="controlParam.taskNo" placeholder="杈撳叆宸ヤ綔鍙�" />
</label>
+ <label class="mc-field">
+ <span class="mc-field-label">slotIdx</span>
+ <input class="mc-input" v-model="controlParam.slotIdx" placeholder="杈撳叆缂撳瓨绱㈠紩" />
+ </label>
<label class="mc-field mc-span-2">
<span class="mc-field-label">鐩爣绔�</span>
<input class="mc-input" v-model="controlParam.targetStationId" placeholder="杈撳叆鐩爣绔欏彿" />
</label>
<div class="mc-action-row">
<button type="button" class="mc-btn" @click="controlCommand">涓嬪彂</button>
- <button type="button" class="mc-btn mc-btn-soft" @click="clearPathCommand">娓呰矾寰�</button>
+ <button type="button" class="mc-btn mc-btn-soft" @click="clearPathByTaskNoCommand">宸ヤ綔鍙锋竻璺緞</button>
+ <button type="button" class="mc-btn mc-btn-soft" @click="clearPathBySlotCommand">绔欑偣娓呰矾寰�</button>
<button type="button" class="mc-btn mc-btn-soft" @click="resetCommand">澶嶄綅</button>
<button type="button" class="mc-btn mc-btn-ghost" @click="openStationTracePage">杩愯杞ㄨ抗</button>
<button v-if="showFakeTraceEntry" type="button" class="mc-btn mc-btn-ghost" @click="openFakeTracePage">浠跨湡杞ㄨ抗</button>
@@ -115,6 +120,7 @@
controlParam: {
stationId: "",
taskNo: "",
+ slotIdx: "",
targetStationId: ""
},
barcodePreviewCache: {},
@@ -495,9 +501,12 @@
controlCommand: function () {
this.postControl("/station/command/move", this.controlParam);
},
- clearPathCommand: function () {
+ clearPathByTaskNoCommand: function () {
this.postControl("/station/command/clearPath", this.controlParam);
},
+ clearPathBySlotCommand: function () {
+ this.postControl("/station/command/clearPathBySlot", this.controlParam);
+ },
resetCommand: function () {
this.postControl("/station/command/reset", this.controlParam);
}
--
Gitblit v1.9.1