From 8c05ef7f207e7fd78d2e4ef56622e25c439cb58c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Tue, 20 Aug 2019 12:35:17 +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 --- .../courses/coursesPublic/SelectSetting.js | 168 +++++++++--------- .../courses/coursesPublic/sendResource.js | 150 ++++++++-------- 2 files changed, 159 insertions(+), 159 deletions(-) diff --git a/public/react/src/modules/courses/coursesPublic/SelectSetting.js b/public/react/src/modules/courses/coursesPublic/SelectSetting.js index f27d810fe..557cec972 100644 --- a/public/react/src/modules/courses/coursesPublic/SelectSetting.js +++ b/public/react/src/modules/courses/coursesPublic/SelectSetting.js @@ -632,89 +632,89 @@ class Selectsetting extends Component{ {this.state.newfileListtypes===true?

请先上传资源

:""} -

- - -

- - 勾选后所有用户可见,否则仅课堂成员可见 - -
- {/*{this.props.has_course_groups&&this.props.has_course_groups===true?:""}*/} - {/*{this.state.course_groupss&&this.state.course_groupss.length>0?*/} - {/*统一设置(选中则所有分班使用相同的发布设置,否则各个单独设置)*/} - {/*:""}*/} - - - - - {/*this.props.has_course_groups&&this.props.has_course_groups===true?:""*/} -
- {unified_setting===false? - this.state.course_groups&&this.state.course_groups.map((item,key)=>{ - return( -
- - - - - - this.onChangeTimepublishs(e,index,key)} - // onChange={ this.onChangeTimepublish } - disabledTime={disabledDateTime} - disabledDate={disabledDate} - /> - - {key!=0?this.deletegrouppublish(key)}>:""} - {key===course_groups.length-1?:""} -
- ) - }):""} -
- -

+ {/*

*/} + {/**/} + + {/*

*/} + {/**/} + {/*勾选后所有用户可见,否则仅课堂成员可见*/} + {/**/} + {/*
*/} + {/*/!*{this.props.has_course_groups&&this.props.has_course_groups===true?:""}*!/*/} + {/*/!*{this.state.course_groupss&&this.state.course_groupss.length>0?*!/*/} + {/*/!*统一设置(选中则所有分班使用相同的发布设置,否则各个单独设置)*!/*/} + {/*/!*:""}*!/*/} + + {/**/} + + + {/*/!*this.props.has_course_groups&&this.props.has_course_groups===true?:""*!/*/} + {/*
*/} + {/*{unified_setting===false?*/} + {/*this.state.course_groups&&this.state.course_groups.map((item,key)=>{*/} + {/*return(*/} + {/*
*/} + + + {/**/} + + + {/*this.onChangeTimepublishs(e,index,key)}*/} + {/*// onChange={ this.onChangeTimepublish }*/} + {/*disabledTime={disabledDateTime}*/} + {/*disabledDate={disabledDate}*/} + {/*/>*/} + + {/*{key!=0?this.deletegrouppublish(key)}>:""}*/} + {/*{key===course_groups.length-1?:""}*/} + {/*
*/} + {/*)*/} + {/*}):""}*/} + {/*
*/} + + {/*

*/} {unified_setting===true? -

+

请先上传资源

:""} -

- - -

- 勾选后所有用户可见,否则仅课堂成员可见 - - - {/*{this.state.course_groups_count&&this.state.course_groups_count>0?*/} - {/*统一设置(选中则所有分班使用相同的发布设置,否则各个单独设置)*/} - {/*:""}*/} - -
- {is_unified_setting===false? - course_group_publish_times.map((item,key)=>{ - return( -
- - - - this.onChangeTimepublish(e,index,key,2)} - // onChange={ this.onChangeTimepublish } - disabledTime={disabledDateTime} - disabledDate={disabledDate} - /> - {key!=0?this.deletegrouppublish(key)}>:""} - {key===course_group_publish_times.length-1&&key:""} -
- ) - }) - - :""} -
- -

- - {is_unified_setting===true?

+ {/*

*/} + {/**/} + + {/*

*/} + {/*勾选后所有用户可见,否则仅课堂成员可见*/} + {/**/} + + {/*/!*{this.state.course_groups_count&&this.state.course_groups_count>0?*!/*/} + {/*/!*统一设置(选中则所有分班使用相同的发布设置,否则各个单独设置)*!/*/} + {/*/!*:""}*!/*/} + {/**/} + {/*
*/} + {/*{is_unified_setting===false?*/} + {/*course_group_publish_times.map((item,key)=>{*/} + {/*return(*/} + {/*
*/} + + {/**/} + + {/*this.onChangeTimepublish(e,index,key,2)}*/} + {/*// onChange={ this.onChangeTimepublish }*/} + {/*disabledTime={disabledDateTime}*/} + {/*disabledDate={disabledDate}*/} + {/*/>*/} + {/*{key!=0?this.deletegrouppublish(key)}>:""}*/} + {/*{key===course_group_publish_times.length-1&&key:""}*/} + {/*
*/} + {/*)*/} + {/*})*/} + + {/*:""}*/} + {/*
*/} + + {/*

*/} + + {is_unified_setting===true?