diff --git a/.env.boe b/.env.boe
index cac81a6a..413ee62d 100644
--- a/.env.boe
+++ b/.env.boe
@@ -14,4 +14,5 @@ VUE_APP_ONLINE_CLASS_URL=//u-pre.boe.com/mobile/pages/study/courseStudy?id=
VITE_BOE_CASS_DETAIL_URL=//u-pre.boe.com/pc/case/detail?id=
VUE_APP_EXAM_DETAIL_URL=//u-pre.boe.com/mobile/pages/exam/exam?id=
# 批量面授报名模板
-VUE_APP_FACE_STUDENT_TEMPLATE=coursefile/批量面授报名模版-1679595849719.xlsx
\ No newline at end of file
+VUE_APP_FACE_STUDENT_TEMPLATE=coursefile/批量面授报名模版-1679595849719.xlsx
+VUE_APP_FILE_PATH=/upload/boe/file/
\ No newline at end of file
diff --git a/src/components/TwoDimensionalCodeNew.vue b/src/components/TwoDimensionalCodeNew.vue
new file mode 100644
index 00000000..de4f7bdd
--- /dev/null
+++ b/src/components/TwoDimensionalCodeNew.vue
@@ -0,0 +1,342 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ codeInfo.name ? codeInfo.name : "" }}
+
+
+ 开课:{{ codeInfo.name ? codeInfo.name : "" }}
+
+
+ 讲师:{{ codeInfo.teacherName ? codeInfo.teacherName : "" }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/student/TableStudent.vue b/src/components/student/TableStudent.vue
index 1f3fb378..a9fb4050 100644
--- a/src/components/student/TableStudent.vue
+++ b/src/components/student/TableStudent.vue
@@ -196,7 +196,7 @@
:data-source="tableData.list"
:pagination="stuPagination"
:loading="tableData.loading"
- :scroll="{ x: 1500 }"
+ :scroll="{ x: 1350 }"
row-key="id"
:row-selection="stuRowSelection"
>
@@ -467,7 +467,7 @@ const tablecolumns = ref([
title: "姓名",
dataIndex: "studentName",
key: "studentName",
- width: "10%",
+ width: "80px",
align: "left",
className: "h",
ellipsis: true,
@@ -496,7 +496,7 @@ const tablecolumns = ref([
title: "工号",
dataIndex: "studentUserNo",
key: "studentUserNo",
- width: "20%",
+ width: "60px",
align: "center",
className: "h",
ellipsis: true,
@@ -505,12 +505,13 @@ const tablecolumns = ref([
title: "部门",
dataIndex: "studentDepartName",
key: "studentDepartName",
- width: "15%",
+ width: "120px",
align: "center",
className: "h",
- ellipsis: true,
+ customCell :() => {return {style: {maxWidth: '200px',overflow: 'hidden',whiteSpace: 'nowrap',textOverflow:'ellipsis',cursor:'pointer'}}},
customRender: ({ record: { studentOrgName, studentDepartName } }) =>
- allDepartShow(studentOrgName),
+ // {allDepartShow(studentOrgName)}
+ {studentDepartName}
},
{
title: "所属小组",
@@ -522,10 +523,10 @@ const tablecolumns = ref([
ellipsis: true,
},
{
- title: "加入方式",
+ title: "报名方式",
dataIndex: "source",
key: "source",
- width: "10%",
+ width: "60px",
align: "center",
customRender: ({ record: { source } }) =>
// ({ 1: "快速添加", 2: "组织", 3: "受众", 4: "报名" }[source]),
@@ -535,8 +536,9 @@ const tablecolumns = ref([
2: "手动加入",
3: "手动加入",
4: "导入",
- 5: "报名",
+ 5: "自主报名",
6: "导入",
+ 8: "扫码报名",
}[source]),
},
...props.columns,
@@ -544,7 +546,8 @@ const tablecolumns = ref([
title: "操作",
dataIndex: "operation",
key: "operation",
- width: 260,
+ width: '120px',
+ fixed: "right",
align: "center",
slots: { customRender: "action" },
},
@@ -559,7 +562,10 @@ function allDepartShow(a, b) {
: a;
let depart = b == "" || b == null || b == undefined ? (b = "") : b;
let allname = org == "" && depart == "" ? "-" : org + depart;
- return allname;
+ const parts = allname.split('/');
+ const reversedParts = parts.reverse();
+ const reversedStr = reversedParts.join('/');
+ return reversedStr;
}
const tableParam = ref({
@@ -858,7 +864,9 @@ const exportHomeWorkShow = () => {
// message.success("导出作业成功");
exportHomeWorkV.value = true;
downloadUrl.value = res.data.data;
- });
+ }).catch(err=>{
+ // message.error(err.data.msg)
+ })
};
// //导出作业
// const exportHomeWork = () => {
diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue
index f93ebafe..158ec038 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"
/>