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/subtable/index.jsx | 13 +------------ 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/src/tabviews/subtable/index.jsx b/src/tabviews/subtable/index.jsx index f917266..0a0b845 100644 --- a/src/tabviews/subtable/index.jsx +++ b/src/tabviews/subtable/index.jsx @@ -102,6 +102,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 = '' @@ -595,10 +596,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) @@ -662,10 +659,6 @@ let _orderBy = orderBy || setting.order let param = UtilsDM.getQueryDataParams(setting, arr_field, searches, _orderBy, pageIndex, pageSize, BID, this.props.menuType, id) - - if (param.func === 'sPC_Get_TableData') { - param.menuname = this.props.Tab.label || '' - } let result = await Api.genericInterface(param) if (result.status) { @@ -736,10 +729,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