From 6a3724562259177b4657bdc4d42c38c82c29004c Mon Sep 17 00:00:00 2001 From: taoxu <2622874537@qq.com> Date: Tue, 19 Dec 2023 18:10:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/Mystudent/addTeacher.vue | 1 + pages/Mystudent/arrange_work.vue | 2 +- pages/Mystudent/student.vue | 1 + pages_teacher/teacher_class/class_detail.vue | 4 ++-- 4 files changed, 5 insertions(+), 3 deletions(-) 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) {