全量核查文件下载问题修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
98757b6c06
commit
5d09bd2159
|
|
@ -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)
|
||||
},
|
||||
// 获取质疑列表
|
||||
|
|
|
|||
Loading…
Reference in New Issue