|
@@ -216,7 +216,7 @@
|
|
|
prop="masterTeacherName"
|
|
|
label="指导老师"
|
|
|
/>
|
|
|
- <el-table-column
|
|
|
+ <!-- <el-table-column
|
|
|
align="center"
|
|
|
prop="teachingUserNames"
|
|
|
label="助教老师"
|
|
@@ -224,7 +224,7 @@
|
|
|
<template slot-scope="scope">
|
|
|
<copy-text>{{ scope.row.teachingUserNames }}</copy-text>
|
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
+ </el-table-column> -->
|
|
|
<el-table-column align="center" label="结算状态">
|
|
|
<template slot-scope="scope">
|
|
|
{{ scope.row.settlementTime ? "已结算" : "未结算" }}
|
|
@@ -914,18 +914,18 @@ export default {
|
|
|
};
|
|
|
getCourseSchedule(obj).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
- const result = res.data.rows || [];
|
|
|
- result.forEach(row => {
|
|
|
- if (row.teachingTeachers && row.teachingTeachers.length > 0) {
|
|
|
- const names = [];
|
|
|
- row.teachingTeachers.forEach(teacher => {
|
|
|
- names.push(teacher.userName);
|
|
|
- });
|
|
|
- row.teachingUserNames = names.join(",");
|
|
|
- } else {
|
|
|
- row.teachingUserNames = "";
|
|
|
- }
|
|
|
- });
|
|
|
+ // const result = res.data.rows || [];
|
|
|
+ // result.forEach(row => {
|
|
|
+ // if (row.teachingTeachers && row.teachingTeachers.length > 0) {
|
|
|
+ // const names = [];
|
|
|
+ // row.teachingTeachers.forEach(teacher => {
|
|
|
+ // names.push(teacher.userName);
|
|
|
+ // });
|
|
|
+ // row.teachingUserNames = names.join(",");
|
|
|
+ // } else {
|
|
|
+ // row.teachingUserNames = "";
|
|
|
+ // }
|
|
|
+ // });
|
|
|
this.tableList = res.data.rows;
|
|
|
this.rules.total = res.data.total;
|
|
|
}
|