| | |
| | | <lims-table :tableData="tableDataFile" :column="columnFile" height="500px" key="tableDataFile" |
| | | :tableLoading="tableLoadingFile"></lims-table> |
| | | <el-dialog title="查看附件" :visible.sync="lookDialogVisible" width="800px" top="5vh" fullscreen append-to-body> |
| | | <filePreview v-if="lookDialogVisible" :fileUrl="javaApi + '/word/' + currentInfo.fileUrl" :currentFile="{}" |
| | | <filePreview v-if="lookDialogVisible" :fileUrl="currentInfo.fileMinioUrl" :currentFile="currentInfo" |
| | | style="max-height: 90vh;overflow-y: auto;" /> |
| | | </el-dialog> |
| | | </div> |
| | |
| | | name: '预览', |
| | | type: 'text', |
| | | clickFun: (row) => { |
| | | console.log('预览文件信息:', row) |
| | | this.currentInfo = row |
| | | this.lookDialogVisible = true |
| | | } |
| | |
| | | this.tableLoadingFile = false |
| | | if (res.code === 200) { |
| | | this.tableDataFile = res.data |
| | | console.log('文件列表数据:', this.tableDataFile) |
| | | } |
| | | }).catch(err => { |
| | | this.tableLoadingFile = false |