From 84804b405cb88f659d055b16eb3bd00b813ccb4a Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 10 十二月 2020 10:58:38 +0800
Subject: [PATCH] 2020-12-10

---
 src/tabviews/zshare/actionList/exceloutbutton/index.jsx |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/tabviews/zshare/actionList/exceloutbutton/index.jsx b/src/tabviews/zshare/actionList/exceloutbutton/index.jsx
index d2047ca..194cd79 100644
--- a/src/tabviews/zshare/actionList/exceloutbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/exceloutbutton/index.jsx
@@ -18,7 +18,6 @@
   static propTpyes = {
     BID: PropTypes.string,            // 涓昏〃ID
     show: PropTypes.any,              // 鏄剧ず鏍峰紡
-    MenuName: PropTypes.any,          // 鑿滃崟鍚嶇О
     Tab: PropTypes.any,               // 濡傛灉褰撳墠鍏冪礌涓烘爣绛炬椂锛宼ab涓烘爣绛句俊鎭�
     btn: PropTypes.object,            // 鎸夐挳
     setting: PropTypes.any,           // 椤甸潰閫氱敤璁剧疆
@@ -441,7 +440,7 @@
    * @description 鎵ц鑷畾涔夎剼鏈�
    */
   execCustomScript = () => {
-    const { btn, MenuName } = this.props
+    const { btn } = this.props
     const { search } = this.state
     let script = btn.verify.script
 
@@ -466,7 +465,7 @@
 
     let param = {
       func: 'sPC_TableData_InUpDe',
-      menuname: `${MenuName ? MenuName + '-' : ''}${btn.label}`
+      menuname: btn.logLabel
     }
 
     if (this.props.BID) {
@@ -529,7 +528,7 @@
    * @description 鑾峰彇榛樿瀛樺偍杩囩▼璇锋眰鍙傛暟
    */
   getExcelDefaultParam = (arr_field, orderBy, search, pagination = false, pageIndex = 1, pageSize = 100) => {
-    const { setting, MenuName, btn } = this.props
+    const { setting, btn } = this.props
 
     let _search = Utils.joinMainSearchkey(search)
 
@@ -541,7 +540,7 @@
       arr_field: arr_field,
       custom_script: setting.customScript,
       default_sql: setting.default || 'true',
-      menuname: `${MenuName ? MenuName + '-' : ''}${btn.label}`
+      menuname: btn.logLabel
     }
 
     // 鏁版嵁绠$悊鏉冮檺

--
Gitblit v1.8.0