| | |
| | | } |
| | | |
| | | render() { |
| | | const { config } = this.props |
| | | const { columns, setting, scripts, colColumns, activeKey, loading } = this.state |
| | | |
| | | return ( |
| | |
| | | wrappedComponentRef={(inst) => this.contrastForm = inst} |
| | | /> |
| | | <FieldsComponent |
| | | config={{...this.props.config, columns}} |
| | | config={{...config, columns}} |
| | | type="fields" |
| | | updatefield={this.updatefields} |
| | | /> |
| | |
| | | dict={this.props.dict} |
| | | setting={setting} |
| | | scripts={scripts} |
| | | urlFields={config.urlFields} |
| | | defaultSql={this.state.defaultsql} |
| | | searches={this.props.searches} |
| | | scriptsChange={this.scriptsChange} |