From 7bdc5706f18536a15d2e9d44042b3602bab78754 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Fri, 20 Dec 2019 11:29:08 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../react/src/modules/courses/busyWork/NewWorkForm.js | 6 ++++-- .../graduation/tasks/GraduationTaskssetting.js | 11 ++++++----- .../graduation/topics/GraduateTopicPostWorksNew.js | 2 +- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/public/react/src/modules/courses/busyWork/NewWorkForm.js b/public/react/src/modules/courses/busyWork/NewWorkForm.js index 3217fdd3a..f7954d382 100644 --- a/public/react/src/modules/courses/busyWork/NewWorkForm.js +++ b/public/react/src/modules/courses/busyWork/NewWorkForm.js @@ -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() diff --git a/public/react/src/modules/courses/graduation/tasks/GraduationTaskssetting.js b/public/react/src/modules/courses/graduation/tasks/GraduationTaskssetting.js index c323162b1..b3a65d65b 100644 --- a/public/react/src/modules/courses/graduation/tasks/GraduationTaskssetting.js +++ b/public/react/src/modules/courses/graduation/tasks/GraduationTaskssetting.js @@ -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?
已有提交作品,最大人数不能变小
:""} {numtype===true?
不能为空
:""}
- + {/**/} {/*基于项目实施*/} - - (选中,则必须在本平台创建项目,项目管理员可以提交作品;不选中,无需在平台创建项目,任意小组成员均可以提交作品) + {/**/} + {/*(选中,则必须在本平台创建项目,项目管理员可以提交作品;不选中,无需在平台创建项目,任意小组成员均可以提交作品)*/}
:""} diff --git a/public/react/src/modules/courses/graduation/topics/GraduateTopicPostWorksNew.js b/public/react/src/modules/courses/graduation/topics/GraduateTopicPostWorksNew.js index 92e5dcd59..0d722727c 100644 --- a/public/react/src/modules/courses/graduation/topics/GraduateTopicPostWorksNew.js +++ b/public/react/src/modules/courses/graduation/topics/GraduateTopicPostWorksNew.js @@ -382,7 +382,7 @@ class GraduateTopicPostWorksNew extends Component{ )} - (学生提交作品时需要关联同组成员,组内成员作品共享) + {/*(学生提交作品时需要关联同组成员,组内成员作品共享)*/} {/*