diff --git a/public/react/src/modules/courses/busyWork/UseBank.js b/public/react/src/modules/courses/busyWork/UseBank.js index eca077cfd..a6ea333c6 100644 --- a/public/react/src/modules/courses/busyWork/UseBank.js +++ b/public/react/src/modules/courses/busyWork/UseBank.js @@ -185,6 +185,9 @@ class UseBank extends Component{ align-items: center; display: -webkit-flex; } + .setImgW .edu-nodata-img{ + width:218px!important; + } `} @@ -224,7 +227,7 @@ class UseBank extends Component{ > { - nav_my==='myself'? + object_list && object_list.length == 0 && page == 1 ? "" : nav_my==='myself'?

选用对象:你在课堂{engNameMap[object_type]}列表中已“加入题库”的{engNameMap[object_type]}

:

选用对象:题库中已设置成公共属性的所有{engNameMap[object_type]}

@@ -240,7 +243,7 @@ class UseBank extends Component{ : object_list && object_list.length == 0 && page == 1 ? - +
:
- - 19 }> - - + + - 13 }> - {item.course_list_name} - + 14 && item.course_list_name} className={nav_my==='myself'?"fl with30 color-grey-6 task-hide pl5":"fl with30 color-grey-6 task-hide pl5"}>{item.course_list_name} { nav_my==='public' && {item.username} diff --git a/public/react/src/modules/courses/coursesPublic/ModulationModal.js b/public/react/src/modules/courses/coursesPublic/ModulationModal.js index e201914f6..1c9a9a84d 100644 --- a/public/react/src/modules/courses/coursesPublic/ModulationModal.js +++ b/public/react/src/modules/courses/coursesPublic/ModulationModal.js @@ -77,41 +77,28 @@ class ModulationModal extends Component{

-

- - - 原因不能为空 -

- -

- 原因不能为空 +

+
  • + -

    - - 分数不能为空 - -
    +
  • +
  • 分数不能为空
  • +
    {this.props.Cancelname || '取消'} {this.props.Savesname || '保存'}
    - diff --git a/public/react/src/modules/courses/graduation/topics/GraduateTopicDetail.js b/public/react/src/modules/courses/graduation/topics/GraduateTopicDetail.js index 2f6a364a5..8764e00ab 100644 --- a/public/react/src/modules/courses/graduation/topics/GraduateTopicDetail.js +++ b/public/react/src/modules/courses/graduation/topics/GraduateTopicDetail.js @@ -103,17 +103,17 @@ class GraduateTopicDetail extends Component{ return(
    -

    +

    {tableData && tableData.course_name} > {tableData.graduation_name} > 选题详情

    -

    +

    {tableData && tableData.graduation_topic_name} - - this.props.history.goBack()}>返回 + + this.props.history.goBack()}>返回

    diff --git a/public/react/src/modules/courses/graduation/topics/GraduateTopicDetailInfo.js b/public/react/src/modules/courses/graduation/topics/GraduateTopicDetailInfo.js index b1cfe7c6e..0c76cd9de 100644 --- a/public/react/src/modules/courses/graduation/topics/GraduateTopicDetailInfo.js +++ b/public/react/src/modules/courses/graduation/topics/GraduateTopicDetailInfo.js @@ -79,20 +79,20 @@ class GraduateTopicDetailTable extends Component{
    { topicInfo && -

    - +

    + 课题类型: {topicInfo.topic_type ? type[`${topicInfo.topic_type}`] :"--"} - + 课题来源: {topicInfo.topic_source ? source[`${topicInfo.topic_source}`] :"--"} - + 课题性质1: {topicInfo.topic_property_first ? first[`${topicInfo.topic_property_first}`] :"--"} - + 课题性质2: {topicInfo.topic_property_second ? second[`${topicInfo.topic_property_second}`] :"--"} @@ -100,16 +100,16 @@ class GraduateTopicDetailTable extends Component{ } { topicInfo && -

    - +

    + 课题重复情况: {topicInfo.topic_repeat ? repeat[`${topicInfo.topic_repeat}`] :"--"} - + 调研或实习地点: {topicInfo.city || "--"} - + 课题来源单位: {topicInfo.source_unit || "--"} diff --git a/public/react/src/modules/courses/graduation/topics/GraduateTopicDetailTable.js b/public/react/src/modules/courses/graduation/topics/GraduateTopicDetailTable.js index 963c7a4f9..bd58e555b 100644 --- a/public/react/src/modules/courses/graduation/topics/GraduateTopicDetailTable.js +++ b/public/react/src/modules/courses/graduation/topics/GraduateTopicDetailTable.js @@ -74,7 +74,8 @@ class GraduateTopicDetailTable extends Component{ } hideAgreeTopic=()=>{ this.setState({ - agreeFlag:false + agreeFlag:false, + classesId:undefined }) } sureAgreeTopic=(count)=>{ @@ -116,6 +117,7 @@ class GraduateTopicDetailTable extends Component{ //切换分班 changeClasses=(value)=>{ + debugger this.setState({ classesId:value }) @@ -130,7 +132,8 @@ class GraduateTopicDetailTable extends Component{ } hideClasses=()=>{ this.setState({ - visible:false + visible:false, + classesId:undefined }) } @@ -209,7 +212,7 @@ class GraduateTopicDetailTable extends Component{ { tableData.group_list && tableData.group_list.map((item,key)=>{ return( - + ) }) } diff --git a/public/react/src/modules/courses/graduation/topics/GraduateTopicNew.js b/public/react/src/modules/courses/graduation/topics/GraduateTopicNew.js index c3c0d18e2..d71cec73b 100644 --- a/public/react/src/modules/courses/graduation/topics/GraduateTopicNew.js +++ b/public/react/src/modules/courses/graduation/topics/GraduateTopicNew.js @@ -328,8 +328,8 @@ class GraduateTopicNew extends Component{ > {topicId==undefined?"新建":"编辑"}

    -
    -

    {topicId==undefined?"新建":"编辑"}毕设选题

    +
    +

    {topicId==undefined?"新建":"编辑"}毕设选题

    this.props.history.goBack()} className="color-grey-6 fr font-16">返回
    diff --git a/public/react/src/modules/courses/poll/Poll.js b/public/react/src/modules/courses/poll/Poll.js index 3a7cd6aec..a41f65ccd 100644 --- a/public/react/src/modules/courses/poll/Poll.js +++ b/public/react/src/modules/courses/poll/Poll.js @@ -348,7 +348,7 @@ class Poll extends Component{ } this.setState({ course_groups:list, - checkBoxValues:checkValue + checkBoxValues:value }) this.setState({ modalname:"立即发布", diff --git a/public/react/src/modules/courses/poll/PollDetailIndex.js b/public/react/src/modules/courses/poll/PollDetailIndex.js index 33f779591..8e456efd1 100644 --- a/public/react/src/modules/courses/poll/PollDetailIndex.js +++ b/public/react/src/modules/courses/poll/PollDetailIndex.js @@ -97,7 +97,7 @@ class PollDetailIndex extends Component{ 答题列表 { - (isAdmin || (isStudent && pollDetail && pollDetail.show_result == 1 && pollDetail.polls_status == 3)) && 统计结果 + (isAdmin || (isStudent && pollDetail && pollDetail.show_result == 1 && pollDetail.polls_status == 3 && user_permission && user_permission.current_status==1)) && 统计结果 } { isAdmin && 问卷预览 } 设置 diff --git a/public/react/src/modules/courses/poll/PollDetailTabForth.js b/public/react/src/modules/courses/poll/PollDetailTabForth.js index a23411a14..01366c2f9 100644 --- a/public/react/src/modules/courses/poll/PollDetailTabForth.js +++ b/public/react/src/modules/courses/poll/PollDetailTabForth.js @@ -556,7 +556,9 @@ class PollDetailTabForth extends Component{

    - 发布设置 (课堂管理员、教师、助教拥有发布设置权限) + 发布设置 + {/* (课堂管理员、教师、助教拥有发布设置权限) */} + { !flagPageEdit && isAdmin ? @@ -564,17 +566,20 @@ class PollDetailTabForth extends Component{ }

    -

    - - {getFieldDecorator('unitSet') - ( - 统一设置 - )} - - (选中则所有分班使用相同的发布设置,仅课堂管理员可修改;否则各个分班允许单独设置) -

    + { + course_group && course_group.length > 0 && +

    + + {getFieldDecorator('unitSet') + ( + 统一设置 + )} + + (选中则所有分班使用相同的发布设置,仅课堂管理员可修改;否则各个分班允许单独设置) +

    + } { unitSetting ?
    diff --git a/public/react/src/modules/courses/poll/PollDetailTabThird.js b/public/react/src/modules/courses/poll/PollDetailTabThird.js index 4cecf3744..5d9a01fb8 100644 --- a/public/react/src/modules/courses/poll/PollDetailTabThird.js +++ b/public/react/src/modules/courses/poll/PollDetailTabThird.js @@ -46,7 +46,7 @@ class PollDetailTabThird extends Component{ { pollDetail && pollDetail.question_types.q_counts > 0 && - 合计12{pollDetail.question_types.q_counts}题: + 合计{pollDetail.question_types.q_counts}题: } { pollDetail && pollDetail.question_types.q_singles > 0 && diff --git a/public/react/src/modules/courses/shixunHomework/Listofworks.js b/public/react/src/modules/courses/shixunHomework/Listofworks.js index 6d19b13ef..9650ad32a 100644 --- a/public/react/src/modules/courses/shixunHomework/Listofworks.js +++ b/public/react/src/modules/courses/shixunHomework/Listofworks.js @@ -1842,11 +1842,11 @@ class Listofworks extends Component { border-bottom: none!important; height: 85px; } - .ant-table-tbody > tr > td { + .ant-tables .ant-table-tbody > tr > td { height: 85px; } `} -
    +
    {data === undefined ? "" : {discussMessage.name}:"" + className="fl mt3 font-16 font-bd color-dark maxwidth580">{discussMessage.name}:"" } { this.props.isStudent? {discussMessage.name}:"" + className="fl mt3 font-16 font-bd color-dark maxwidth580">{discussMessage.name}:"" } { this.props.isNotMember?this.props.discussMessage.private_icon===false? - {discussMessage.name} + {discussMessage.name} : {discussMessage.name}:"" + className="fl mt3 font-16 font-bd color-dark maxwidth580">{discussMessage.name}:"" } { this.props.discussMessage.private_icon===false? - + :