Compare commits
No commits in common. "39f2ff3d7415f6f286ffe1b8b51a2df740503564" and "91c9be1abef218cedd6cf57cedec8ffa8244bf8c" have entirely different histories.
39f2ff3d74
...
91c9be1abe
@ -422,7 +422,6 @@ class TableBaseComponent extends ComponentBase {
|
||||
实际加载表数据
|
||||
*/
|
||||
doLoadTableData = (loadParamJson, tableCode, onComplete, onLoadData) => {
|
||||
console.log('调用查询实际过程', 6)
|
||||
const payloadJson = this.getLoadTableDataParams(loadParamJson, tableCode)
|
||||
if (!payloadJson) return
|
||||
|
||||
@ -431,7 +430,6 @@ class TableBaseComponent extends ComponentBase {
|
||||
}
|
||||
const tableConfig = this.getTableConfig({ tableCode });
|
||||
const { api } = tableConfig ? tableConfig : {};
|
||||
console.log('调用查询实际过程', 7, api)
|
||||
|
||||
this.props.dispatch({
|
||||
type: 'listPage/getTableData',
|
||||
|
||||
@ -60,7 +60,6 @@ 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
|
||||
@ -88,7 +87,6 @@ class ListPage extends React.Component {
|
||||
loadDataFunc: data
|
||||
}, () => {
|
||||
if (!this.props.preventDefaultSearch || this.directSearchStop) {
|
||||
console.log('调用查询中间过程', 4)
|
||||
this.refOfSearch && this.refOfSearch.handleSearch()
|
||||
}
|
||||
})
|
||||
|
||||
@ -79,7 +79,6 @@ 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 组件不共享搜索条件
|
||||
@ -298,7 +297,7 @@ class AdvanceSearch extends Component {
|
||||
*/
|
||||
handleSearch = (self = true) => {
|
||||
if (this.setShareIns(self)) return
|
||||
console.log('调用查询开始', 1)
|
||||
|
||||
const { onSearch } = this.props
|
||||
onSearch instanceof Function && onSearch()
|
||||
}
|
||||
|
||||
@ -161,7 +161,6 @@ class Search extends React.Component {
|
||||
if (errorLabel) return
|
||||
|
||||
const { onSearch } = this.props
|
||||
console.log('调用查询中间过程', 2)
|
||||
onSearch instanceof Function && onSearch(rule)
|
||||
return rule
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user