gaoshp
2025-07-08 15c966fc40c0ddd0fb407dec1da8baef93d64391
更新导出名称
已修改1个文件
7 ■■■■■ 文件已修改
src/views/flowmgr/programexport.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/flowmgr/programexport.vue
@@ -1,7 +1,7 @@
<!--
 * @Date: 2025-06-20 20:48:17
 * @LastEditors: gaoshp
 * @LastEditTime: 2025-07-07 23:00:25
 * @LastEditTime: 2025-07-08 20:46:33
 * @FilePath: /mdmweb/src/views/flowmgr/programexport.vue
-->
<template>
@@ -177,8 +177,9 @@
                    {},
                    {ids: this.selection.map(item => item.id)},
                ).then(res => {
                    console.log(res);
                    downloadFile(res.data, `导出DNC${this.$dayjs().format('YYYY-MM-DD HH:mm:ss')}.zip`);
                    let name = res.headers['content-disposition'].split('filename=')[1]
                    console.log(res.headers['content-disposition'].split('filename=')[1]);
                    downloadFile(res.data, `导出DNC-${name}`);
                    NProgress.done();
                });
            });