yangys
2025-09-09 729b698b17d7468acbc6c495746a72c9150fdaeb
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;