|
@@ -122,7 +122,7 @@ async function importBusiness(param: UploadRequestOptions) {
|
|
|
function exportContract() {
|
|
|
allLoading.exportLoading = true
|
|
|
post(EXPORT_CONTRACT, {}).then((res) => {
|
|
|
- downloadFile('合同导出.xlsx', res.data)
|
|
|
+ downloadFile(res.data, '合同导出.xlsx')
|
|
|
}).finally(() => {
|
|
|
allLoading.exportLoading = false
|
|
|
})
|