From 525ff2d9596b6549d8dec43328160413e7cb3fb7 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期六, 09 八月 2025 14:04:01 +0800
Subject: [PATCH] dnc导出增加字段
---
src/views/flowmgr/programexport.vue | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/src/views/flowmgr/programexport.vue b/src/views/flowmgr/programexport.vue
index dfc6062..b1b018c 100644
--- a/src/views/flowmgr/programexport.vue
+++ b/src/views/flowmgr/programexport.vue
@@ -63,6 +63,10 @@
menu: false,
dialogClickModal: false,
column: [
+ {
+ label: '娴佺▼鏍囬',
+ prop: 'title',
+ },
{
label: '鍥惧彿',
prop: 'drawingNo',
@@ -171,6 +175,10 @@
type: 'warning',
}).then(() => {
console.log(this.selection)
+ if(this.selection == null || this.selection.length == 0){
+ this.$message.error('璇疯嚦灏戦�夋嫨涓�鏉″鍑�');
+ return;
+ }
NProgress.start();
exportBlobPost(
`/blade-mdm/program/exchange/export-dnc`,
@@ -179,7 +187,7 @@
).then(res => {
let name = res.headers['content-disposition'].split('filename=')[1]
console.log(res.headers['content-disposition'].split('filename=')[1]);
- downloadFile(res.data, `瀵煎嚭DNC-${name}`);
+ downloadFile(res.data, `${name}`);
NProgress.done();
});
});
--
Gitblit v1.9.3