From a1bd5fc40223cee3445fc62b7555afee7bbcdab5 Mon Sep 17 00:00:00 2001
From: pjb <pjb123456>
Date: 星期二, 12 八月 2025 16:06:49 +0800
Subject: [PATCH] 小车异常

---
 src/main/webapp/views/index.html |   97 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 97 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/views/index.html b/src/main/webapp/views/index.html
index 6cced2e..bbcb785 100644
--- a/src/main/webapp/views/index.html
+++ b/src/main/webapp/views/index.html
@@ -100,6 +100,19 @@
             z-index: 1000; /* 纭繚鍦ㄥ叾浠栧厓绱犱箣涓� */
         }
 
+        .task-bar-right1 {
+            position: fixed;
+            top: 5%;
+            /*transform: translateY(-50%);*/
+            width: 25%; /* 璁剧疆瀹藉害 */
+            background-color: rgba(255, 255, 255, 0); /* 鍗婇�忔槑鑳屾櫙 */
+
+            border-radius: 5px;
+            padding: 10px;
+            box-shadow: 0 0 10px rgba(0, 0, 0, 0);
+            z-index: 1000; /* 纭繚鍦ㄥ叾浠栧厓绱犱箣涓� */
+        }
+
         .task-bar-right {
             position: fixed;
             top: 1%;
@@ -356,6 +369,10 @@
                             label="鐘舵��">
                     </el-table-column>
                     <el-table-column
+                            prop="error$"
+                            label="寮傚父">
+                    </el-table-column>
+                    <el-table-column
                             label="鎿嶄綔"
                             type="template">
                         <template slot-scope="scope">
@@ -370,6 +387,38 @@
                 </el-table>
             </div>
         </div>
+        <div class="task-bar-right1 right-task-bar">
+            <div>
+                <el-tooltip :content="'Switch value: ' + valueRight1" placement="top">
+                    <el-switch
+                            v-model="valueRight1"
+                            active-color="#13ce66"
+                            inactive-color="#ff4949"
+                            active-value="100"
+                            inactive-value="0">
+                    </el-switch>
+                </el-tooltip>
+            </div>
+            <div v-if="valueRight1 === '100' " class="task-bar-div1">
+                <el-table
+                        :data="tableDataRight1"
+                        style="width: 100%"
+                        :row-class-name="tableRowClassName">
+                    <el-table-column
+                            prop="rgvNo"
+                            label="灏忚溅鍙�">
+                    </el-table-column>
+                    <el-table-column
+                            prop="error"
+                            label="寮傚父">
+                    </el-table-column>
+                    <el-table-column
+                            prop="createTime$"
+                            label="璁板綍鏃ユ湡">
+                    </el-table-column>
+                </el-table>
+            </div>
+        </div>
     </div>
 
     <script>
@@ -379,6 +428,7 @@
                 activeNames: ['1'],
                 valueLeft: '0',
                 valueRight: '0',
+                valueRight1: '0',
                 licenseDay: ' ',
                 licenseDayI: 100,
                 valueSystem: false,
@@ -387,6 +437,7 @@
                 energyGatheringRing: [],
                 tableDataLeft: [],
                 tableDataRight: [],
+                tableDataRight1: [],
                 devpPos1:[
                     {dev_no: 116,pos:633980},
                     {dev_no: 117,pos:604043},
@@ -442,6 +493,7 @@
                     this.getTableDataTrack()
                     this.getTableDataLeft()
                     this.getTableDataRight()
+                    this.getTableDataRight1()
                     this.getValueSystem()
                     this.getLicenseDays()
 
@@ -451,6 +503,7 @@
                         this.getTableDataTrack()
                         this.getTableDataLeft()
                         this.getTableDataRight()
+                        this.getTableDataRight1()
                         this.getValueSystem()
                         this.getLicenseDays()
 
@@ -465,6 +518,18 @@
 
                         if (val.length >= 1){
                             this.handleChangeValueRight(1)
+                        }
+                    }
+                },
+                handleChange1(val) {
+                    console.log(val);
+                    if (val.length === 0){
+                        valueRight1 = '0';
+                    } else {
+                        console.log("2222"+val);
+
+                        if (val.length >= 1){
+                            this.handleChangeValueRight1(1)
                         }
                     }
                 },
@@ -537,6 +602,22 @@
                             valueRight = '100';
                         default:
                             valueRight = '0';
+                    }
+                },
+                handleChangeValueRight1(val) {
+                    console.log("33333"+val);
+
+                    switch (val){
+                        case 1:
+                            valueRight1 = '100';
+                        case 2:
+                            valueRight1 = '100';
+                        case 3:
+                            valueRight1 = '100';
+                        case 4:
+                            valueRight1 = '100';
+                        default:
+                            valueRight1 = '0';
                     }
                 },
                 tableRowClassName({row, rowIndex}) {
@@ -636,6 +717,22 @@
                         }
                     });
                 },
+                getTableDataRight1() {
+                    let that = this;
+                    $.ajax({
+                        url: baseUrl + "/rgv/task/rgv/circular/shuttle/mast/position/data/v1",
+                        headers: {
+                            'token': localStorage.getItem('token')
+                        },
+                        data: {},
+                        dataType: 'json',
+                        contentType: 'application/json;charset=UTF-8',
+                        method: 'post',
+                        success: function (res) {
+                            that.tableDataRight1 = res.data
+                        }
+                    });
+                },
                 getTableDataRgv() {
                     let that = this;
                     // that.tableDataRgv = busPsto

--
Gitblit v1.9.1