diff --git a/public/react/src/modules/courses/shixunHomework/ShixunHomeworkPage.js b/public/react/src/modules/courses/shixunHomework/ShixunHomeworkPage.js index a1f670d03..48bb26ad3 100644 --- a/public/react/src/modules/courses/shixunHomework/ShixunHomeworkPage.js +++ b/public/react/src/modules/courses/shixunHomework/ShixunHomeworkPage.js @@ -111,6 +111,9 @@ class ShixunHomeworkPage extends Component { let {tab, teacherdata, jobsettingsdata} = this.state; const isAdmin = this.props.isAdmin(); + + console.log(this.props) + console.log(this.state) return (
@@ -222,7 +225,7 @@ class ShixunHomeworkPage extends Component { this.workshowmodels(this.child)}>代码查重 : "" : ""} {this.state.view_report === true ? + to={`/courses/${this.props.match.params.coursesId}/${this.state.shixuntypes}/${teacherdata&&teacherdata.work_id}/shixun_work_report`}> 查看实训报告 : ""} { diff --git a/public/react/src/modules/courses/shixunHomework/ShixunStudentWork.js b/public/react/src/modules/courses/shixunHomework/ShixunStudentWork.js index ed399af98..2da778707 100644 --- a/public/react/src/modules/courses/shixunHomework/ShixunStudentWork.js +++ b/public/react/src/modules/courses/shixunHomework/ShixunStudentWork.js @@ -759,7 +759,13 @@ class ShixunStudentWork extends Component { top: 72%;} } `} - {datalist === undefined ? "" : +
+ +

暂无数据哦~

+
+ :
{ - datalist === undefined ? "":datalist.length<11? + datalist === undefined ? "":datalist.length===0?"":datalist.length<11?
;