From cd1fc036a2993a9cbb3d632a296e2909b395b59e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Czouyf=E2=80=9D?= <80906036@qq.com> Date: Mon, 25 Nov 2024 11:18:45 +0800 Subject: [PATCH 1/8] 1 --- .../newClassTaskAssign/questionUpload/quesItem/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/quesItem/index.vue b/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/quesItem/index.vue index d1a8f5d..952a816 100644 --- a/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/quesItem/index.vue +++ b/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/quesItem/index.vue @@ -1698,7 +1698,7 @@ watch(() => props.bookobj.levelSecondId, async (newVal, oldVal) => { * 2. 其他: 获取当前章节下的所有知识点 */ let id = props.bookobj.levelSecondId; - if(props.bookobj.node.edusubject == '语文' || props.bookobj.node.edusubject == '英语'){ + if( props.bookobj.node.edustage == '高中' && (props.bookobj.node.edusubject == '语文' || props.bookobj.node.edusubject == '英语') ){ id = props.bookobj.node.rootid; const res = await listEvaluation({ edusubject: props.bookobj.node.edusubject, edustage: props.bookobj.node.edustage, itemkey: "subject", pageSize: 10 }); id = res.rows[0]?.id; From d26af6446a0154ffabc6373a568700e87db485dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Czouyf=E2=80=9D?= <80906036@qq.com> Date: Mon, 25 Nov 2024 15:19:15 +0800 Subject: [PATCH 2/8] =?UTF-8?q?=E8=AF=95=E9=A2=98=E7=BC=96=E8=BE=91-?= =?UTF-8?q?=E5=9B=9E=E6=98=BE=E7=9F=A5=E8=AF=86=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../classTask/newClassTaskAssign/index.vue | 2 +- .../questionUpload/quesItem/index.vue | 26 +++++++++++++------ 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/src/renderer/src/views/classTask/newClassTaskAssign/index.vue b/src/renderer/src/views/classTask/newClassTaskAssign/index.vue index 6adcd64..3f39eea 100644 --- a/src/renderer/src/views/classTask/newClassTaskAssign/index.vue +++ b/src/renderer/src/views/classTask/newClassTaskAssign/index.vue @@ -104,7 +104,7 @@