|
|
|
@ -145,6 +145,7 @@ class CommonWorkDetailIndex extends Component{
|
|
|
|
|
|
|
|
|
|
, end_immediately, publish_immediately, work_statuses, accessoryVisible
|
|
|
|
|
} =this.state;
|
|
|
|
|
const { current_user } = this.props
|
|
|
|
|
|
|
|
|
|
let courseId=this.props.match.params.coursesId;
|
|
|
|
|
let category_id= category && category.category_id;
|
|
|
|
@ -197,15 +198,15 @@ class CommonWorkDetailIndex extends Component{
|
|
|
|
|
background: #fff;
|
|
|
|
|
}
|
|
|
|
|
`}</style>
|
|
|
|
|
<CBreadcrumb items={[
|
|
|
|
|
{ to: `/courses/${courseId}`, name: course_name},
|
|
|
|
|
{current_user && <CBreadcrumb items={[
|
|
|
|
|
{ to: current_user.first_category_url , name: course_name},
|
|
|
|
|
{ to: `/courses/${courseId}/${moduleEngName}/${category_id}`, name: category_name },
|
|
|
|
|
window.location.pathname.indexOf('appraise') == -1 ? { } : { to: `/courses/${courseId}/${moduleEngName}/${workId}/list`, name: '作业详情' },
|
|
|
|
|
// 1. 与上一条联动,当匿评他人作品时,TA人作品的作者真实姓名切换为“匿名”
|
|
|
|
|
window.location.pathname.indexOf('appraise') == -1 ? { name: '作业详情' } : { name: author_name },
|
|
|
|
|
// window.location.pathname.indexOf('appraise') == -1 ? { } : { to: `/courses/${courseId}/${moduleEngName}/${workId}/list`, name: '作品列表' },
|
|
|
|
|
// { name: childModuleName }
|
|
|
|
|
]}></CBreadcrumb>
|
|
|
|
|
]}></CBreadcrumb>}
|
|
|
|
|
|
|
|
|
|
<div style={{ width:'100%',height:'52px'}} >
|
|
|
|
|
<span className=" fl color-black summaryname" title={`${homework_name && homework_name.length > 36 ? homework_name : ''}`}
|
|
|
|
|