| | |
| | | let newLText = Utils.formatOptions(FuncUtils.getTableFunc(setting, menu, _config)) // 创建存储过程sql |
| | | let DelText = Utils.formatOptions(FuncUtils.dropfunc(setting.innerFunc)) // 删除存储过程sql |
| | | |
| | | this.refs.tableCreatFunc.exec(setting.innerFunc, newLText, DelText).then(result => { |
| | | if (result === 'success') { |
| | | this.setState({ |
| | | config: _config |
| | | }) |
| | | } |
| | | }) |
| | | this.refs.tableCreatFunc.exec(setting.innerFunc, newLText, DelText) |
| | | }) |
| | | } |
| | | |
| | |
| | | <Modal |
| | | title={this.state.card && this.state.card.iscopy ? '表单-复制' : '表单-编辑'} |
| | | visible={modaltype === 'search'} |
| | | width={700} |
| | | width={950} |
| | | maskClosable={false} |
| | | onOk={this.handleSubmit} |
| | | confirmLoading={this.state.sqlVerifing} |