From 8499181e9d717bfc5a689d6a5f61c3b182f2f28e Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期四, 04 九月 2025 20:02:47 +0800
Subject: [PATCH] 提示改为alert
---
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