From fdb0ed498f295b50c072c4b3652c08e2d60a747a Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期三, 03 十二月 2025 16:29:57 +0800
Subject: [PATCH] 增加pdf,xlsx,docx文件预览功能

---
 src/views/flow/todolist.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/views/flow/todolist.vue b/src/views/flow/todolist.vue
index dde89b0..158a86e 100644
--- a/src/views/flow/todolist.vue
+++ b/src/views/flow/todolist.vue
@@ -892,8 +892,9 @@
             let goApprove = true;
             if(this.row.taskDefinitionKey==='programmingTask' || this.row.taskDefinitionKey==='cureProgramTask'){
                 programOnMachine = this.$refs.todolistLeft.programOnMachine?'Y':'N';
-
+       
                 let atts = this.$refs.todolistLeft.tableData;
+                 console.error('atts',atts);
                 let otherFileCOunt = atts.filter(att => att.program === false).length;
                 if(otherFileCOunt == 0 && programOnMachine != 'Y'){
                     let confirResult = await this.$confirm('鏂囦欢鍒楄〃涓棤鍏朵粬鏂囦欢锛岀‘璁よ鎻愪氦鍚楋紵', '', {

--
Gitblit v1.9.3