|
|
|
@ -695,8 +695,9 @@ debugger
|
|
|
|
|
axios.post(url,{
|
|
|
|
|
min_num: this.state.minnum,
|
|
|
|
|
max_num: this.state.maxnum,
|
|
|
|
|
base_on_project:baseonproject===true?1:0,
|
|
|
|
|
publish_time:this.state.publish_time===null||this.state.publish_time=== ""?"":this.state.publish_time,
|
|
|
|
|
// base_on_project:baseonproject===true?1:0,
|
|
|
|
|
base_on_project:baseonproject===false,
|
|
|
|
|
publish_time:this.state.publish_time===null||this.state.publish_time=== ""?"":this.state.publish_time,
|
|
|
|
|
end_time: this.state.end_time===null||this.state.end_time=== ""?this.props.getNowFormatDates(2,1):this.state.end_time,
|
|
|
|
|
allow_late:allowlate===true||allowlate===1?1:undefined,
|
|
|
|
|
late_time: this.state.latetime===null||this.state.latetime=== ""?this.props.getNowFormatDates(3,1):this.state.latetime,
|
|
|
|
@ -1022,10 +1023,10 @@ debugger
|
|
|
|
|
{maxnumstype===true?<div className={"color-red ml40"}>已有提交作品,最大人数不能变小</div>:""}
|
|
|
|
|
{numtype===true?<div className={"color-red ml40"}>不能为空</div>:""}
|
|
|
|
|
<div>
|
|
|
|
|
<Tooltip placement="bottom" title={hascommit===true?"已有关联项目或作品,不能修改":""}>
|
|
|
|
|
{/*<Tooltip placement="bottom" title={hascommit===true?"已有关联项目或作品,不能修改":""}>*/}
|
|
|
|
|
{/*<Checkbox className="ml40 " checked={baseonproject} disabled={this.props.isAdmin()===true?hascommit===true||hasproject===true?true:flagPageEdit===true?false:true:true} onChange={this.baseprojectfun}>基于项目实施</Checkbox>*/}
|
|
|
|
|
</Tooltip>
|
|
|
|
|
<span className={"font-14 color-grey-c"}>(选中,则必须在本平台创建项目,项目管理员可以提交作品;不选中,无需在平台创建项目,任意小组成员均可以提交作品)</span>
|
|
|
|
|
{/*</Tooltip>*/}
|
|
|
|
|
{/*<span className={"font-14 color-grey-c"}>(选中,则必须在本平台创建项目,项目管理员可以提交作品;不选中,无需在平台创建项目,任意小组成员均可以提交作品)</span>*/}
|
|
|
|
|
</div>
|
|
|
|
|
</div>:""}
|
|
|
|
|
|
|
|
|
|