From 9a07fed7b55d37d5e15df449b54b8c4b7e9a8e68 Mon Sep 17 00:00:00 2001
From: 1 <1@123>
Date: 星期日, 11 五月 2025 17:25:18 +0800
Subject: [PATCH] #
---
src/main/webapp/views/deviceOperate/rgvOperate.html | 58 ++++++++++++++++++++++++++++++++++------------------------
1 files changed, 34 insertions(+), 24 deletions(-)
diff --git a/src/main/webapp/views/deviceOperate/rgvOperate.html b/src/main/webapp/views/deviceOperate/rgvOperate.html
index d7146bd..4621705 100644
--- a/src/main/webapp/views/deviceOperate/rgvOperate.html
+++ b/src/main/webapp/views/deviceOperate/rgvOperate.html
@@ -55,6 +55,7 @@
<el-button @click="requestOperate('take')" type="primary">鍙栬揣</el-button>
<el-button @click="requestOperate('put')" type="primary">鏀捐揣</el-button>
<el-button @click="requestOperate('walk')" type="warning">琛岃蛋</el-button>
+ <el-button @click="requestOperate('del')" type="warning">浠诲姟娓呯┖</el-button>
</div>
</div>
</el-card>
@@ -62,36 +63,28 @@
<div style="width: 45%;">
<el-card class="box-card">
<div slot="header" class="clearfix">
- <span>璁惧鐘舵��</span>
+ <span>璁惧褰撳墠浠诲姟</span>
</div>
<div>
<div v-if="currentIndex == null">
<el-empty description="璇烽�夋嫨璁惧"></el-empty>
</div>
<div v-else>
- <el-descriptions :title="currentTitle" direction="vertical" :column="4" border>
- <el-descriptions-item label="绔欑偣">{{ tableData[currentIndex].devNo }}
- </el-descriptions-item>
- <el-descriptions-item label="宸ヤ綔鍙�">
- {{ tableData[currentIndex].workNo }}
- </el-descriptions-item>
- <el-descriptions-item label="鑷姩">{{ tableData[currentIndex].autoing }}
- </el-descriptions-item>
- <el-descriptions-item label="鏈夌墿">{{ tableData[currentIndex].loading }}
- </el-descriptions-item>
- <el-descriptions-item label="鍙叆">{{ tableData[currentIndex].inEnable }}
- </el-descriptions-item>
- <el-descriptions-item label="鍙嚭">{{ tableData[currentIndex].outEnable }}
- </el-descriptions-item>
- <el-descriptions-item label="鍏ュ簱鏍囪">{{ tableData[currentIndex].pakMk }}
- </el-descriptions-item>
- <el-descriptions-item label="绌烘澘淇″彿">{{ tableData[currentIndex].emptyMk }}
- </el-descriptions-item>
- <el-descriptions-item label="鐩爣绔�">{{ tableData[currentIndex].staNo }}
- </el-descriptions-item>
- <el-descriptions-item label="楂樹綆搴撲綅">{{ tableData[currentIndex].locType1 }}
- </el-descriptions-item>
- </el-descriptions>
+ <el-table ref="singleTable" :data="taskAllData" highlight-current-row @row-click="handleRowClick"
+ max-height="450" style="width: 100%">
+ <el-table-column property="rgvNo" label="灏忚溅鍙�">
+ </el-table-column>
+ <el-table-column property="taskNo" label="宸ヤ綔鍙�">
+ </el-table-column>
+ <el-table-column property="taskStatus" label="浣滀笟妯″紡">
+ </el-table-column>
+ <el-table-column property="isRunning" label="鐘舵��">
+ </el-table-column>
+ <el-table-column property="targetPosition" label="鐩爣瀹氫綅缃�">
+ </el-table-column>
+ <el-table-column property="direction" label="鏀惧悜">
+ </el-table-column>
+ </el-table>
</div>
</div>
</el-card>
@@ -103,6 +96,7 @@
el: '#app',
data: {
tableData: [],
+ taskAllData: [],
currentRow: null,
currentTitle: "鏈�夋嫨璁惧",
currentIndex: null,
@@ -137,6 +131,22 @@
this.formParam.taskNo = row.taskNo
this.formParam.rgvStaNo = row.rgvStaNo
this.formParam.rgvPosDestination = row.rgvPosDestination
+
+ this.getTaskAllData(index+1)
+ },
+ getTaskAllData(index) {
+ let that = this;
+ $.ajax({
+ url: baseUrl + "/rgv/task/cache/all",
+ headers: {
+ 'token': localStorage.getItem('token')
+ },
+ data: {rgvNo: index},
+ method: 'POST',
+ success: function (res) {
+ that.taskAllData = res.data
+ }
+ });
},
getTableData() {
let that = this;
--
Gitblit v1.9.1