From 6b699dc5a69457d76577d17903d54011a6561d97 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 23 八月 2023 11:48:47 +0800 Subject: [PATCH] Merge branch 'master' into positec --- src/tabviews/custom/components/tree/antd-tree/index.jsx | 13 +++++-------- 1 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/tabviews/custom/components/tree/antd-tree/index.jsx b/src/tabviews/custom/components/tree/antd-tree/index.jsx index 1d974f3..6aad5fb 100644 --- a/src/tabviews/custom/components/tree/antd-tree/index.jsx +++ b/src/tabviews/custom/components/tree/antd-tree/index.jsx @@ -77,8 +77,7 @@ selected: _config.wrap.selected === 'true', config: _config, data: _data, - BID: BID || '', - arr_field: _config.columns.map(col => col.field).join(',') + BID: BID || '' }) } @@ -234,7 +233,7 @@ * @description 瀵煎嚭Excel鏃讹紝鑾峰彇椤甸潰鎼滅储鎺掑簭绛夊弬鏁� */ queryModuleParam = (menuId, callback) => { - const { arr_field, config } = this.state + const { config } = this.state if (config.uuid !== menuId) return @@ -244,10 +243,8 @@ } callback({ - arr_field: arr_field, orderBy: config.setting.order || '', - search: searches, - menuName: config.name + search: searches }) } @@ -273,7 +270,7 @@ * @description 鏁版嵁鍔犺浇 */ async loadData (type) { - const { config, arr_field, BID } = this.state + const { config, BID } = this.state if (config.setting.supModule && !BID) { // BID 涓嶅瓨鍦ㄦ椂锛屼笉鍋氭煡璇� this.setState({ @@ -301,7 +298,7 @@ } let _orderBy = config.setting.order || '' - let param = UtilsDM.getQueryDataParams(config.setting, arr_field, searches, _orderBy, '', '', BID) + let param = UtilsDM.getQueryDataParams(config.setting, searches, _orderBy, '', '', BID) let result = await Api.genericInterface(param) if (result.status) { -- Gitblit v1.8.0