From 1f09e30dfe3936653d7486d605769d729f6ae298 Mon Sep 17 00:00:00 2001 From: libowei <3423564950@qq.com> Date: Thu, 7 Dec 2023 15:09:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E5=86=85=E5=AE=B9=E8=BF=9B=E8=A1=8C?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../teacher_teachers/components/audiology.vue | 17 +- .../teacher_teachers/teacher_addOperation.vue | 314 ++++++++++++------ 2 files changed, 211 insertions(+), 120 deletions(-) diff --git a/pages_teacher/teacher_teachers/components/audiology.vue b/pages_teacher/teacher_teachers/components/audiology.vue index 9ac4a7d..a9c3e90 100644 --- a/pages_teacher/teacher_teachers/components/audiology.vue +++ b/pages_teacher/teacher_teachers/components/audiology.vue @@ -9,14 +9,14 @@ - + {{TextItem.name}} - + @@ -57,7 +57,6 @@ data() { return { listHearing: [], - itemActive: {}, // 存储每个项目的活动状态 checked: [], subsets: [], itemActive: {}, @@ -74,16 +73,12 @@ hearing() { this.$u.get('https://api.admin-v2.langsi.online/admin-api/ielts/paper/list', {classify: 1}).then(res => { this.listHearing = res.data - let arr =res.data - for(let a of arr){ - a.active = 'Test 1' - } - this.listHearing= arr + }) }, // 听力test点击事件 - Bages_addActive(idex, id,TextItem) { - this.itemActive[id] = idex + Bages_addActive(TextIndex, id) { + this.itemActive[id] = TextIndex this.$forceUpdate() diff --git a/pages_teacher/teacher_teachers/teacher_addOperation.vue b/pages_teacher/teacher_teachers/teacher_addOperation.vue index bc107fc..eefbc23 100644 --- a/pages_teacher/teacher_teachers/teacher_addOperation.vue +++ b/pages_teacher/teacher_teachers/teacher_addOperation.vue @@ -128,59 +128,138 @@ - - 作业安排 - - - - + - 添加 + + + 作业安排 + + + IELTS 18 + + + + + + + + + + + + - - - - 听力-IELTS 18-Test 2 - - - - - - - + + IELTS 18 + + + + Test 2 + 听力 + + + Part 1:多选题 - - - - Part 1:Questions1-10 - Complete the notes below. - - - - + - - 听力-IELTS 18-Test 2 - - - - - - - - + IELTS 18 + + + + + + + + + + + - - - - Part 1:Questions1-10 - Complete the notes below. + + + + + 添加 + + + @@ -191,7 +270,7 @@ - + @@ -204,7 +283,7 @@ 描述 -