From dd0f652df2d9d9977ade12b80d999b6fe6e52909 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: Tue, 10 Feb 2026 09:58:57 +0800
Subject: [PATCH] 复制条款

---
 src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectReview/index.vue |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectReview/index.vue b/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectReview/index.vue
index 5650595..098b7e7 100644
--- a/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectReview/index.vue
+++ b/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectReview/index.vue
@@ -264,7 +264,7 @@
 const openFile = async(path)=>{
   const ext = path.split('.').pop().toLowerCase();
   if (ext === 'doc') {
-    ElMessageBox.confirm('暂不支持线上预览.doc文件,是否下载查看?', '提示', { confirmButtonText: '确认', cancelButtonText: '取消', type: 'warning' }).then(() => {
+    ElMessageBox.confirm('暂不支持线上预览.doc、.xls、.xlsx文件,是否下载查看?', '提示', { confirmButtonText: '确认', cancelButtonText: '取消', type: 'warning' }).then(() => {
       window.open(`${import.meta.env.VITE_APP_BASE_API}/${path}`, '_blank');
     }).catch(() => {
       console.log('取消预览')
@@ -410,8 +410,13 @@
               };
             })
     );
-    item.productItems = item.productItems.map(i => i.fileName)
-
+    const productList = item.projectDocuments.map(i => i.fileName)
+    const processList = item.processInspections.map(i => i.fileName)
+    item.productItems = productList.concat(processList).map(item => {
+      return {
+        name:item
+      }
+    })
     console.log('item.productItems', item.productItems)
     try {
       generateWordDocument(templatePath.value, item, item.itemName + `_${item.stage}审批表.docx`);

--
Gitblit v1.9.2