yangys
2025-08-20 1eb06fe948b92d9a3248f2f36da9cea819528b64
src/views/flowmgr/programexport.vue
@@ -1,7 +1,7 @@
<!--
 * @Date: 2025-06-20 20:48:17
 * @LastEditors: 李喆(开发组) lzhe@yxqiche.com
 * @LastEditTime: 2025-08-11 16:34:15
 * @LastEditors: gaoshp
 * @LastEditTime: 2025-08-17 10:17:27
 * @FilePath: /mdmweb/src/views/flowmgr/programexport.vue
-->
<template>
@@ -86,6 +86,7 @@
               {
                        label: '流程标题',
                        prop: 'title',
                        with: 250
                    },
                    {
                        label: '零组件号',
@@ -94,19 +95,30 @@
                    {
                        label: '工序号',
                        prop: 'processNo',
                        with: 75
                    },
                    {
                        label: '图号版次',
                        prop: 'drawingNoEdition',
                        label: '工序版次',
                        prop: 'processEdition',
                        with: 85
                    },
                    {
                        label: '工序名称',
                        prop: 'processName',
                        with: 85
                    },
                    {
                        label: '程序名称',
                        label: '图号版次',
                        prop: 'drawingNoEdition',
                        with: 85
                    },
                    {
                        label: '程序包名',
                        prop: 'name',
                        search: true,
                        with: 100
                    },
                    {
                        label: '通过时间',
@@ -148,6 +160,7 @@
               {
                        label: '流程标题',
                        prop: 'title',
                        with: 200
                    },
                    {
                        label: '零组件号',
@@ -156,27 +169,43 @@
                    {
                        label: '工序号',
                        prop: 'processNo',
                        width: 70
                    },
                    {
                        label: '图号版次',
                        prop: 'drawingNoEdition',
                        label: '工序版次',
                        prop: 'processEdition',
                        width: 85
                    },
                    {
                        label: '工序名称',
                        prop: 'processName',
                        width: 85
                    },
                    {
                        label: '程序名称',
                        label: '图号版次',
                        prop: 'drawingNoEdition',
                        width: 85
                    },
                    {
                        label: '程序包名',
                        prop: 'name',
                        search: true,
                    },
                    {
                        label: '通过时间',
                        prop: 'createTime',
                        sortable: true,
                    },
                    {
                        label: '导出人',
                        prop: 'exporter',
                        width: 70
                    },
                    {
                        label: '已办时间',
                        prop: 'updateTime',
                        sortable: true,
                    },
                    {
                        label: '通过时间',
@@ -188,6 +217,7 @@
                        valueFormat: 'YYYY-MM-DD HH:mm:ss',
                        searchRange: true,
                        searchSpan: 8,
                        sortable: true,
                    },
                ],
            }
@@ -284,6 +314,7 @@
                  //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}`);