|
|
@ -753,7 +753,7 @@ class Listofworks extends Component {
|
|
|
|
let {page, limit} = this.state;
|
|
|
|
let {page, limit} = this.state;
|
|
|
|
let datalist = [];
|
|
|
|
let datalist = [];
|
|
|
|
let columns = this.state.columns;
|
|
|
|
let columns = this.state.columns;
|
|
|
|
// var columns2=[];
|
|
|
|
var columns2=[];
|
|
|
|
if (teacherdata !== undefined) {
|
|
|
|
if (teacherdata !== undefined) {
|
|
|
|
for (var i = 0; i < student_works.length; i++) {
|
|
|
|
for (var i = 0; i < student_works.length; i++) {
|
|
|
|
var timedata = moment(student_works[i].update_time).format('YYYY-MM-DD HH:mm');
|
|
|
|
var timedata = moment(student_works[i].update_time).format('YYYY-MM-DD HH:mm');
|
|
|
@ -799,7 +799,7 @@ class Listofworks extends Component {
|
|
|
|
else if(this.props.isNotMember()===true&&item.title==="学号") {
|
|
|
|
else if(this.props.isNotMember()===true&&item.title==="学号") {
|
|
|
|
|
|
|
|
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
columns.push(item);
|
|
|
|
columns2.push(item);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -817,7 +817,7 @@ class Listofworks extends Component {
|
|
|
|
else if(this.props.isNotMember()===true&&item.title==="学号") {
|
|
|
|
else if(this.props.isNotMember()===true&&item.title==="学号") {
|
|
|
|
|
|
|
|
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
columns.push(item);
|
|
|
|
columns2.push(item);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -831,7 +831,7 @@ class Listofworks extends Component {
|
|
|
|
else if(this.props.isNotMember()===true&&item.title==="学号") {
|
|
|
|
else if(this.props.isNotMember()===true&&item.title==="学号") {
|
|
|
|
|
|
|
|
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
columns.push(item);
|
|
|
|
columns2.push(item);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -847,7 +847,7 @@ class Listofworks extends Component {
|
|
|
|
else if(this.props.isNotMember()===true&&item.title==="学号") {
|
|
|
|
else if(this.props.isNotMember()===true&&item.title==="学号") {
|
|
|
|
|
|
|
|
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
columns.push(item);
|
|
|
|
columns2.push(item);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -863,11 +863,11 @@ class Listofworks extends Component {
|
|
|
|
else if(this.props.isNotMember()===true&&item.title==="学号") {
|
|
|
|
else if(this.props.isNotMember()===true&&item.title==="学号") {
|
|
|
|
|
|
|
|
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
columns.push(item);
|
|
|
|
columns2.push(item);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
columns=this.state.columnss;
|
|
|
|
columns2=this.state.columnss;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -877,7 +877,7 @@ class Listofworks extends Component {
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|
data: datalist,
|
|
|
|
data: datalist,
|
|
|
|
teacherlist: teacherlist,
|
|
|
|
teacherlist: teacherlist,
|
|
|
|
columns: columns,
|
|
|
|
columns: columns2,
|
|
|
|
loadingstate: false,
|
|
|
|
loadingstate: false,
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|