From ca1971f52b62c18efa1af540431175b8e8ec7cd3 Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期五, 06 六月 2025 17:06:50 +0800
Subject: [PATCH] *

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

diff --git a/src/main/webapp/views/index.html b/src/main/webapp/views/index.html
index 0c65f15..72ad13c 100644
--- a/src/main/webapp/views/index.html
+++ b/src/main/webapp/views/index.html
@@ -113,6 +113,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-div1 {
             /*width: 100%; !* 璁剧疆瀹藉害 *!*/
             background-color: rgba(255, 255, 255, 0.8); /* 鍗婇�忔槑鑳屾櫙 */
@@ -372,6 +385,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>
@@ -381,6 +426,7 @@
                 activeNames: ['1'],
                 valueLeft: '0',
                 valueRight: '0',
+                valueRight1: '0',
                 licenseDay: '宸茶繃鏈�',
                 licenseDayI: 100,
                 valueSystem: false,
@@ -389,6 +435,7 @@
                 energyGatheringRing: [],
                 tableDataLeft: [],
                 tableDataRight: [],
+                tableDataRight1: [],
                 devpPos1:[
                     {dev_no: 116,pos:633980},
                     {dev_no: 117,pos:604043},
@@ -444,6 +491,7 @@
                     this.getTableDataTrack()
                     this.getTableDataLeft()
                     this.getTableDataRight()
+                    this.getTableDataRight1()
                     this.getValueSystem()
                     this.getLicenseDays()
 
@@ -453,6 +501,7 @@
                         this.getTableDataTrack()
                         this.getTableDataLeft()
                         this.getTableDataRight()
+                        this.getTableDataRight1()
                         this.getValueSystem()
                         this.getLicenseDays()
 
@@ -483,6 +532,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)
                         }
                     }
                 },
@@ -555,6 +616,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}) {
@@ -656,6 +733,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