| | |
| | | static propTpyes = { |
| | | config: PropTypes.any, |
| | | MenuID: PropTypes.string, |
| | | tableFields: PropTypes.any, |
| | | permFuncField: PropTypes.any, |
| | | updateConfig: PropTypes.func |
| | | } |
| | | |
| | | state = { |
| | | dict: localStorage.getItem('lang') !== 'en-US' ? zhCN : enUS, |
| | | dict: sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS, |
| | | sourcelist: [], |
| | | visible: false, |
| | | loading: false, |
| | |
| | | <div className="model-datasource"> |
| | | <Icon type="setting" onClick={() => this.editDataSource()} /> |
| | | <Modal |
| | | wrapClassName="model-datasource-verify-modal popview-modal" |
| | | wrapClassName="popview-modal" |
| | | title={'数据源配置'} |
| | | visible={visible} |
| | | width={'75vw'} |
| | |
| | | <VerifyCard |
| | | dict={dict} |
| | | config={config} |
| | | tableFields={this.props.tableFields} |
| | | permFuncField={this.props.permFuncField} |
| | | menuId={this.props.config.uuid} |
| | | searches={config.search} |
| | | wrappedComponentRef={(inst) => this.verifyRef = inst} |