yangys
2025-08-20 4b04e45c82740e8aad72b8ac664884b3d17b090e
src/views/flowmgr/programexport.vue
@@ -73,6 +73,7 @@
                // simplePage: true,
                searchShow: true,
                searchMenuSpan: 6,
                searchEnter:true,
                dialogWidth: '60%',
                // tree: true,
                border: true,
@@ -86,23 +87,39 @@
               {
                        label: '流程标题',
                        prop: 'title',
                        with: 250
                    },
                    {
                        label: '图号',
                        label: '零组件号',
                        prop: 'drawingNo',
                    },
                    {
                        label: '图号版次',
                        prop: 'drawingNoEdition',
                        label: '工序号',
                        prop: 'processNo',
                        with: 75
                    },
                    {
                        label: '工序版次',
                        prop: 'processEdition',
                        with: 85
                    },
                    {
                        label: '工序名称',
                        prop: 'processName',
                        with: 85
                    },
                    {
                        label: '程序名称',
                        label: '图号版次',
                        prop: 'drawingNoEdition',
                        with: 85
                    },
                    {
                        label: '程序包名',
                        prop: 'name',
                        search: true,
                        with: 100
                    },
                    {
                        label: '通过时间',
@@ -130,6 +147,7 @@
                tip: false,
                // simplePage: true,
                searchShow: true,
                searchEnter:true,
                searchMenuSpan: 6,
                dialogWidth: '60%',
                // tree: true,
@@ -144,21 +162,35 @@
               {
                        label: '流程标题',
                        prop: 'title',
                        with: 200
                    },
                    {
                        label: '图号',
                        label: '零组件号',
                        prop: 'drawingNo',
                    },
                    {
                        label: '图号版次',
                        prop: 'drawingNoEdition',
                        label: '工序号',
                        prop: 'processNo',
                        width: 70
                    },
                    {
                        label: '工序版次',
                        prop: 'processEdition',
                        width: 85
                    },
                    {
                        label: '工序名称',
                        prop: 'processName',
                        width: 85
                    },
                    {
                        label: '程序名称',
                        label: '图号版次',
                        prop: 'drawingNoEdition',
                        width: 85
                    },
                    {
                        label: '程序包名',
                        prop: 'name',
                        search: true,
                    },
@@ -166,6 +198,11 @@
                        label: '通过时间',
                        prop: 'createTime',
                        sortable: true,
                    },
                    {
                        label: '导出人',
                        prop: 'exporter',
                        width: 70
                    },
                    {
                        label: '已办时间',
@@ -274,11 +311,12 @@
                    {},
                    {ids: this.selection.map(item => item.id)},
                ).then(res => {
                //console.log('status='+res.status)
                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]);
                  downloadFile(res.data, `${name}`);