From 471963a1e8af75bb64f3d9bd215e0fd6e3880e17 Mon Sep 17 00:00:00 2001 From: chenshaowei Date: Thu, 9 Apr 2026 15:54:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0log=20=20=E5=AE=9A=E4=BD=8D?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=97=A0=E6=B3=95=E6=9F=A5=E8=AF=A2=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/baseComponents/TableBaseComponent/index.js | 2 ++ src/components/Table/ListPage.js | 2 ++ src/feui/search/AdvanceSearch.js | 3 ++- src/feui/search/index.js | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/baseComponents/TableBaseComponent/index.js b/src/baseComponents/TableBaseComponent/index.js index 475c3a9..59d85bf 100644 --- a/src/baseComponents/TableBaseComponent/index.js +++ b/src/baseComponents/TableBaseComponent/index.js @@ -422,6 +422,7 @@ class TableBaseComponent extends ComponentBase { 实际加载表数据 */ doLoadTableData = (loadParamJson, tableCode, onComplete, onLoadData) => { + console.log('调用查询实际过程', 6) const payloadJson = this.getLoadTableDataParams(loadParamJson, tableCode) if (!payloadJson) return @@ -430,6 +431,7 @@ class TableBaseComponent extends ComponentBase { } const tableConfig = this.getTableConfig({ tableCode }); const { api } = tableConfig ? tableConfig : {}; + console.log('调用查询实际过程', 7, api) this.props.dispatch({ type: 'listPage/getTableData', diff --git a/src/components/Table/ListPage.js b/src/components/Table/ListPage.js index fb09a2e..3924250 100644 --- a/src/components/Table/ListPage.js +++ b/src/components/Table/ListPage.js @@ -60,6 +60,7 @@ class ListPage extends React.Component { loadData = (params) => { if (this.state.loadDataFunc) { + console.log('调用查询中间过程', 5) if (!this.state.loadDataFunc.length) { this.directSearchStop = true this.directSearchParams = params @@ -87,6 +88,7 @@ class ListPage extends React.Component { loadDataFunc: data }, () => { if (!this.props.preventDefaultSearch || this.directSearchStop) { + console.log('调用查询中间过程', 4) this.refOfSearch && this.refOfSearch.handleSearch() } }) diff --git a/src/feui/search/AdvanceSearch.js b/src/feui/search/AdvanceSearch.js index 33660f8..a7b93f8 100644 --- a/src/feui/search/AdvanceSearch.js +++ b/src/feui/search/AdvanceSearch.js @@ -79,6 +79,7 @@ class AdvanceSearch extends Component { const { search, dispatch } = this.props let stopSelfChangeSearch = false let stopSelfExtraSearch = false + console.log('共享搜索条件', this.shareKey) if (this.shareKey) { const instances = search.shareIns[this.shareKey] || [] // 同一 filterList 组里面的 Search 组件不共享搜索条件 @@ -297,7 +298,7 @@ class AdvanceSearch extends Component { */ handleSearch = (self = true) => { if (this.setShareIns(self)) return - + console.log('调用查询开始', 1) const { onSearch } = this.props onSearch instanceof Function && onSearch() } diff --git a/src/feui/search/index.js b/src/feui/search/index.js index f1e9ce2..53e51ab 100644 --- a/src/feui/search/index.js +++ b/src/feui/search/index.js @@ -161,6 +161,7 @@ class Search extends React.Component { if (errorLabel) return const { onSearch } = this.props + console.log('调用查询中间过程', 2) onSearch instanceof Function && onSearch(rule) return rule }