From 057ce688e9fe904c1a74b2505531d5afc7acf43e Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期三, 10 九月 2025 23:03:56 +0800
Subject: [PATCH] 修复bug

---
 src/views/flowmgr/programexport.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/views/flowmgr/programexport.vue b/src/views/flowmgr/programexport.vue
index 0cb8c66..c5ba897 100644
--- a/src/views/flowmgr/programexport.vue
+++ b/src/views/flowmgr/programexport.vue
@@ -28,7 +28,7 @@
                     <template #menu-left>
                         <!-- <el-button type="primary" plain @click="exportWebSite">瀵煎嚭鍥炰紶娑夊瘑缃�</el-button> -->
                         <!-- <el-button type="primary" plain @click="reassign">鎸傝浇杞﹀簥绋嬪簭搴�</el-button> -->
-                        <el-button type="primary" plain @click="exportExcel">瀵煎嚭</el-button>
+                        <el-button type="primary" :disabled="this.selection.length==0" plain @click="exportExcel">瀵煎嚭</el-button>
                     </template>
                     <template #menu="scope">
                         <!-- <el-button type="primary" text size="default"
@@ -46,6 +46,7 @@
     import NProgress from 'nprogress';
     import { exportBlobPost } from '@/api/common';
     import { getToken } from '@/utils/auth';
+    import {todoChangeNotify} from '@/api/flow/todolist';
     import { downloadFile } from '@/utils/util';
     export default {
     name: 'programexport',
@@ -110,7 +111,7 @@
                         with: 85
                     },
                     {
-                        label: '鍥惧彿鐗堟',
+                        label: '鍥剧焊鐗堟',
                         prop: 'drawingNoEdition',
                         with: 85
                     },
@@ -184,7 +185,7 @@
                         width: 85
                     },
                     {
-                        label: '鍥惧彿鐗堟',
+                        label: '鍥剧焊鐗堟',
                         prop: 'drawingNoEdition',
                         width: 85
                     },
@@ -336,8 +337,6 @@
                 ).then(res => {
 				    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]);
@@ -347,6 +346,7 @@
 						this.$message.error('瀵煎嚭閿欒');
 						console.log(res);
 					}
+                    todoChangeNotify();
                     NProgress.done();
                     this.onLoad(this.page, this.query);
                 });

--
Gitblit v1.9.3