diff --git a/pages/Mystudent/addTeacher.vue b/pages/Mystudent/addTeacher.vue index 28d0e2a..1b37565 100644 --- a/pages/Mystudent/addTeacher.vue +++ b/pages/Mystudent/addTeacher.vue @@ -158,6 +158,7 @@ if (res.code == 0) { this.stulist=res.data + console.log(this.stulist,'this.stulistthis.stulist'); this.orgstulist = JSON.parse(JSON.stringify(res.data)); this.selectedIds.forEach(selectedItem => { const index = this.stulist.findIndex(item => item.teacherId === selectedItem.id); diff --git a/pages/Mystudent/arrange_work.vue b/pages/Mystudent/arrange_work.vue index 31dacfc..11d1978 100644 --- a/pages/Mystudent/arrange_work.vue +++ b/pages/Mystudent/arrange_work.vue @@ -162,7 +162,7 @@ }, getworklist() { - this.$u.get(`/admin-api/classroom/work-record/list?classId=${this.classid}`).then(res => { + this.$u.get(`https://api.admin-v2.langsi.online/admin-api/classroom/work-record/list?classId=${this.classid}`).then(res => { if (res.code == 0) { diff --git a/pages/Mystudent/student.vue b/pages/Mystudent/student.vue index 64cb0ce..47efe5b 100644 --- a/pages/Mystudent/student.vue +++ b/pages/Mystudent/student.vue @@ -332,6 +332,7 @@ 添加 + diff --git a/pages_teacher/teacher_class/class_detail.vue b/pages_teacher/teacher_class/class_detail.vue index 5bef695..cf85757 100644 --- a/pages_teacher/teacher_class/class_detail.vue +++ b/pages_teacher/teacher_class/class_detail.vue @@ -169,7 +169,7 @@ }); }, getclassinfo() { - this.$u.get(`/admin-api/classroom/detail?id=${this.classid}`).then(res => { + this.$u.get(`https://api.admin-v2.langsi.online/admin-api/classroom/detail?id=${this.classid}`).then(res => { if (res.code == 0) { @@ -183,7 +183,7 @@ }) }, getworkinfo() { - this.$u.get(`/admin-api/classroom/work-record/list?classId=${this.classid}`).then(res => { + this.$u.get(`https://api.admin-v2.langsi.online/admin-api/classroom/work-record/list?classId=${this.classid}`).then(res => { if (res.code == 0) {