From 74479378a65ce1cb80a9386c5d66270f569ff77b Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期四, 11 三月 2021 10:55:41 +0800
Subject: [PATCH] 朔黄任务分配固定区域,避免按钮的上移

---
 src/pages/shuohuangMonitorAnalyze/components/taskManage.vue |   21 ++++++++++++++++++---
 1 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/src/pages/shuohuangMonitorAnalyze/components/taskManage.vue b/src/pages/shuohuangMonitorAnalyze/components/taskManage.vue
index 9e091a3..13da331 100644
--- a/src/pages/shuohuangMonitorAnalyze/components/taskManage.vue
+++ b/src/pages/shuohuangMonitorAnalyze/components/taskManage.vue
@@ -125,7 +125,7 @@
             type="primary"
             size="small"
             @click="distributeTask"
-            v-if="taskVideoChecked.length"
+            v-if="taskType==1&&taskVideoChecked.length"
           >鍒嗛厤浠诲姟</el-button>
         </div>
         <el-table
@@ -133,8 +133,9 @@
           :data="taskTableData"
           ref="elTable"
           @selection-change="taskTableSelection"
+          v-loading
         >
-          <el-table-column type="selection" width="55"></el-table-column>
+          <el-table-column v-if="taskType==1" type="selection" width="55"></el-table-column>
           <el-table-column prop="LocomotiveNumber" label="鏈鸿溅鍙�"></el-table-column>
           <el-table-column label="瑙嗛鏁伴噺">
             <template slot-scope="scope">
@@ -248,7 +249,7 @@
   },
   watch: {
     taskType (n, o) {
-      debugger
+      // debugger
       this.renderTaskTable();
     }
   },
@@ -312,6 +313,7 @@
           obj.checked = false;
           arr.push(obj);
         }
+        // debugger
         _this.trainNoList = arr;
         _this.trainNoTotal = res.total;
       });
@@ -446,6 +448,9 @@
         text-align: left;
         .el-checkbox-group {
           margin-bottom: 20px;
+          .el-checkbox__label{
+            display: none;
+          }
           .video-detail {
             i {
               //color: #409EFF;
@@ -457,6 +462,9 @@
     }
     .top-right {
       width: 360px;
+      height:465px;
+  // overflow-y:auto;
+
       .checked-org {
         flex: 1;
         text-align: left;
@@ -466,9 +474,16 @@
       }
       .person-list {
         padding-top: 14px;
+
+        .el-checkbox-group{
+                height: 316px;
+        margin-bottom: 8px;
+        overflow: auto;
+        }
         .person {
           text-align: left;
           margin-bottom: 10px;
+          
           padding-bottom: 6px;
           border-bottom: 1px solid #eee;
         }

--
Gitblit v1.8.0