|
|
@ -148,6 +148,8 @@ class CommonWorkDetailIndex extends Component{
|
|
|
|
|
|
|
|
|
|
|
|
let courseId=this.props.match.params.coursesId;
|
|
|
|
let courseId=this.props.match.params.coursesId;
|
|
|
|
let category_id= category && category.category_id;
|
|
|
|
let category_id= category && category.category_id;
|
|
|
|
|
|
|
|
let category_name= category && category.category_name;
|
|
|
|
|
|
|
|
|
|
|
|
let workId=this.props.match.params.workId;
|
|
|
|
let workId=this.props.match.params.workId;
|
|
|
|
const studentWorkId = this.props.match.params.studentWorkId
|
|
|
|
const studentWorkId = this.props.match.params.studentWorkId
|
|
|
|
|
|
|
|
|
|
|
@ -197,7 +199,7 @@ class CommonWorkDetailIndex extends Component{
|
|
|
|
`}</style>
|
|
|
|
`}</style>
|
|
|
|
<CBreadcrumb items={[
|
|
|
|
<CBreadcrumb items={[
|
|
|
|
{ to: `/courses/${courseId}`, name: course_name},
|
|
|
|
{ to: `/courses/${courseId}`, name: course_name},
|
|
|
|
{ to: `/courses/${courseId}/${moduleEngName}/${category_id}`, name: moduleName },
|
|
|
|
{ to: `/courses/${courseId}/${moduleEngName}/${category_id}`, name: category_name },
|
|
|
|
window.location.pathname.indexOf('appraise') == -1 ? { } : { to: `/courses/${courseId}/${moduleEngName}/${workId}/list`, name: '作业详情' },
|
|
|
|
window.location.pathname.indexOf('appraise') == -1 ? { } : { to: `/courses/${courseId}/${moduleEngName}/${workId}/list`, name: '作业详情' },
|
|
|
|
// 1. 与上一条联动,当匿评他人作品时,TA人作品的作者真实姓名切换为“匿名”
|
|
|
|
// 1. 与上一条联动,当匿评他人作品时,TA人作品的作者真实姓名切换为“匿名”
|
|
|
|
window.location.pathname.indexOf('appraise') == -1 ? { name: '作业详情' } : { name: author_name },
|
|
|
|
window.location.pathname.indexOf('appraise') == -1 ? { name: '作业详情' } : { name: author_name },
|
|
|
|