From 171c2e6aef3461de4be05c8e5621b0b70e11e37f Mon Sep 17 00:00:00 2001 From: yangjun <1173114630@qq.com> Date: Mon, 12 Aug 2024 09:14:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/routes/modules/site/site.ts | 9 + src/views/kc/wjxCswj/WjxCswjStuList.vue | 7 +- src/views/kc/wjxCswj/WjxCywjV2List.vue | 662 +++++++++++++++--- .../wjxWjxx/components/WjxWjxxTmlbDjForm.vue | 10 +- .../components/WjxWjxxTmlbDjV2Form.vue | 331 +++++++++ .../checkKecheng/dqxqkcMenu.vue | 8 +- src/views/site/studentWdkc/studentDbtx.vue | 2 +- src/views/site/studentWdkc/studentMenu.vue | 16 +- .../zy/zyInfo/StudentZyInfoLiebiaoList.vue | 62 +- src/views/zy/zyInfo/StudentZyInfoList.vue | 203 +++--- src/views/zy/zyInfo/ZyInfoV2List.vue | 8 +- .../components/ZyInfoStudentForm.vue | 7 + 12 files changed, 1093 insertions(+), 232 deletions(-) create mode 100644 src/views/kc/wjxWjxx/components/WjxWjxxTmlbDjV2Form.vue diff --git a/src/router/routes/modules/site/site.ts b/src/router/routes/modules/site/site.ts index 1658852..84cf9c6 100644 --- a/src/router/routes/modules/site/site.ts +++ b/src/router/routes/modules/site/site.ts @@ -243,6 +243,15 @@ const site: AppRouteModule = { title: '讨论区', }, }, + { + path: 'studentDjcy', + name: 'studentDjcy', + component: () => import('/@/views/kc/wjxWjxx/components/WjxWjxxTmlbDjV2Form.vue'), + meta: { + // affix: true, + title: '课程测验', + }, + }, ], }; diff --git a/src/views/kc/wjxCswj/WjxCswjStuList.vue b/src/views/kc/wjxCswj/WjxCswjStuList.vue index 0804deb..e6714fe 100644 --- a/src/views/kc/wjxCswj/WjxCswjStuList.vue +++ b/src/views/kc/wjxCswj/WjxCswjStuList.vue @@ -121,8 +121,11 @@ createMessage.error('答卷时间已过!'); return; } - WjxWjxxTmlbDjModalPage.value.disableSubmit = false; - WjxWjxxTmlbDjModalPage.value.edit(record,false,"6",'xs'); + // WjxWjxxTmlbDjModalPage.value.disableSubmit = false; + // WjxWjxxTmlbDjModalPage.value.edit(record,false,"6",'xs'); + // cytitle, cyid, cyatype, sfzd, sfbs + var url ="/site/studentDjcy?cytitle="+record.title+"&cyid="+record.id+"&cyatype=6&sfzd=0&sfbs=xs"; + window.open(url,'_blank') } /** diff --git a/src/views/kc/wjxCswj/WjxCywjV2List.vue b/src/views/kc/wjxCswj/WjxCywjV2List.vue index 2245e2a..6cc1691 100644 --- a/src/views/kc/wjxCswj/WjxCywjV2List.vue +++ b/src/views/kc/wjxCswj/WjxCywjV2List.vue @@ -14,6 +14,7 @@ +
课程测验次数设置 @@ -56,11 +57,12 @@
+
- 编辑作业 - 布置作业:设置第{{ zyInfo.sort }}次作业内容及要求 + 编辑测验 - 布置测验:设置第{{ zyInfo.sort }}次测验内容及要求 @@ -71,7 +73,7 @@
基本信息
- + @@ -261,6 +312,7 @@ v-model:value="tmxx.itemTitle" :bordered="false" :style="{ width: handinpwei(tmxx.itemTitle) }" + :disabled="editDisabled" /> (正确答案)
@@ -291,27 +345,44 @@ :bordered="false" :style="{ width: handinpwei(item.wjTitle) }" :auto-size="{ minRows: 1, maxRows: 5 }" + :disabled="editDisabled" /> [填空] @@ -322,6 +393,7 @@ :bordered="false" style="width: 100%" :auto-size="{ minRows: 1, maxRows: 5 }" + :disabled="editDisabled" /> @@ -339,7 +411,7 @@ - 保存 + 保存 返回 @@ -349,6 +421,105 @@
+
+ + + + + 统计分析 + + + 返回 + + + + + + + 测验名称:{{ zyInfo.title }} + + 测验时间:{{ dayjs(zyInfo.startTime).format('MM.DD HH:mm') }} ~ {{ dayjs(zyInfo.endTime).format('MM.DD HH:mm') }} + + 总人数:{{ zyInfo.xkrs }} + 已完成人数:{{ zyInfo.ywcrs }} + 未完成人数:{{ zyInfo.wwcrs }} + +
基本信息
+
+ +
+ +
+ + + + + + +
+ + + (正确答案) + 选择人数:{{ tmxx.num }}人 + +
+
+
+
+ +
+ + + + + + + + + + + (正确答案) + 选择人数:{{ tmxx.num }}人 + + + + + +
+ +
+ + + + + + +
+
无对应类型
+
+
+
+
+
+
+
布置测验 @@ -360,84 +531,213 @@ - + + + + -

尚未布置测验题目及具体要求

- + + + + + + 设计测验 + + + + + + 发送问卷 + + + + + + 测验结果 + + + + + + + +
- -