From 27a03ffac131c044ac347b6236856bff2ee1e51f Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 02 八月 2021 15:01:10 +0800
Subject: [PATCH] 2021-08-02

---
 src/tabviews/subtabtable/index.jsx |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/src/tabviews/subtabtable/index.jsx b/src/tabviews/subtabtable/index.jsx
index fdc900d..de85084 100644
--- a/src/tabviews/subtabtable/index.jsx
+++ b/src/tabviews/subtabtable/index.jsx
@@ -79,6 +79,7 @@
       try { // 閰嶇疆淇℃伅瑙f瀽
         config = JSON.parse(window.decodeURIComponent(window.atob(result.LongParam)))
         config.setting.MenuName = Tab.label
+        config.setting.$name = Tab.label
       } catch (e) {
         console.warn('Parse Failure')
         config = ''
@@ -557,10 +558,6 @@
     let _orderBy = orderBy || setting.order
     let param = UtilsDM.getQueryDataParams(setting, arr_field, searches, _orderBy, pageIndex, pageSize, BID, this.props.menuType)
 
-    if (param.func === 'sPC_Get_TableData') {
-      param.menuname = this.props.Tab.label || ''
-    }
-
     let result = await Api.genericInterface(param)
 
     this.getStatFieldsValue(searches)
@@ -615,10 +612,6 @@
     let _orderBy = orderBy || setting.order
     let param = UtilsDM.getStatQueryDataParams(setting, statFields, searches, _orderBy, BID, this.props.menuType)
 
-    if (param.func === 'sPC_Get_TableData') {
-      param.menuname = this.props.Tab.label || ''
-    }
-    
     Api.genericInterface(param).then(res => {
       if (res.status) {
         let _data = res.data[0]

--
Gitblit v1.8.0