Commit 68c12609 authored by 罗超's avatar 罗超

1

parent 7c779d61
......@@ -169,13 +169,14 @@
EduUserId: this.loginId
}, (res) => {
if (res.data.resultCode === 1) {
this.stuList = res.data.data
this.stuList.forEach(item=>{
if(item.StuName=='男'){
item.StuId=1
}else if(item.StuName=='女'){
item.StuId=2
}
let data = res.data.data
this.stuList=data.map(item=>{
if(item.StuSex===0){
item.StuSex=1
}else if(item.StuSex===1){
item.StuSex=2
}
return item
})
} else {
this.Error(res.data.message);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment