diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue
index 3056eecf..053bae4d 100644
--- a/src/views/courselibrary/CoursewareManage.vue
+++ b/src/views/courselibrary/CoursewareManage.vue
@@ -872,6 +872,9 @@
+
+ {{record.offteachers.map(item=>item.teacherName).join(',')}}
+
评估设置
@@ -1830,7 +1852,12 @@ import {duration} from "moment";
import { DeleteOutlined } from '@ant-design/icons-vue';
//列表表格
-
+const moreLine = (item) => {
+ item.map(val => {
+ return (val.line = val.teacherName + " 权重 " + val.weight + '%')
+ })
+ return item.map(i => i.line).join('\n')
+}
//列表操作在线面授管理
const columns2 = [
{
@@ -1977,9 +2004,9 @@ const columns6 = [
key: "organization",
width: "15%",
align: "center",
- ellipsis: true,
+ customCell:() => {return {style: {maxWidth: '200px',overflow: 'hidden',whiteSpace: 'nowrap',textOverflow:'ellipsis',cursor:'pointer',padding:'0px 10px'}}},
customRender: ({ text }) => {
- return text ? text : "-";
+ return
{text ? text : "-"}
},
},
{
@@ -1997,10 +2024,11 @@ const columns6 = [
title: "教师名称",
dataIndex: "teacher",
key: "teacher",
- width: "24%",
+ width: "30%",
align: "center",
ellipsis: true,
- customRender: ({ record }) => {
+ slots: { customRender: "teacherName" },
+ // customRender: ({ record }) => {
// const teachers = record.offteachers;
// return teachers.map((teacher, index) => {
// // 如果需要显示为列表形式
@@ -2011,8 +2039,8 @@ const columns6 = [
//
// );
// });
- return record.offteachers.map(item=>item.teacherName).join(',')
- }
+ // return record.offteachers.map(item=>item.teacherName).join(',')
+ // }
},
{
@@ -2061,7 +2089,7 @@ const columns6 = [
return(
{text || '0'}
-
xixi
+
downStudent()} title="导出学员信息">
)
},
@@ -2074,7 +2102,12 @@ const columns6 = [
align: "center",
ellipsis: true,
customRender: ({ text }) => {
- return text ? text : "0";
+ return(
+
+
{text || '0'}
+
downPin()} title="导出评估信息">
+
+ )
},
},
{
@@ -2087,6 +2120,12 @@ const columns6 = [
slots: { customRender: "action" },
},
];
+const downStudent = () => {
+ console.log('down')
+}
+const downPin = () => {
+ console.log('down')
+}
//开课学员管理
const columns7 = [
//// {
@@ -2311,7 +2350,7 @@ export default defineComponent({
align: "left",
customCell :() => {return {style: {maxWidth: '200px',overflow: 'hidden',whiteSpace: 'nowrap',textOverflow:'ellipsis',cursor:'pointer'}}},
customRender: ({ text }) => {
- return
{text ? text : "-"}
+ return
{text ? text : "-"}
},
},
{
@@ -2708,6 +2747,8 @@ export default defineComponent({
kkinputV2: "",
//新建开课
xjkkradioV1: false,
+ xjkkradioVEnd: false,
+ xjkkradioVEndTime: null,
completeType: "",
xjkkinputV1: "",
onceName: "",
@@ -3872,6 +3913,8 @@ function onFocusEnd(){
state.kk_eidt = false;
state.xjkkradioV1 = false;
+ state.xjkkradioVEnd = false;
+ state.xjkkradioVEndTime = null;
state.completeType = "";
// state.xjkkinputV1 = "";
state.onceName = "";
@@ -5194,6 +5237,7 @@ function onFocusEnd(){
handleEdit,
handleDelete,
changevalue,
+ moreLine,
columns2,
columns4,
columns6,
@@ -5309,12 +5353,25 @@ function onFocusEnd(){
inputWeightChange,
totalWeightSum,
inputAdd,
- inputRemove
+ inputRemove,
+ downStudent,
+ downPin
};
},
});