全量核查文件下载问题修改
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-10-24 09:49:16 +08:00
parent 98757b6c06
commit 5d09bd2159
1 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@
<template slot-scope="scope">
<el-button type="text" size="small" @click.stop="download(scope.row, 'RelativePath')">{{
scope.row.FileName
}}</el-button>
}}</el-button>
</template>
</el-table-column>
<!-- 核查状态 -->
@ -42,7 +42,7 @@
<template slot-scope="scope">
<el-button type="text" size="small" @click.stop="download(scope.row, 'ResultPath')">{{
$t('trials:consistencyCheck:fullCheck:ResultPath')
}}</el-button>
}}</el-button>
</template>
</el-table-column>
</el-table>
@ -86,7 +86,7 @@ export default {
async download(row, type) {
let url = this.OSSclientConfig.basePath + row[type]
let name = `DataReconciliation_${Date.now()}.xlsx`
if (type === 'RelativePath') name = row.fileName
if (type === 'RelativePath') name = row.FileName
await downLoadFile(url, name)
},
//