Commit 50862f989a511035dcb80c94d48ff50310b01b55
1 parent
b1b3be19
导出接口添加
Showing
1 changed file
with
2 additions
and
1 deletions
src/views/baseCaseHandling/index.vue
| ... | ... | @@ -283,9 +283,10 @@ export default { |
| 283 | 283 | } |
| 284 | 284 | this.exportBtnLoading = true; |
| 285 | 285 | request({ |
| 286 | - url: ``, | |
| 286 | + url: `/Extend/BaseCaseHandling/Actions/Export`, | |
| 287 | 287 | method: "POST", |
| 288 | 288 | data: query, |
| 289 | + responseType: 'blob', | |
| 289 | 290 | }).then((res) => { |
| 290 | 291 | const url = process.env.VUE_APP_BASE_API + res.data.url; |
| 291 | 292 | const link = document.createElement("a"); | ... | ... |