|
@@ -35,6 +35,7 @@ class Add extends React.PureComponent {
|
|
createUser: this.props.currentUser.name, // 创建人
|
|
createUser: this.props.currentUser.name, // 创建人
|
|
updateUser: this.props.currentUser.name // 最后修改人
|
|
updateUser: this.props.currentUser.name // 最后修改人
|
|
}).then(res => {
|
|
}).then(res => {
|
|
|
|
+ console.log(res)
|
|
if (res.code === 0) {
|
|
if (res.code === 0) {
|
|
this.setState({ ...values })
|
|
this.setState({ ...values })
|
|
Modal.success({
|
|
Modal.success({
|
|
@@ -69,7 +70,6 @@ class Add extends React.PureComponent {
|
|
|
|
|
|
render () {
|
|
render () {
|
|
const { getFieldDecorator } = this.props.form
|
|
const { getFieldDecorator } = this.props.form
|
|
- console.log(this.state.type)
|
|
|
|
return (
|
|
return (
|
|
<div>
|
|
<div>
|
|
<h1>新增决策</h1>
|
|
<h1>新增决策</h1>
|