|
|
|
@ -1608,7 +1608,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
paginationonChanges = (pageNumber) => {
|
|
|
|
|
paginationonChangestwo = (pageNumber) => {
|
|
|
|
|
this.setState({
|
|
|
|
|
page: pageNumber,
|
|
|
|
|
loadingstate: true,
|
|
|
|
@ -2495,7 +2495,10 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
// console.log(datajs);
|
|
|
|
|
// console.log("2202");
|
|
|
|
|
// console.log(this.props.isAdmin());
|
|
|
|
|
|
|
|
|
|
// console.log("2498");
|
|
|
|
|
// console.log(data);
|
|
|
|
|
// console.log(datas);
|
|
|
|
|
// console.log(this.props.isAdmin());
|
|
|
|
|
return (
|
|
|
|
|
this.props.isAdmin() === true ?
|
|
|
|
|
(
|
|
|
|
@ -2927,8 +2930,8 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
|
|
|
|
|
<span className="fl color-grey-6 font-12">
|
|
|
|
|
<span
|
|
|
|
|
className="color-orange-tip">{teacherdata === undefined ? "" : teacherdata.commit_count === undefined ? "" : teacherdata.commit_count}</span>已交<span
|
|
|
|
|
className="ml10">{teacherdata === undefined ? "" : teacherdata.uncommit_count}</span><span>未交</span>
|
|
|
|
|
className="color-orange-tip">{teacherdata === undefined ? "0" : teacherdata.commit_count === undefined ? "0" : teacherdata.commit_count}</span>已交<span
|
|
|
|
|
className="ml10">{teacherdata === undefined ? "0" : teacherdata.uncommit_count}</span><span>未交</span>
|
|
|
|
|
{teacherdata === undefined ? "" : teacherdata.left_time === undefined ? "" : teacherdata.left_time === null ? "" :
|
|
|
|
|
<span className="ml20">{teacherdata.left_time.status}</span>
|
|
|
|
|
}
|
|
|
|
@ -2969,6 +2972,12 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
.ant-spin-nested-loading > div > .ant-spin .ant-spin-dot {
|
|
|
|
|
top: 72%;}
|
|
|
|
|
}
|
|
|
|
|
.edu-table .ant-table-tbody > tr > td {
|
|
|
|
|
height: 85px;
|
|
|
|
|
}
|
|
|
|
|
.edu-table .ant-table-thead > tr > th{
|
|
|
|
|
height: 85px;
|
|
|
|
|
}
|
|
|
|
|
.ysltableow .ant-table-thead > tr > th{
|
|
|
|
|
height: 85px;
|
|
|
|
|
}
|
|
|
|
@ -3033,7 +3042,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
}
|
|
|
|
|
<div className={"educontent mb20"}>
|
|
|
|
|
|
|
|
|
|
<div className="edu-back-white">
|
|
|
|
|
<div >
|
|
|
|
|
<style>
|
|
|
|
|
{
|
|
|
|
|
`
|
|
|
|
@ -3054,6 +3063,12 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
<style>
|
|
|
|
|
{
|
|
|
|
|
`
|
|
|
|
|
.edu-table .ant-table-tbody > tr > td {
|
|
|
|
|
height: 85px;
|
|
|
|
|
}
|
|
|
|
|
.edu-table .ant-table-thead > tr > th{
|
|
|
|
|
height: 85px;
|
|
|
|
|
}
|
|
|
|
|
.ysltableows .ant-table-thead > tr > th{
|
|
|
|
|
height: 85px;
|
|
|
|
|
}
|
|
|
|
@ -3077,16 +3092,16 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
</div>
|
|
|
|
|
{JSON.stringify(datas) !== "[]" ?
|
|
|
|
|
<div>
|
|
|
|
|
<div id="graduation_work_list" style={{
|
|
|
|
|
<div id="graduation_work_list" className="edu-back-white" style={{
|
|
|
|
|
padding: '20px 20px 10px 20px',
|
|
|
|
|
marginBottom: "10px"
|
|
|
|
|
}}>
|
|
|
|
|
<div className="clearfix">
|
|
|
|
|
<span className="fl color-grey-6 font-12">
|
|
|
|
|
<span className="color-orange-tip">
|
|
|
|
|
{teacherdata === undefined ? "" : teacherdata.commit_count === undefined ? "" : teacherdata.commit_count}
|
|
|
|
|
{teacherdata === undefined ? "0" : teacherdata.commit_count === undefined ? "0" : teacherdata.commit_count}
|
|
|
|
|
</span>已交
|
|
|
|
|
<span className="ml10">{teacherdata === undefined ? "" : teacherdata.uncommit_count}</span><span>未交</span>
|
|
|
|
|
<span className="ml10">{teacherdata === undefined ? "0" : teacherdata.uncommit_count}</span><span>未交</span>
|
|
|
|
|
{teacherdata === undefined ? "" : teacherdata.left_time === undefined ? "" : teacherdata.left_time === null ? "" :
|
|
|
|
|
<span className="ml20">{teacherdata.left_time.status}</span>}
|
|
|
|
|
{teacherdata === undefined ? "0" : teacherdata.left_time === undefined ? "0" : teacherdata.left_time === null ? "0" :
|
|
|
|
@ -3181,6 +3196,12 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
.ant-spin-nested-loading > div > .ant-spin .ant-spin-dot {
|
|
|
|
|
top: 72%;}
|
|
|
|
|
}
|
|
|
|
|
.edu-table .ant-table-tbody > tr > td {
|
|
|
|
|
height: 85px;
|
|
|
|
|
}
|
|
|
|
|
.edu-table .ant-table-thead > tr > th{
|
|
|
|
|
height: 85px;
|
|
|
|
|
}
|
|
|
|
|
.ysltableowss .ant-table-thead > tr > th{
|
|
|
|
|
height: 85px;
|
|
|
|
|
}
|
|
|
|
@ -3203,9 +3224,9 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
</div>
|
|
|
|
|
{
|
|
|
|
|
teacherdata && teacherdata.work_count && teacherdata.work_count > limit ?
|
|
|
|
|
<div className="edu-txt-center mt30">
|
|
|
|
|
<div className="edu-txt-center ysyslxh mt30">
|
|
|
|
|
<Pagination showQuickJumper current={page}
|
|
|
|
|
onChange={this.paginationonChanges} pageSize={limit}
|
|
|
|
|
onChange={this.paginationonChangestwo} pageSize={limit}
|
|
|
|
|
total={teacherdata.work_count}></Pagination>
|
|
|
|
|
</div>
|
|
|
|
|
: ""
|
|
|
|
|