From 9bc4c3cfe5a5e2a1404184fb2c2b5a96e58d31fd Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期二, 09 九月 2025 14:47:47 +0800
Subject: [PATCH] 增加异常文件列表

---
 src/views/flowmgr/backImport1.vue |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/views/flowmgr/backImport1.vue b/src/views/flowmgr/backImport1.vue
index 2b68b29..7d7e199 100644
--- a/src/views/flowmgr/backImport1.vue
+++ b/src/views/flowmgr/backImport1.vue
@@ -22,8 +22,8 @@
         </template> -->
       </avue-form>
     </el-dialog>
-    <el-dialog title="鏂囦欢鍚嶇О" append-to-body v-model="fileViewModel">
-      <el-table :data="tableData" border @row-click="showContent" max-height="200" highlight-current-row>
+    <el-dialog title="鏌ョ湅鏂囦欢" append-to-body v-model="fileViewModel">
+      <el-table :data="tableData" ref="filesTable" border @row-click="showContent" max-height="200" highlight-current-row>
         <el-table-column type="index" label="#" width="40" align="center"/>
         <el-table-column prop="name" label="绋嬪簭鍚嶇О"></el-table-column>
       </el-table>
@@ -117,6 +117,11 @@
     fileView(row) {
       this.tableData = row.files;
       this.fileViewModel = true;
+      if(this.tableData.length > 0){
+        this.showContent(this.tableData[0])
+        this.$refs.filesTable.setCurrentRow(this.tableData[0]);
+      }
+      
     },
     selectionChange(selection) {
       this.selection = selection;

--
Gitblit v1.9.3