|
@@ -94,9 +94,10 @@
|
|
|
v-if="studentListModalVisible"
|
|
|
>
|
|
|
<viewStudentList
|
|
|
- :list="studentList"
|
|
|
+ :activeRow="{id: detail.id}"
|
|
|
+ :select="false"
|
|
|
v-if="studentListModalVisible"
|
|
|
- :showOk="true"
|
|
|
+ :showOk="false"
|
|
|
:isChiose="false"
|
|
|
@close="studentListModalVisible = false"
|
|
|
/>
|
|
@@ -171,19 +172,19 @@ export default {
|
|
|
} catch (error) {}
|
|
|
// console.log('courseTypeList',this.courseTypeList)
|
|
|
// 获取班级的学生列表
|
|
|
- getClassAllStudent({ classGroupId: this.detail.id }).then((res) => {
|
|
|
- if (res.code == 200) {
|
|
|
- this.studentList = res.data.map((item) => {
|
|
|
- return {
|
|
|
- userId: item.userId,
|
|
|
- nickName: item.name,
|
|
|
- gender: item.gender,
|
|
|
- phone: item.parentsPhone,
|
|
|
- subjectNames: item.subjectName,
|
|
|
- };
|
|
|
- });
|
|
|
- }
|
|
|
- });
|
|
|
+ // getClassAllStudent({ classGroupId: this.detail.id }).then((res) => {
|
|
|
+ // if (res.code == 200) {
|
|
|
+ // this.studentList = res.data.map((item) => {
|
|
|
+ // return {
|
|
|
+ // userId: item.userId,
|
|
|
+ // nickName: item.name,
|
|
|
+ // gender: item.gender,
|
|
|
+ // phone: item.parentsPhone,
|
|
|
+ // subjectNames: item.subjectName,
|
|
|
+ // };
|
|
|
+ // });
|
|
|
+ // }
|
|
|
+ // });
|
|
|
this.setCourseTypeListByName(); // 获取课程名称和枚举的键值对
|
|
|
this.formatClasss(); // 初始化班级
|
|
|
this.FetchHoliday(); // 设置节假日
|