|
@@ -21,7 +21,7 @@
|
|
|
<div style="width:220px!important">
|
|
|
<a href="#"
|
|
|
class="studentTitle"
|
|
|
- @click="studentListModalVisible=true"> 学生列表>></a>
|
|
|
+ @click="lookStudentList"> 学生列表>></a>
|
|
|
</div>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -165,13 +165,13 @@
|
|
|
</template>
|
|
|
<script>
|
|
|
import { diffTimerFormMinute, addTimerFormMinute } from '@/utils/date'
|
|
|
-import { getTeacher, resetCourse, getCourseScheduleDetail } from "@/api/buildTeam";
|
|
|
+import { getTeacher, resetCourse, getCourseScheduleDetail,getCourseStudents } from "@/api/buildTeam";
|
|
|
import viewStudentList from '../components/modals/view-student-list'
|
|
|
import { getTeachSchool } from "@/api/teacherManager";
|
|
|
import cleanDeep from 'clean-deep'
|
|
|
import dayjs from 'dayjs';
|
|
|
export default {
|
|
|
- props: ["show", "id", "isDisabled"],
|
|
|
+ props: ["show", "id", "isDisabled","idList"],
|
|
|
components: { viewStudentList },
|
|
|
data () {
|
|
|
return {
|
|
@@ -313,6 +313,14 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
+ },
|
|
|
+ lookStudentList(){
|
|
|
+ getCourseStudents({courseIds:this.idList}).then(res=>{
|
|
|
+ if(res.code == 200){
|
|
|
+ this.studentListModal = res.data;
|
|
|
+ this.studentListModalVisible = true;
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
},
|
|
|
|