From 5a79372c385070bae860636130d5d50420b00023 Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期四, 15 十月 2020 16:50:08 +0800
Subject: [PATCH] 应用中心算法图标统一加适配
---
src/pages/cameraAccess/components/DataStackInfo.vue | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/pages/cameraAccess/components/DataStackInfo.vue b/src/pages/cameraAccess/components/DataStackInfo.vue
index a2ce20f..8a29a18 100644
--- a/src/pages/cameraAccess/components/DataStackInfo.vue
+++ b/src/pages/cameraAccess/components/DataStackInfo.vue
@@ -140,9 +140,9 @@
<el-image
v-if="row.type==2"
style="width: 30x; height: 30px"
- :src="`/files/${row.identifier}.jpg`"
+ :src="`/files/${row.path.substr(row.path.lastIndexOf('/')+1)}`"
fit="fill"
- :preview-src-list="[`/files/${row.identifier}.jpg`]"
+ :preview-src-list="[`/files/${row.path.substr(row.path.lastIndexOf('/')+1)}`]"
>
<div slot="error" :class="snapshotClass"></div>
</el-image>
@@ -421,7 +421,7 @@
this.videoUrl = "/files/" + row.identifier + ".mp4"
}else if(row.type===2){
- this.imgUrl = "/files/" + row.identifier + ".jpg"
+ this.imgUrl = "/files/" + row.path.substr(row.path.lastIndexOf('/')+1)
}
},
// 娓呯┖杈撳叆妗�
@@ -445,7 +445,7 @@
this.fileList = [];
},
selectDir(node) {
- debugger
+
if (node.id === "") {
return
}
@@ -492,6 +492,7 @@
findAllFileByStackId({ name: this.searchInput, stackId: this.form.id, page: this.page, size: this.size, type: 0 }).then(rsp => {
if (rsp && rsp.success && rsp.data.total > 0) {
this.fileList = rsp.data.dataList;
+
this.total = rsp.data.total;
// 瀹氭椂鍒锋柊浼氭竻绌洪�変腑鐘舵�侊紝鍦ㄨ繖閲屾仮澶�
--
Gitblit v1.8.0