| | |
| | | }) |
| | | |
| | | let placeholder = '' |
| | | let searchKey = '' |
| | | if (!config.searchKey) { |
| | | config.onload = 'true' |
| | | } else { |
| | |
| | | }) |
| | | |
| | | placeholder = placeholder ? placeholder.join('、') : '' |
| | | |
| | | if (value && !config.showValue) { |
| | | searchKey = value |
| | | config.onload = 'true' |
| | | } |
| | | } |
| | | |
| | | this.state = { |
| | |
| | | showValue: config.showValue, |
| | | placeholder, |
| | | arr_field: arrfield.join(','), |
| | | searchKey: '', |
| | | searchKey: searchKey, |
| | | pageIndex: 1, |
| | | pageSize: 10, |
| | | orderBy: '', |
| | |
| | | config.tabUuid && MKEmitter.emit('mkFC', 'focus', config.tabUuid) |
| | | if (config.subFields) { |
| | | setTimeout(() => { |
| | | this.props.onSubmit(config.tabUuid) |
| | | this.props.onSubmit(config.tabUuid, config.errTabUuid) |
| | | }, 1000) |
| | | } else { |
| | | this.props.onSubmit(config.tabUuid) |
| | | this.props.onSubmit(config.tabUuid, config.errTabUuid) |
| | | } |
| | | } |
| | | }) |