yangys
2025-09-13 b2cdc1af33e73ea1fdf6303d6548712634b28aa4
src/views/flowmgr/programexport.vue
@@ -28,7 +28,7 @@
                    <template #menu-left>
                        <!-- <el-button type="primary" plain @click="exportWebSite">导出回传涉密网</el-button> -->
                        <!-- <el-button type="primary" plain @click="reassign">挂载车床程序库</el-button> -->
                        <el-button type="primary" plain @click="exportExcel">导出</el-button>
                        <el-button type="primary" :disabled="this.selection.length==0" plain @click="exportExcel">导出</el-button>
                    </template>
                    <template #menu="scope">
                        <!-- <el-button type="primary" text size="default"
@@ -46,6 +46,7 @@
    import NProgress from 'nprogress';
    import { exportBlobPost } from '@/api/common';
    import { getToken } from '@/utils/auth';
    import {todoChangeNotify} from '@/api/flow/todolist';
    import { downloadFile } from '@/utils/util';
    export default {
    name: 'programexport',
@@ -110,7 +111,7 @@
                        with: 85
                    },
                    {
                        label: '图号版次',
                        label: '图纸版次',
                        prop: 'drawingNoEdition',
                        with: 85
                    },
@@ -184,7 +185,7 @@
                        width: 85
                    },
                    {
                        label: '图号版次',
                        label: '图纸版次',
                        prop: 'drawingNoEdition',
                        width: 85
                    },
@@ -336,8 +337,6 @@
                ).then(res => {
                console.log('status='+res.status)
               if(res.status == 200){
                  //console.log(res.data);
                  let name = res.headers['content-disposition'].split('filename=')[1]
                  name = decodeURI(name)
                  //console.log(res.headers['content-disposition'].split('filename=')[1]);
@@ -347,6 +346,7 @@
                  this.$message.error('导出错误');
                  console.log(res);
               }
                    todoChangeNotify();
                    NProgress.done();
                    this.onLoad(this.page, this.query);
                });