| | |
| | | |
| | | <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'; |
| | |
| | | menuWidth: 140, |
| | | menu: true, |
| | | dialogClickModal: false, |
| | | height:'auto', |
| | | calcHeight:170, |
| | | column: [ |
| | | |
| | | { |
| | |
| | | prop: 'processEdition' |
| | | }, |
| | | { |
| | | label: '图号版次', |
| | | label: '图纸版次', |
| | | prop: 'drawingNoEdition' |
| | | }, |
| | | { |
| | |
| | | prop: 'craftEdition' |
| | | }, |
| | | { |
| | | label: '偏离单号', |
| | | label: '临时更改单号', |
| | | prop: 'deviation' |
| | | }, |
| | | { |
| | |
| | | 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(); |
| | | }); |