Commit d7f42936 authored by 罗超's avatar 罗超

2

parent 0809fee5
...@@ -229,7 +229,13 @@ ...@@ -229,7 +229,13 @@
this.msg.TeacherId = Number(this.$route.query.TeacherId); this.msg.TeacherId = Number(this.$route.query.TeacherId);
} }
if(this.$route.query.TeacherIds){ if(this.$route.query.TeacherIds){
this.msg.TeacherIds = this.$route.query.TeacherIds; let arr=this.$route.query.TeacherIds.split(',')
let idsArr=[]
arr.map(e=>{
let _arr=e.split('-')
idsArr.push(_arr[1])
})
this.msg.TeacherIds = idsArr.toString();
} }
} }
this.getList(); this.getList();
......
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