|
|
@ -10,6 +10,11 @@ import CBreadcrumb from '../common/CBreadcrumb'
|
|
|
|
const confirm = Modal.confirm;
|
|
|
|
const confirm = Modal.confirm;
|
|
|
|
const $ = window.$
|
|
|
|
const $ = window.$
|
|
|
|
const MAX_TITLE_LENGTH = 60;
|
|
|
|
const MAX_TITLE_LENGTH = 60;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
需要注意的props
|
|
|
|
|
|
|
|
isGroup
|
|
|
|
|
|
|
|
*/
|
|
|
|
class NewWorkForm extends Component{
|
|
|
|
class NewWorkForm extends Component{
|
|
|
|
constructor(props){
|
|
|
|
constructor(props){
|
|
|
|
super(props);
|
|
|
|
super(props);
|
|
|
@ -453,7 +458,7 @@ class NewWorkForm extends Component{
|
|
|
|
<div className="clearfix mt30 mb30">
|
|
|
|
<div className="clearfix mt30 mb30">
|
|
|
|
{/* htmlType="submit" */}
|
|
|
|
{/* htmlType="submit" */}
|
|
|
|
<Button type="primary" onClick={this.handleSubmit} className="defalutSubmitbtn fl mr20">提交</Button>
|
|
|
|
<Button type="primary" onClick={this.handleSubmit} className="defalutSubmitbtn fl mr20">提交</Button>
|
|
|
|
<a className="defalutCancelbtn fl" onClick={() => this.props.toListPage(this.props.match.params, category.category_id)}>取消</ a>
|
|
|
|
<a className="defalutCancelbtn fl" onClick={() => this.props.onCancel()}>取消</ a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</Form.Item>
|
|
|
|
</Form.Item>
|
|
|
|
</Form>
|
|
|
|
</Form>
|
|
|
|