|
|
|
@ -1246,43 +1246,43 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
this.Generatenewdatas(response.data.exercise_users);
|
|
|
|
|
if (response.data.exercise_types.subjective === 0) {
|
|
|
|
|
if (this.state.noclassroom === undefined || this.state.noclassroom === "" || this.state.noclassroom === null) {
|
|
|
|
|
this.state.columnss.map((item,key)=>{
|
|
|
|
|
var arr =[];
|
|
|
|
|
for(var i=0;i<this.state.columnss.length;i++){
|
|
|
|
|
var item = this.state.columnss[i];
|
|
|
|
|
if(item.title==="分班"){
|
|
|
|
|
this.state.columnss.splice(key,1)
|
|
|
|
|
}
|
|
|
|
|
if(item.title==="客观题得分"){
|
|
|
|
|
this.state.columnss.splice(key,1)
|
|
|
|
|
else if(item.title==="客观题得分"){
|
|
|
|
|
}
|
|
|
|
|
if(item.title==="主观题得分"){
|
|
|
|
|
this.state.columnss.splice(key,1)
|
|
|
|
|
else if(item.title==="主观题得分"){
|
|
|
|
|
}
|
|
|
|
|
if(this.props.isNotMember()===true) {
|
|
|
|
|
if(item.title==="学号"){
|
|
|
|
|
this.state.columnss.splice(key,1)
|
|
|
|
|
else if(this.props.isNotMember()===true&&item.title==="学号") {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
arr.push(item);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
let columnss2=this.state.columnss;
|
|
|
|
|
this.setState({
|
|
|
|
|
columnss: columnss2,
|
|
|
|
|
columnss: arr,
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
this.state.columnss.map((item,key)=>{
|
|
|
|
|
var arr =[];
|
|
|
|
|
for(var i=0;i<this.state.columnss.length;i++){
|
|
|
|
|
var item = this.state.columnss[i];
|
|
|
|
|
if(item.title==="客观题得分"){
|
|
|
|
|
this.state.columnss.splice(key,1)
|
|
|
|
|
}
|
|
|
|
|
if(item.title==="主观题得分"){
|
|
|
|
|
this.state.columnss.splice(key,1)
|
|
|
|
|
}
|
|
|
|
|
if(this.props.isNotMember()===true) {
|
|
|
|
|
if(item.title==="学号"){
|
|
|
|
|
this.state.columnss.splice(key,1)
|
|
|
|
|
else if(this.props.isNotMember()===true&&item.title==="学号") {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
arr.push(item);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
let columnss2=this.state.columnss;
|
|
|
|
|
this.setState({
|
|
|
|
|
columnss: columnss2
|
|
|
|
|
columnss: arr
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1291,73 +1291,73 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
//学生已截止
|
|
|
|
|
if (response.data.exercise_types.subjective === 0) {
|
|
|
|
|
if (this.state.loadingstate === false) {
|
|
|
|
|
this.state.columnstwo.map((item,key)=>{
|
|
|
|
|
var arr =[];
|
|
|
|
|
for(var i=0;i<this.state.columnstwo.length;i++){
|
|
|
|
|
var item = this.state.columnstwo[i];
|
|
|
|
|
if(item.title==="客观题得分"){
|
|
|
|
|
this.state.columnstwo.splice(key,1)
|
|
|
|
|
}
|
|
|
|
|
if(item.title==="主观题得分"){
|
|
|
|
|
this.state.columnstwo.splice(key,1)
|
|
|
|
|
else if(item.title==="主观题得分"){
|
|
|
|
|
}
|
|
|
|
|
if(this.props.isNotMember()===true) {
|
|
|
|
|
if(item.title==="学号"){
|
|
|
|
|
this.state.columnstwo.splice(key,1)
|
|
|
|
|
else if(this.props.isNotMember()===true&&item.title==="学号") {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
arr.push(item);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
let columnstwo2=this.state.columnstwo;
|
|
|
|
|
this.state.columns.map((item,key)=>{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var arr2 =[];
|
|
|
|
|
for(var i=0;i<this.state.columns.length;i++){
|
|
|
|
|
var item = this.state.columns[i];
|
|
|
|
|
if(item.title==="客观题得分"){
|
|
|
|
|
this.state.columns.splice(key,1)
|
|
|
|
|
}
|
|
|
|
|
if(item.title==="主观题得分"){
|
|
|
|
|
this.state.columns.splice(key,1)
|
|
|
|
|
else if(item.title==="主观题得分"){
|
|
|
|
|
}
|
|
|
|
|
if(this.props.isNotMember()===true) {
|
|
|
|
|
if(item.title==="学号"){
|
|
|
|
|
this.state.columns.splice(key,1)
|
|
|
|
|
else if(this.props.isNotMember()===true&&item.title==="学号") {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
arr2.push(item);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
let columns2=this.state.columns
|
|
|
|
|
thiss.setState({
|
|
|
|
|
columns: columns2,
|
|
|
|
|
columnstwo: columnstwo2,
|
|
|
|
|
columns: arr2,
|
|
|
|
|
columnstwo: arr,
|
|
|
|
|
loadingstate: true,
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
this.state.columnstwo.map((item,key)=>{
|
|
|
|
|
|
|
|
|
|
var arr =[];
|
|
|
|
|
for(var i=0;i<this.state.columnstwo.length;i++){
|
|
|
|
|
var item = this.state.columnstwo[i];
|
|
|
|
|
if(item.title==="客观题得分"){
|
|
|
|
|
this.state.columnstwo.splice(key,1)
|
|
|
|
|
}
|
|
|
|
|
if(item.title==="主观题得分"){
|
|
|
|
|
this.state.columnstwo.splice(key,1)
|
|
|
|
|
else if(item.title==="主观题得分"){
|
|
|
|
|
}
|
|
|
|
|
if(this.props.isNotMember()===true) {
|
|
|
|
|
if(item.title==="学号"){
|
|
|
|
|
this.state.columnstwo.splice(key,1)
|
|
|
|
|
else if(this.props.isNotMember()===true&&item.title==="学号") {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
arr.push(item);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
let columnstwo2=this.state.columnstwo;
|
|
|
|
|
this.state.columns.map((item,key)=>{
|
|
|
|
|
}
|
|
|
|
|
var arr2 =[];
|
|
|
|
|
for(var i=0;i<this.state.columns.length;i++){
|
|
|
|
|
var item = this.state.columns[i];
|
|
|
|
|
if(item.title==="客观题得分"){
|
|
|
|
|
this.state.columns.splice(key,1)
|
|
|
|
|
}
|
|
|
|
|
if(item.title==="主观题得分"){
|
|
|
|
|
this.state.columns.splice(key,1)
|
|
|
|
|
else if(item.title==="主观题得分"){
|
|
|
|
|
}
|
|
|
|
|
if(this.props.isNotMember()===true) {
|
|
|
|
|
if(item.title==="学号"){
|
|
|
|
|
this.state.columns.splice(key,1)
|
|
|
|
|
else if(this.props.isNotMember()===true&&item.title==="学号") {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
arr2.push(item);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
let columns2=this.state.columns
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
thiss.setState({
|
|
|
|
|
columns: columns2,
|
|
|
|
|
columnstwo:columnstwo2,
|
|
|
|
|
columns: arr2,
|
|
|
|
|
columnstwo:arr,
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1610,37 +1610,39 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
current_answer_user: response.data.current_answer_user,
|
|
|
|
|
})
|
|
|
|
|
if (response.data.exercise_types.subjective === 0) {
|
|
|
|
|
this.state.columnstwo.map((item,key)=>{
|
|
|
|
|
|
|
|
|
|
var arr =[];
|
|
|
|
|
for(var i=0;i<this.state.columnstwo.length;i++){
|
|
|
|
|
var item = this.state.columnstwo[i];
|
|
|
|
|
if(item.title==="客观题得分"){
|
|
|
|
|
this.state.columnstwo.splice(key,1)
|
|
|
|
|
}
|
|
|
|
|
if(item.title==="主观题得分"){
|
|
|
|
|
this.state.columnstwo.splice(key,1)
|
|
|
|
|
else if(item.title==="主观题得分"){
|
|
|
|
|
}
|
|
|
|
|
if(this.props.isNotMember()===true) {
|
|
|
|
|
if(item.title==="学号"){
|
|
|
|
|
this.state.columnstwo.splice(key,1)
|
|
|
|
|
else if(this.props.isNotMember()===true&&item.title==="学号") {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
arr.push(item);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
let columnstwo2=this.state.columnstwo;
|
|
|
|
|
this.state.columns.map((item,key)=>{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var arr2 =[];
|
|
|
|
|
for(var i=0;i<this.state.columns.length;i++){
|
|
|
|
|
var item = this.state.columns[i];
|
|
|
|
|
if(item.title==="客观题得分"){
|
|
|
|
|
this.state.columns.splice(key,1)
|
|
|
|
|
}
|
|
|
|
|
if(item.title==="主观题得分"){
|
|
|
|
|
this.state.columns.splice(key,1)
|
|
|
|
|
else if(item.title==="主观题得分"){
|
|
|
|
|
}
|
|
|
|
|
if(this.props.isNotMember()===true) {
|
|
|
|
|
if(item.title==="学号"){
|
|
|
|
|
this.state.columns.splice(key,1)
|
|
|
|
|
else if(this.props.isNotMember()===true&&item.title==="学号") {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
arr2.push(item);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
let columns2=this.state.columns
|
|
|
|
|
this.setState({
|
|
|
|
|
columns: columns2,
|
|
|
|
|
columnstwo: columnstwo2,
|
|
|
|
|
columns: arr2,
|
|
|
|
|
columnstwo: arr,
|
|
|
|
|
loadingstate: false,
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
@ -1706,7 +1708,6 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
// }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (response.data.exercise_types.subjective === 0) {
|
|
|
|
|
//===0 不包括主观题
|
|
|
|
|
if (indexi === exercise_users.length) {
|
|
|
|
@ -1715,20 +1716,25 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
// console.log("77771111111");
|
|
|
|
|
//分班大于0显示分班
|
|
|
|
|
//7ge
|
|
|
|
|
this.state.columnsys.map((item,key)=>{
|
|
|
|
|
// this.state.columnsys.map((item,key)=>{
|
|
|
|
|
//
|
|
|
|
|
// })
|
|
|
|
|
var arr =[];
|
|
|
|
|
for(var i=0;i<this.state.columnsys.length;i++){
|
|
|
|
|
var item = this.state.columnsys[i];
|
|
|
|
|
if(item.title==="客观题得分"){
|
|
|
|
|
this.state.columnsys.splice(key,1)
|
|
|
|
|
}
|
|
|
|
|
if(item.title==="主观题得分"){
|
|
|
|
|
this.state.columnsys.splice(key,1)
|
|
|
|
|
else if(item.title==="主观题得分"){
|
|
|
|
|
}
|
|
|
|
|
else if(this.props.isNotMember()===true&&item.title==="学号") {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
if(this.props.isNotMember()===true) {
|
|
|
|
|
if(item.title==="学号"){
|
|
|
|
|
this.state.columnsys.splice(key,1)
|
|
|
|
|
else{
|
|
|
|
|
arr.push(item);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
thiss.setState({
|
|
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
|
data: datalist,
|
|
|
|
|
teacherlist: teacherlist,
|
|
|
|
|
Teacherliststudentlist: response.data,
|
|
|
|
@ -1737,27 +1743,27 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
exercise_users: response.data.exercise_users,
|
|
|
|
|
course_groups: response.data.course_groups,
|
|
|
|
|
loadingstate: false,
|
|
|
|
|
columnsys: this.state.columnsys,
|
|
|
|
|
columnsys: arr,
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
//分班小于0不显示分班
|
|
|
|
|
//6ge
|
|
|
|
|
this.state.columnsys.map((item,key)=>{
|
|
|
|
|
|
|
|
|
|
var arr =[];
|
|
|
|
|
for(var i=0;i<this.state.columnsys.length;i++){
|
|
|
|
|
var item = this.state.columnsys[i];
|
|
|
|
|
if(item.title==="分班"){
|
|
|
|
|
this.state.columnsys.splice(key,1)
|
|
|
|
|
}
|
|
|
|
|
if(item.title==="客观题得分"){
|
|
|
|
|
this.state.columnsys.splice(key,1)
|
|
|
|
|
else if(item.title==="客观题得分"){
|
|
|
|
|
}
|
|
|
|
|
if(item.title==="主观题得分"){
|
|
|
|
|
this.state.columnsys.splice(key,1)
|
|
|
|
|
else if(item.title==="主观题得分"){
|
|
|
|
|
}
|
|
|
|
|
if(this.props.isNotMember()===true) {
|
|
|
|
|
if(item.title==="学号"){
|
|
|
|
|
this.state.columnsys.splice(key,1)
|
|
|
|
|
else if(this.props.isNotMember()===true&&item.title==="学号") {
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
arr.push(item);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
thiss.setState({
|
|
|
|
|
data: datalist,
|
|
|
|
@ -1768,7 +1774,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
commit_status: response.data.commit_status,
|
|
|
|
|
exercise_users: response.data.exercise_users,
|
|
|
|
|
course_groups: response.data.course_groups,
|
|
|
|
|
columnsys: this.state.columnsys,
|
|
|
|
|
columnsys: arr,
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1778,19 +1784,23 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
if (response.data.exercise_types.groups_count > 0) {
|
|
|
|
|
//显示分班
|
|
|
|
|
//8ge
|
|
|
|
|
this.state.columnsys.map((item,key)=>{
|
|
|
|
|
|
|
|
|
|
var arr =[];
|
|
|
|
|
for(var i=0;i<this.state.columnsys.length;i++){
|
|
|
|
|
var item = this.state.columnsys[i];
|
|
|
|
|
if(item.title==="客观题得分"){
|
|
|
|
|
this.state.columnsys.splice(key,1)
|
|
|
|
|
}
|
|
|
|
|
if(item.title==="主观题得分"){
|
|
|
|
|
this.state.columnsys.splice(key,1)
|
|
|
|
|
else if(item.title==="主观题得分"){
|
|
|
|
|
}
|
|
|
|
|
if(this.props.isNotMember()===true) {
|
|
|
|
|
if(item.title==="学号"){
|
|
|
|
|
this.state.columnsys.splice(key,1)
|
|
|
|
|
else if(this.props.isNotMember()===true&&item.title==="学号") {
|
|
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
arr.push(item);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
// console.log(thiss.state.columnsys);
|
|
|
|
|
// console.log(arr);
|
|
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
|
data: datalist,
|
|
|
|
|
teacherlist: teacherlist,
|
|
|
|
@ -1800,27 +1810,28 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
exercise_users: response.data.exercise_users,
|
|
|
|
|
course_groups: response.data.course_groups,
|
|
|
|
|
loadingstate: false,
|
|
|
|
|
columnsys: this.state.columnsys,
|
|
|
|
|
columnsys: arr,
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
//不显示分班
|
|
|
|
|
//7ge
|
|
|
|
|
this.state.columnsys.map((item,key)=>{
|
|
|
|
|
var arr =[];
|
|
|
|
|
for(var i=0;i<this.state.columnsys.length;i++){
|
|
|
|
|
var item = this.state.columnsys[i];
|
|
|
|
|
if(item.title==="分班"){
|
|
|
|
|
this.state.columnsys.splice(key,1)
|
|
|
|
|
}
|
|
|
|
|
if(item.title==="客观题得分"){
|
|
|
|
|
this.state.columnsys.splice(key,1)
|
|
|
|
|
else if(item.title==="客观题得分"){
|
|
|
|
|
}
|
|
|
|
|
if(item.title==="主观题得分"){
|
|
|
|
|
this.state.columnsys.splice(key,1)
|
|
|
|
|
else if(item.title==="主观题得分"){
|
|
|
|
|
}
|
|
|
|
|
if(this.props.isNotMember()===true) {
|
|
|
|
|
if(item.title==="学号"){
|
|
|
|
|
this.state.columnsys.splice(key,1)
|
|
|
|
|
else if(this.props.isNotMember()===true&&item.title==="学号") {
|
|
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
arr.push(item);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
|
data: datalist,
|
|
|
|
|
teacherlist: teacherlist,
|
|
|
|
@ -1830,7 +1841,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
exercise_users: response.data.exercise_users,
|
|
|
|
|
course_groups: response.data.course_groups,
|
|
|
|
|
loadingstate: false,
|
|
|
|
|
columnsys: this.state.columnsys,
|
|
|
|
|
columnsys: arr,
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1842,13 +1853,16 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
console.log("2548包含主观题不包含分班");
|
|
|
|
|
|
|
|
|
|
if (response.data.exercise_types.groups_count > 0) {
|
|
|
|
|
this.state.columnsys.map((item,key)=>{
|
|
|
|
|
if(this.props.isNotMember()===true) {
|
|
|
|
|
if(item.title==="学号"){
|
|
|
|
|
this.state.columnsys.splice(key,1)
|
|
|
|
|
var arr =[];
|
|
|
|
|
for(var i=0;i<this.state.columnsys.length;i++){
|
|
|
|
|
var item = this.state.columnsys[i];
|
|
|
|
|
if(this.props.isNotMember()===true&&item.title==="学号") {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
arr.push(item);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
this.setState({
|
|
|
|
|
data: datalist,
|
|
|
|
|
teacherlist: teacherlist,
|
|
|
|
@ -1857,19 +1871,22 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
commit_status: response.data.commit_status,
|
|
|
|
|
exercise_users: response.data.exercise_users,
|
|
|
|
|
course_groups: response.data.course_groups,
|
|
|
|
|
columnsys: this.state.columnsys,
|
|
|
|
|
columnsys: arr,
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
this.state.columnsys.map((item,key)=>{
|
|
|
|
|
var arr =[];
|
|
|
|
|
for(var i=0;i<this.state.columnsys.length;i++){
|
|
|
|
|
var item = this.state.columnsys[i];
|
|
|
|
|
if(item.title==="分班"){
|
|
|
|
|
this.state.columnsys.splice(key,1)
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
if(this.props.isNotMember()===true) {
|
|
|
|
|
if(item.title==="学号"){
|
|
|
|
|
this.state.columnsys.splice(key,1)
|
|
|
|
|
else if(this.props.isNotMember()===true&&item.title==="学号") {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
arr.push(item);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
this.setState({
|
|
|
|
|
data: datalist,
|
|
|
|
|
teacherlist: teacherlist,
|
|
|
|
@ -1878,7 +1895,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
commit_status: response.data.commit_status,
|
|
|
|
|
exercise_users: response.data.exercise_users,
|
|
|
|
|
course_groups: response.data.course_groups,
|
|
|
|
|
columnsys: this.state.columnsys,
|
|
|
|
|
columnsys:arr,
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
@ -1896,16 +1913,19 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
columnsys: this.state.columnsystwo,
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
this.state.columnsys.map((item,key)=>{
|
|
|
|
|
var arr =[];
|
|
|
|
|
for(var i=0;i<this.state.columnsys.length;i++){
|
|
|
|
|
var item = this.state.columnsys[i];
|
|
|
|
|
if(item.title==="分班"){
|
|
|
|
|
this.state.columnsys.splice(key,1)
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
else if(this.props.isNotMember()===true&&item.title==="学号") {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
if(this.props.isNotMember()===true) {
|
|
|
|
|
if(item.title==="学号"){
|
|
|
|
|
this.state.columnsys.splice(key,1)
|
|
|
|
|
else{
|
|
|
|
|
arr.push(item);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
this.setState({
|
|
|
|
|
data: datalist,
|
|
|
|
|
teacherlist: teacherlist,
|
|
|
|
@ -1915,7 +1935,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
exercise_users: response.data.exercise_users,
|
|
|
|
|
course_groups: response.data.course_groups,
|
|
|
|
|
loadingstate: false,
|
|
|
|
|
columnsys: this.state.columnsys,
|
|
|
|
|
columnsys: arr,
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|