From d4d6b6d1070d49b3ec793c744ba4191b0cefefa4 Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期六, 27 二月 2021 16:56:27 +0800
Subject: [PATCH] 朔黄首页任务分析列表填充假数据,视频检索页列表收藏功能修复;摄像机目录树修改摄像机信息节点选中错位bug修复

---
 src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue
index ad3dce4..0b904a2 100644
--- a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue
+++ b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue
@@ -154,7 +154,7 @@
         </div>
       </div>
       <div class="content" v-show="showType == 'menu'">
-        <el-row :gutter="20" :align="bottom">
+        <el-row :gutter="20" >
           <el-col :xs="8" :sm="6" :md="6" :lg="6" v-for="data in tabData" :key="data.id">
             <div class="card">
               <div class="video-wrap" @click="checkVideoDetail(data)">
@@ -233,13 +233,18 @@
               >{{ scope.row.VideoName }}</div>
             </template>
           </el-table-column>
+
           <el-table-column label="澶у皬" prop="VideoSize" sortable></el-table-column>
           <el-table-column label="淇敼鏃ユ湡" prop="VideoUpdateDate" sortable></el-table-column>
           <el-table-column label="鍒涘缓鏃ユ湡" prop="VideoCreateDate" sortable></el-table-column>
+
           <el-table-column label="鎿嶄綔">
             <template slot-scope="scope">
               <div class="operation">
-                <i class="el-icon-star-off" @click="toggleFollow(scope.row)"></i>
+                <div class="star" @click="toggleFollow(scope.row)">
+                  <i class="iconfont" :class="[scope.row.IsFollow ? 'follow' : '', 'iconguanzhu']"></i>
+                </div>
+                <!-- <i class="el-icon-star-off" @click="toggleFollow(scope.row)"></i> -->
               </div>
             </template>
           </el-table-column>
@@ -315,7 +320,7 @@
       curTabPage: 1,
       curTablePage: 1,
       tabPageSize: 8,
-      pageSizes: [2, 8, 12, 24],
+      pageSizes: [ 8, 12, 24],
       tabTotal: 0,
       tablePageSize: 8,
       tableTotal: 0,
@@ -435,7 +440,7 @@
       this.eventDialogVisible = true;
       this.curEventDetail = label;
       let _this = this;
-      getEventVideo({Event:label.Event,LkgID:label.ParentID}).then(res=>{
+      getEventVideo({ Event: label.Event, LkgID: label.ParentID }).then(res => {
         _this.eventVideoArr = res.data;
         _this.curEvName = label.Event;
       })
@@ -993,6 +998,12 @@
         }
         .operation {
           cursor: pointer;
+          .star{
+            color: #ccc;
+          }
+          .follow{
+            color: #409eff;
+          }
         }
       }
       .pagination-center {

--
Gitblit v1.8.0