gaoshp
2025-07-08 15c966fc40c0ddd0fb407dec1da8baef93d64391
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();
                });
            });