From 291b0107a031282e92d1d1fc0a9d3a3dc8229b85 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 16 五月 2024 11:46:00 +0800
Subject: [PATCH] 2024-05-16

---
 src/tabviews/zshare/actionList/index.jsx |   24 +++++++++++++++++++++---
 1 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/src/tabviews/zshare/actionList/index.jsx b/src/tabviews/zshare/actionList/index.jsx
index 4852e23..8e213d8 100644
--- a/src/tabviews/zshare/actionList/index.jsx
+++ b/src/tabviews/zshare/actionList/index.jsx
@@ -18,6 +18,8 @@
 const FuncMegvii = asyncComponent(() => import('./funcMegvii'))
 const FuncZip = asyncComponent(() => import('./funczip'))
 const EditLine = asyncComponent(() => import('./editLine'))
+const ExportPdf = asyncComponent(() => import('./exportPdf'))
+const FuncButton = asyncComponent(() => import('./funcbutton'))
 
 class ActionList extends Component {
   static propTpyes = {
@@ -180,25 +182,41 @@
           return (
             <FuncZip
               key={item.uuid}
-              show={item.show || 'actionList'}
               disabled={false}
               BID={BID}
               btn={item}
+              BData={BData}
               setting={setting}
               selectedData={selectedData}
+            />
+          )
+        } else if (item.funcType === 'expPdf') {
+          return (
+            <ExportPdf
+              key={item.uuid}
+              btn={item}
             />
           )
         } else if (item.funcType === 'addline' || item.funcType === 'delline') {
           return (
             <EditLine
+            key={item.uuid}
+            disabled={false}
+            btn={item}
+            selectedData={selectedData}
+            />
+            )
+          }
+        } else {
+          return (
+            <FuncButton
               key={item.uuid}
-              disabled={false}
+              BID={BID}
               btn={item}
               selectedData={selectedData}
             />
           )
         }
-      }
       return null
     })
   }

--
Gitblit v1.8.0