From 7e1762d879fc8b360e877a5828deef42eb14cc3b Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期三, 28 十月 2020 18:28:40 +0800
Subject: [PATCH] 引入simple-uploader源文件并更新assignBrowse方法,标注页面更新,首页分页器样式更新

---
 src/pages/cameraAccess/components/DataStackInfo.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/pages/cameraAccess/components/DataStackInfo.vue b/src/pages/cameraAccess/components/DataStackInfo.vue
index fffe4d0..94a4cb9 100644
--- a/src/pages/cameraAccess/components/DataStackInfo.vue
+++ b/src/pages/cameraAccess/components/DataStackInfo.vue
@@ -50,7 +50,7 @@
               <li>
                 <info-card
                   style="width: 100%;min-width: 440px"
-                  :realtime="PollData.RealTimeSum"
+                  :realtime="PollData.RealTimeValidCount"
                   :polling="PollData.PollValidCount"
                   :dataStack="PollData.stackChannelCount"
                 ></info-card>
@@ -143,7 +143,7 @@
             </el-image>
             <el-image
               v-if="row.type==2"
-              style="width: 30x; height: 30px"
+              style="width: 30x; height: 30px;background:#fff;"
               :src="`/files/${row.path.substr(row.path.lastIndexOf('/')+1)}`"
               fit="fill"
               :preview-src-list="[`/files/${row.path.substr(row.path.lastIndexOf('/')+1)}`]"
@@ -264,8 +264,8 @@
     </div>
 
     <!-- 鏂囦欢涓婁紶缁勪欢 -->
-    <!-- <file-uploader ref="uploader" v-show="activeName === 'uploading'" :attrs="attrs" /> -->
-    <file-uploader ref="uploader" v-show="activeName === 'uploading'" />
+    <file-uploader ref="uploader" v-show="activeName === 'uploading'" :attrs="attrs" />
+    <!-- <file-uploader ref="uploader" v-show="activeName === 'uploading'" /> -->
 
     <!-- 鏂囦欢棰勮 -->
     <el-dialog title="鏌ョ湅鏂囦欢" :visible.sync="previewDialog" width="500px">
@@ -439,7 +439,7 @@
           this.$set(this.attrs, 'accept', ".mp4");
         }else if (n == 2) {
           //鍥剧墖
-          this.$set(this.attrs, 'accept', "image/jpg,image/jpeg,image/png");
+          this.$set(this.attrs, 'accept', ".jpg,.jpeg,.png");
         }
       }
     }

--
Gitblit v1.8.0