From 0f425d92774f69c9c3b9a1ccd5e229c1ceed3814 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Czouyf=E2=80=9D?= <80906036@qq.com> Date: Mon, 21 Oct 2024 16:41:13 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BD=9C=E4=B8=9A=E5=B8=83=E7=BD=AE]=20-=20?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=AF=95=E9=A2=98=E8=AF=A6=E6=83=85=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B=E5=BC=B9=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../container/newTask/taskTypeView.vue | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/renderer/src/views/classTask/container/newTask/taskTypeView.vue b/src/renderer/src/views/classTask/container/newTask/taskTypeView.vue index 431913f..3252c0f 100644 --- a/src/renderer/src/views/classTask/container/newTask/taskTypeView.vue +++ b/src/renderer/src/views/classTask/container/newTask/taskTypeView.vue @@ -99,7 +99,7 @@ @@ -246,6 +249,7 @@ import { getCurrentTime } from '@/utils/date' import FileUpload from "@/components/FileUpload/index.vue"; import whiteboard from '@/components/whiteboard/whiteboard.vue' import prevReadMsgDialog from '@/views/classTask/container/newTask/prevReadMsg-Dialog.vue' +import examDetailsDrawer from '@/components/exam-question/examDetailsDrawer.vue' import { useToolState } from '@/store/modules/tool' import useUserStore from '@/store/modules/user' @@ -858,6 +862,19 @@ const editWork = async (cform) =>{ } } +/** + * 查看试题详细信息 + * @param row 单题数据 + */ +const showExamAnalyseDrawer = (row) => { + nextTick(() => { + const activeParams = { + activeExam: row, + } + proxy.$refs.examDetailsDrawerRef.acceptParams(activeParams); + }) +} + onMounted(() => {