|
|
|
@ -1294,11 +1294,11 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
record.submitstate === "未开启" ?
|
|
|
|
|
<a style={{textAlign: "center",width: '40px'}} className="color-blue"
|
|
|
|
|
onMouseDown={(e) => this.Viewstudenttraininginformationtysl2(e, record)}
|
|
|
|
|
onClick={() => this.Viewstudenttraininginformationt(record)}>评阅</a> :
|
|
|
|
|
onClick={() => this.Viewstudenttraininginformationt(record)}>{record.has_comment===false?"评阅":"详情"}</a> :
|
|
|
|
|
<span>
|
|
|
|
|
<a style={{textAlign: "center"}} className="color-blue maxnamewidth120"
|
|
|
|
|
onMouseDown={(e) => this.Viewstudenttraininginformationtysl2(e, record)}
|
|
|
|
|
onClick={() => this.Viewstudenttraininginformationt(record)}>评阅</a>
|
|
|
|
|
onClick={() => this.Viewstudenttraininginformationt(record)}>{record.has_comment===false?"评阅":"详情"}</a>
|
|
|
|
|
</span>
|
|
|
|
|
)
|
|
|
|
|
},
|
|
|
|
@ -1656,11 +1656,11 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
record.submitstate === "未开启" ?
|
|
|
|
|
<a style={{textAlign: "center",width: '40px'}} className="color-blue"
|
|
|
|
|
onMouseDown={(e) => this.Viewstudenttraininginformationtysl2(e, record)}
|
|
|
|
|
onClick={() => this.Viewstudenttraininginformationt(record)}>评阅</a> :
|
|
|
|
|
onClick={() => this.Viewstudenttraininginformationt(record)}>{record.has_comment===false?"评阅":"详情"}</a> :
|
|
|
|
|
<span>
|
|
|
|
|
<a style={{textAlign: "center"}} className="color-blue"
|
|
|
|
|
onMouseDown={(e) => this.Viewstudenttraininginformationtysl2(e, record)}
|
|
|
|
|
onClick={() => this.Viewstudenttraininginformationt(record)}>评阅</a>
|
|
|
|
|
onClick={() => this.Viewstudenttraininginformationt(record)}>{record.has_comment===false?"评阅":"详情"}</a>
|
|
|
|
|
</span>
|
|
|
|
|
)
|
|
|
|
|
},
|
|
|
|
@ -1886,7 +1886,12 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
console.log(error);
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
AkeyreviewitGetalistofworkstwo=()=>{
|
|
|
|
|
this.setState({
|
|
|
|
|
loadingstate: true,
|
|
|
|
|
})
|
|
|
|
|
this.Getalistofworkstwo("", "", "", "", 1, 20);
|
|
|
|
|
}
|
|
|
|
|
// 获取作品列表
|
|
|
|
|
Getalistofworkstwo = (ordervlue, checkedValuesine, checkedValuesineinfo, searchtext, page, limit) => {
|
|
|
|
|
// console.log("获取作品列表");222222222222
|
|
|
|
@ -2075,6 +2080,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
stduynumber: teacherdata.student_id,
|
|
|
|
|
classroom: teacherdata.group_name,
|
|
|
|
|
cost_time: teacherdata.cost_time,
|
|
|
|
|
has_comment:teacherdata.has_comment,
|
|
|
|
|
submitstate: teacherdata.work_status === 0 ? "未开启" : teacherdata.work_status === 1 ? "未通关" : teacherdata.work_status === 2 ? "按时通关" : "迟交通关",
|
|
|
|
|
// updatetime:this.state.teacherdata.student_works[i].update_time,
|
|
|
|
|
// updatetime:"",
|
|
|
|
@ -2119,6 +2125,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
stduynumber: student_works[i].student_id,
|
|
|
|
|
classroom: student_works[i].group_name,
|
|
|
|
|
cost_time: student_works[i].cost_time,
|
|
|
|
|
has_comment:teacherdata[i].has_comment,
|
|
|
|
|
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:"",
|
|
|
|
@ -2280,6 +2287,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
stduynumber: teacherdata.student_id,
|
|
|
|
|
classroom: teacherdata.group_name,
|
|
|
|
|
cost_time: teacherdata.cost_time,
|
|
|
|
|
has_comment:teacherdata.has_comment,
|
|
|
|
|
submitstate: teacherdata.work_status === 0 ? "未开启" : teacherdata.work_status === 1 ? "未通关" : teacherdata.work_status === 2 ? "按时通关" : "迟交通关",
|
|
|
|
|
// updatetime:this.state.teacherdata.student_works[i].update_time,
|
|
|
|
|
// updatetime:"",
|
|
|
|
@ -2642,6 +2650,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
stduynumber: student_works[i].student_id,
|
|
|
|
|
classroom: student_works[i].group_name,
|
|
|
|
|
cost_time: student_works[i].cost_time,
|
|
|
|
|
has_comment:teacherdata[i].has_comment,
|
|
|
|
|
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:"",
|
|
|
|
|