diff --git a/src/views/work/Alarm.vue b/src/views/work/Alarm.vue
index e4e9edf..ab33c0c 100644
--- a/src/views/work/Alarm.vue
+++ b/src/views/work/Alarm.vue
@@ -277,7 +277,8 @@
label="问题附件"
>
-
+
@@ -316,6 +317,7 @@ const total = ref(0);
let showData = ref({})
let dialogShow = ref(false)
+let previewList = ref([])
const loading = ref(true);
@@ -323,6 +325,11 @@ const showFiles = (data) => {
alarmFiles(data.id).then(res => {
showData.value = data;
showData.value['files'] = res;
+ let arr = []
+ res.forEach(item => {
+ arr.push(item.path)
+ })
+ previewList.value = arr
console.log(showData.value)
dialogShow.value = true;
})