|
@@ -150,7 +150,7 @@ export default {
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
handleExportClick({ xmId }) {
|
|
handleExportClick({ xmId }) {
|
|
|
- const exportParams = { xmId, ...this.params, costType: this.costType, yearAndMonth: this.yearAndMonth };
|
|
|
|
|
|
|
+ const exportParams = { xmId, ...this.params, type: this.costType, yearAndMonth: this.yearAndMonth };
|
|
|
exportBloByPost(`/api/kd-scientific/xm/cost/details/deduction-list/export?${this.website.tokenHeader}=${getToken()}`, exportParams).then(res => {
|
|
exportBloByPost(`/api/kd-scientific/xm/cost/details/deduction-list/export?${this.website.tokenHeader}=${getToken()}`, exportParams).then(res => {
|
|
|
downloadXls(res.data, `${this.pageTitle}.xlsx`);
|
|
downloadXls(res.data, `${this.pageTitle}.xlsx`);
|
|
|
});
|
|
});
|