siyouyou 3 mēneši atpakaļ
vecāks
revīzija
426161af4f

+ 1 - 1
src/components/videoPlayer/palyAndPlayback.vue

@@ -154,7 +154,7 @@ export default {
     },
     invites() {
       invites(this.$route.query.alarmId).then((res) => {
-        if (res.code == "200" && res.data) {
+        if (res.code == 200 && res.data) {
           console.log(res.data, "datafaf");
           this.cameraCodeUrl = res.data;
           this.cameraCodeVideo = "";

+ 19 - 1
src/views/alarmInformation/index.vue

@@ -78,7 +78,6 @@
             >
           </div>
         </div>
-
         <div
           v-if="searchShow == false"
           style="
@@ -365,6 +364,22 @@
             }}
           </template>
         </el-table-column>
+        <el-table-column
+                    label="报警图片"
+                    align="center"
+                    prop="imageUrl"
+                >
+                    <template slot-scope="scope">
+                        <el-image
+                        v-if="scope.row.imageUrls"
+                            style="width: 50px; height: 50px"
+                            cursor:pointer
+                            :src="scope.row.imageUrls[0]"
+                            fit="contain"
+                            @click="imagePreview(scope.row.imageUrls)"
+                        />
+                    </template>
+                </el-table-column>
         <el-table-column
           label="解除说明"
           align="center"
@@ -773,4 +788,7 @@ export default {
   background-color: #194da4;
   border: 1px solid #194da4;
 }
+::v-deep .he-img-view{
+  width: 200px !important;
+}
 </style>

+ 1 - 1
src/views/dashboard/index.vue

@@ -1192,7 +1192,7 @@ export default {
   margin-top: 8vh !important;
 
   .el-dialog__body {
-    padding: 6px !important;
+    padding: 20px  95px !important;
   }
 }