|
|
@ -3,7 +3,7 @@ import { ref, onMounted } from 'vue' |
|
|
|
import { ElMessage, ElMessageBox } from 'element-plus' |
|
|
|
import { ElMessage, ElMessageBox } from 'element-plus' |
|
|
|
import { id } from 'element-plus/es/locales.mjs' |
|
|
|
import { id } from 'element-plus/es/locales.mjs' |
|
|
|
import * as echarts from 'echarts' |
|
|
|
import * as echarts from 'echarts' |
|
|
|
import { useRoute } from 'vue-router' |
|
|
|
// import { useRoute } from 'vue-router' |
|
|
|
import { |
|
|
|
import { |
|
|
|
getCourseList, |
|
|
|
getCourseList, |
|
|
|
addCourse, |
|
|
|
addCourse, |
|
|
@ -12,13 +12,6 @@ import { |
|
|
|
getCourseInfo, |
|
|
|
getCourseInfo, |
|
|
|
} from '@/api/courseChaptersApi' |
|
|
|
} from '@/api/courseChaptersApi' |
|
|
|
import { useRoute, useRouter } from 'vue-router' |
|
|
|
import { useRoute, useRouter } from 'vue-router' |
|
|
|
import { |
|
|
|
|
|
|
|
getCourseList, |
|
|
|
|
|
|
|
addCourse, |
|
|
|
|
|
|
|
editCourse, |
|
|
|
|
|
|
|
deleteCourse, |
|
|
|
|
|
|
|
getCourseInfo, |
|
|
|
|
|
|
|
} from '@/api/courseChaptersApi' |
|
|
|
|
|
|
|
const route = useRoute() |
|
|
|
const route = useRoute() |
|
|
|
const router = useRouter() |
|
|
|
const router = useRouter() |
|
|
|
// id : 分目标id |
|
|
|
// id : 分目标id |
|
|
|