data.value[coursePlanIndex.value]?.id ||
const homeWorkId = computed(() => data.value[coursePlanIndex.value]?.homeWorkId || "");
const infoId = computed(() => props.type === 1 ? props.datasource.projectId : props.datasource.routerId);
const scoreTemplateUrl = ref(`${process.env.VUE_APP_BASE_API}/admin/student/exportHomeWorkTemplate?taskId=0&type=3&pid=${offcoursePlanId.value}&thirdType=3`);
+const stuId = ref("");
const columns = ref([
{
title: "工号",
@@ -284,9 +293,53 @@ const columns = ref([
className: "h",
dataIndex: "opacation",
key: "opacation",
- width: 50,
+ width: 100,
align: "center",
- customRender: (text) => showExamAnswer(text)}>{data.value[coursePlanIndex.value]?.answerId ? "查看答卷" : ""}
+ customRender: (text) => {
+ return (
+ )
+ }
},
]);
watch(() => data.value.length, () => {
@@ -328,6 +381,11 @@ const showExamAnswer = () => {
CAvisible.value = true;
};
+const showCWvisible = (id) => {
+ stuId.value = id;
+ CWvisible.value = true;
+}
+
const searchTaskList = () => tableRef.value.fetch();
const exportTaskData = () => window.open(`${process.env.VUE_APP_BASE_API}/admin/student/exportTaskStudent?type=3&pid=${offcoursePlanId.value}&thirdType=2`);
@@ -375,7 +433,12 @@ function resetStudentPage() {
padding: 0px;
}
}
-
+.RouterFaceStu {
+ .ant-drawer-content-wrapper{
+ min-width: 1200px !important;
+ width: 1200px !important;
+ }
+}
.CopyModal {
.ant-modal {
width: 424px !important;
From 535fb1e4cac5a902051dafd392b3f69db2ede039 Mon Sep 17 00:00:00 2001
From: wyx <51903@qq.com>
Date: Wed, 22 Mar 2023 12:31:01 +0800
Subject: [PATCH 2/2] =?UTF-8?q?fix:=E9=9D=A2=E6=8E=88=E8=AF=BE=E5=B7=B2?=
=?UTF-8?q?=E7=BB=8F=E5=8F=91=E5=B8=83=E7=9A=84=E4=B8=8D=E5=85=81=E8=AE=B8?=
=?UTF-8?q?=E7=BC=96=E8=BE=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/learningpath/LevelAddDetail.vue | 2 +-
src/views/projectcenter/TaskAdd.vue | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/learningpath/LevelAddDetail.vue b/src/views/learningpath/LevelAddDetail.vue
index 199544b8..a3b65f29 100644
--- a/src/views/learningpath/LevelAddDetail.vue
+++ b/src/views/learningpath/LevelAddDetail.vue
@@ -288,8 +288,8 @@
开课
编辑
diff --git a/src/views/projectcenter/TaskAdd.vue b/src/views/projectcenter/TaskAdd.vue
index a31e86fb..97b3cf2c 100644
--- a/src/views/projectcenter/TaskAdd.vue
+++ b/src/views/projectcenter/TaskAdd.vue
@@ -258,8 +258,8 @@
开课
编辑