| | |
| | | |
| | | class VerifyCard extends Component { |
| | | static propTpyes = { |
| | | config: PropTypes.object, // 组件配置信息 |
| | | config: PropTypes.object, |
| | | updRecord: PropTypes.func |
| | | } |
| | | |
| | | state = { |
| | |
| | | this.setState({reload: false}) |
| | | }) |
| | | } |
| | | |
| | | this.props.updRecord({...res.data.setting}) |
| | | }) |
| | | } |
| | | |
| | | updateStatus = (res) => { |
| | | this.setState({median: {...res}}) |
| | | this.props.updRecord({...res}) |
| | | } |
| | | |
| | | copyColumns = () => { |
| | |
| | | subColumns={subColumns} |
| | | setting={setting} |
| | | scripts={scripts} |
| | | updateStatus={(res) => this.setState({median: {...res}})} |
| | | updateStatus={this.updateStatus} |
| | | wrappedComponentRef={(inst) => this.settingForm = inst} |
| | | /> : null} |
| | | </TabPane> |