|
|
@@ -60,7 +60,7 @@
|
|
|
@page-change="onPageChange"
|
|
|
@page-size-change="onPageSizeChange"
|
|
|
/>
|
|
|
- <StudentDetails v-if="activeTab === 'student'" />
|
|
|
+ <StudentDetails :courseInfoId="courseInfoId" v-if="activeTab === 'student'" />
|
|
|
<LearningStatistics v-if="activeTab === 'stat'" />
|
|
|
|
|
|
<!-- 编辑课程弹窗 -->
|
|
|
@@ -78,7 +78,8 @@
|
|
|
import { message, Modal } from 'ant-design-vue'
|
|
|
import AddClassHours from './components/AddClassHours.vue'
|
|
|
import LessonDetails from './components/tab/LessonDetails.vue'
|
|
|
- import StudentDetails from './components/tab/StudentDetails.vue'
|
|
|
+ // import StudentDetails from './components/tab/StudentDetails.vue'
|
|
|
+ import StudentDetails from '@/views/courseAdd/components/StudentDetails.vue'
|
|
|
import LearningStatistics from './components/tab/LearningStatistics.vue'
|
|
|
import CourseAdd from '../courseAdd/index.vue'
|
|
|
import { getCourseDetail, getChapterAllList, updateCourseStatus, deleteCourse } from '@/api/course/courseDetail.js'
|
|
|
@@ -115,6 +116,7 @@
|
|
|
})
|
|
|
const activeTab = ref('detail')
|
|
|
const currentPage = ref(1)
|
|
|
+ const courseInfoId = ref(route.query.id)
|
|
|
const pageSize = ref(10)
|
|
|
const editVisible = ref(false)
|
|
|
const addClassHoursVisible = ref(false)
|