diff --git a/public/react/src/modules/courses/shixunHomework/Listofworks.js b/public/react/src/modules/courses/shixunHomework/Listofworks.js index 1a721f8b3..d5956122c 100644 --- a/public/react/src/modules/courses/shixunHomework/Listofworks.js +++ b/public/react/src/modules/courses/shixunHomework/Listofworks.js @@ -162,6 +162,23 @@ class Listofworks extends Component { ) + }, + { + title: '实战耗时', + dataIndex: 'cost_time', + key: 'cost_time', + align: 'center', + className:'font-14', + render: (text, record) => ( + {record.cost_time} + + ) + }, { title: '更新时间', @@ -418,6 +435,24 @@ class Listofworks extends Component { {record.updatetime} ), }, + { + title: '实战耗时', + dataIndex: 'cost_time', + key: 'cost_time', + align: 'center', + className:'font-14', + render: (text, record) => ( + + {record.cost_time} + + ) + + }, { title: '完成情况', dataIndex: 'completion', @@ -763,6 +798,7 @@ class Listofworks extends Component { name: student_works[i].user_name, stduynumber: student_works[i].student_id, classroom: student_works[i].group_name, + cost_time: student_works[i].cost_time, submitstate:student_works[i].work_status === 0 ? "未提交" : student_works[i].work_status === 1 ? "按时提交" :student_works[i].work_status === 2 ? "延时提交" : "未提交", // updatetime:this.state.teacherdata.student_works[i].update_time, // updatetime:"", diff --git a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js index 6d2f5c9c9..1fa89ee74 100644 --- a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js +++ b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js @@ -1033,30 +1033,7 @@ class Listofworksstudentone extends Component { /> : "" }
-
-

- {jobsettingsdata === undefined ? "" : jobsettingsdata.data.course_name} - > - {jobsettingsdata === undefined ? "" : jobsettingsdata.data.category.category_name} - > - 作业详情 -

-
-
-

- {jobsettingsdata === undefined ? "" : jobsettingsdata.data.homework_name} -

- -

this.props.history.goBack()}>返回

-

- -
+