dev_local_scyd
杨树林 5 years ago
parent 832d039e59
commit 7bdc5706f1

@ -303,8 +303,10 @@ class NewWorkForm extends Component{
this.setState({ min_num: val })
}
base_on_project_change = () => {
this.setState({ base_on_project: !this.state.base_on_project })
}
// this.setState({ base_on_project: !this.state.base_on_project })
this.setState({ base_on_project: false })
}
componentDidMount() {
window.$('.groupSetting .ant-form-item-label > label').addClass('ant-form-item-required')
this._scrollToTop()

@ -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>:""}

@ -382,7 +382,7 @@ class GraduateTopicPostWorksNew extends Component{
)}
</Form.Item>
<span className="tag color-grey9 ">(学生提交作品时需要关联同组成员组内成员作品共享)</span>
{/*<span className="tag color-grey9 ">(学生提交作品时需要关联同组成员,组内成员作品共享)</span>*/}
{/*<Form.Item*/}
{/* label=""*/}
{/* className=" "*/}

Loading…
Cancel
Save