|
|
|
@ -192,7 +192,7 @@ export default { |
|
|
|
|
schoolId: 2105, |
|
|
|
|
source: this.activeName |
|
|
|
|
}; |
|
|
|
|
this.$get(this.api.loginSchool, data) |
|
|
|
|
this.$post(this.api.loginSchool, data) |
|
|
|
|
.then(res => { |
|
|
|
|
if(res.status == 200){ |
|
|
|
|
this.schoolList = [...res.message.staffList,...res.message.studentList] |
|
|
|
@ -231,7 +231,7 @@ export default { |
|
|
|
|
userId: this.userId, |
|
|
|
|
schoolId: this.schoolId |
|
|
|
|
}; |
|
|
|
|
this.$get(this.api.loginRole, data) |
|
|
|
|
this.$post(this.api.loginRole, data) |
|
|
|
|
.then(res => { |
|
|
|
|
this.roleList = [...res.message.staffList,...res.message.studentList] |
|
|
|
|
let indexs = {} |
|
|
|
|