| | |
| | | |
| | | <script> |
| | | import { getDispatchTaskList } from '@/api/statreport/approvetable.js'; |
| | | import { exportBlob } from '@/api/common'; |
| | | import { exportBlobPost } from '@/api/common'; |
| | | import { downloadFile } from '@/utils/util'; |
| | | import { getToken } from '@/utils/auth'; |
| | |
| | | prop: 'processEdition' |
| | | }, |
| | | { |
| | | label: '图号版次', |
| | | label: '图纸版次', |
| | | prop: 'drawingNoEdition' |
| | | }, |
| | | { |
| | |
| | | let name = res.headers['content-disposition'].split('filename=')[1] |
| | | //console.log(res.headers['content-disposition'].split('filename=')[1]); |
| | | name = decodeURI(name) |
| | | console.log(name) |
| | | downloadFile(res.data, `${name}`); |
| | | NProgress.done(); |
| | | }); |