[FIX] 修正 IoT 管理介面分頁持久化與實作 B055 遠端出貨 API
All checks were successful
star-cloud-deploy-demo / deploy-demo (push) Successful in 3m58s

1. 視圖持久化優化:將 index/stock 視圖切換從 x-if 改為 x-show,解決 HSSelect 在切換分頁後失效的問題。
2. 變數存取安全:為所有 selectedMachine 屬性存取補上可選鏈 (?.) 保護,防止 x-show 模式下的 null 錯誤。
3. UI 體驗提升:放大「指令中心」與「庫存管理」歷史紀錄的時間字體至 15px 並加粗顯示。
4. API 功能實作:在 routes/api.php 與 MachineController 中實作 B055 遠端指令出貨控制端點。
5. 文件同步:更新 SKILL.md 技術規格文件,明確定義 B055 的請求與回應格式。
6. 樣式調整:修改 app.css 優化奢華風 UI 字體與間距細節。
This commit is contained in:
2026-04-15 10:54:58 +08:00
parent f49938d1a7
commit 376f43fa3a
8 changed files with 1404 additions and 797 deletions

View File

@@ -62,9 +62,11 @@
"All": "全部",
"All Affiliations": "所有公司",
"All Categories": "所有分類",
"All Command Types": "所有指令類型",
"All Companies": "所有公司",
"All Levels": "所有層級",
"All Machines": "所有機台",
"All Status": "所有狀態",
"All Stable": "狀態穩定",
"All Times System Timezone": "所有時間為系統時區",
"Amount": "金額",
@@ -274,6 +276,7 @@
"Discord Notifications": "Discord通知",
"Dispense Failed": "出貨失敗",
"Dispense Success": "出貨成功",
"Displaying": "目前顯示",
"Dispensing": "出貨",
"Duration": "時長",
"Duration (Seconds)": "播放秒數",
@@ -393,7 +396,7 @@
"Initial Role": "初始角色",
"Installation": "裝機",
"Invoice Status": "發票開立狀態",
"Items": "個項目",
"Items": "",
"items": "筆項目",
"Japanese": "日文",
"JKO_MERCHANT_ID": "街口支付 商店代號",
@@ -631,7 +634,7 @@
"OEE.Hours": "小時",
"OEE.Orders": "訂單",
"OEE.Sales": "銷售",
"of": "總計",
"of": "/共",
"Offline": "離線",
"Offline Machines": "離線機台",
"Once your account is deleted, all of its resources and data will be permanently deleted. Before deleting your account, please download any data or information that you wish to retain.": "一旦您的帳號被刪除,其所有資源和數據將被永久刪除。在刪除帳號之前,請下載您希望保留的任何數據或資訊。",
@@ -853,6 +856,7 @@
"Select Category": "選擇類別",
"Select Company": "選擇公司名稱",
"Select Company (Default: System)": "選擇公司 (預設:系統)",
"Select Date Range": "選擇建立日期區間",
"Select date to sync data": "選擇日期以同步數據",
"Select Machine": "選擇機台",
"Select Machine to view metrics": "請選擇機台以查看指標",
@@ -908,6 +912,7 @@
"Stock & Expiry Overview": "庫存與效期一覽",
"Stock Management": "庫存管理單",
"Stock Quantity": "庫存數量",
"Stock Update": "同步庫存",
"Stock:": "庫存:",
"Store Gifts": "來店禮",
"Store ID": "商店代號",