yangys
2025-09-06 9ac5f1a6b99e8a07ebc4c4be082ced3c219f4e2e
src/views/statreport/approveTablePrint.vue
@@ -27,7 +27,6 @@
<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';
@@ -81,7 +80,7 @@
                        prop: 'processEdition'
                    },
                    {
                        label: '图号版次',
                        label: '图纸版次',
                        prop: 'drawingNoEdition'
                    },
                    {
@@ -142,6 +141,7 @@
                    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();
                });