diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue
index cac253e2..57a45c0a 100644
--- a/src/views/courselibrary/CoursewareManage.vue
+++ b/src/views/courselibrary/CoursewareManage.vue
@@ -10,6 +10,7 @@
v-model:value="createName"
style="width: 200px; height: 40px; border-radius: 8px"
placeholder="请输入创建人"
+ @pressEnter="handleSearch1"
/>
@@ -17,6 +18,7 @@
v-model:value="name"
style="width: 200px; height: 40px; border-radius: 8px"
placeholder="请输入名称"
+ @pressEnter="handleSearch1"
/>
@@ -24,6 +26,7 @@
v-model:value="projectName"
style="width: 200px; height: 40px; border-radius: 8px"
placeholder="请输入所属项目"
+ @pressEnter="handleSearch1"
/>
重置
+
+
+
@@ -788,12 +793,12 @@
-
+
-
+
{
@@ -2048,16 +2056,33 @@ const columns6 = [
width: 100,
align: "center",
ellipsis: true,
+ customRender: ({ text }) => {
+ return(
+
+ )
+ },
+ },
+ {
+ title: "评分",
+ dataIndex: "studentCnt",
+ key: "studentCnt",
+ width: 100,
+ align: "center",
+ ellipsis: true,
customRender: ({ text }) => {
return text ? text : "0";
},
},
{
title: "操作",
- width: 200,
+ width: 300,
dataIndex: "operation",
key: "operation",
align: "center",
+ fixed: "right",
slots: { customRender: "action" },
},
];
@@ -3820,7 +3845,7 @@ function onFocusEnd(){
const stm_exit = () => {
state.stm_hs = false;
handleCancelStu();
- handleRestTable();
+ // handleRestTable();
};
const createkk = () => {
state.xjkkinputV1 = state.newCourseName
@@ -5108,19 +5133,19 @@ function onFocusEnd(){
state.codevisible = true;
let teacherNames = record.offteachers?.filter(teacher => teacher.teacherName !== null).map(teacher => teacher.teacherName);
state.codeInfo = {
- title: type == 1 ? "【课程】二维码" : "【签到】二维码",
- name: record.name ? record.name+'签到' : "",
+ title: type == 1 ? "【课程】二维码" : type == 2 ? "【签到】二维码" : "【评估】二维码",
+ name: record.name ? record.name + type == 2 ?'签到' : '评估' : "",
teacherName: teacherNames.length > 0 ? teacherNames.join(' ') : "",
url:
type == 1
? process.env.VUE_APP_BASE_API +
`/stu/project/redirectDetail?courseId=${record.id}`
- : process.env.VUE_APP_BASE_API +
+ : type == 2 ? process.env.VUE_APP_BASE_API +
`/admin/student/studentSign?taskId=${
record.id
}&taskType=${2}&type=${3}&openCourseId=${
record.id
- }`,
+ }` : `${location.protocol}//${location.host}/student-h5/investigatpage?id=${record.id}&type=3&infoId=${record.id}&courseId=${record.assessmentId}&chapterOrStageId=0&level=${record.name}`
};
console.log("codeInfo", state.codeInfo, record);
state.codeIndex = 0;
@@ -5286,6 +5311,9 @@ function onFocusEnd(){
});