develoop
edana 5 months ago
parent 18ab58381c
commit 0da2b2cc06
  1. 11
      src/views/MyCourseStudy/learningProcess.vue

@ -1,10 +1,11 @@
<script setup>
// import router from '@/router'
import { ref } from 'vue'
import { getRecordListService, DelRecordService } from '@/api/user/record.js'
//getRecordListService,
import { DelRecordService } from '@/api/user/record.js'
import { ElMessageBox, ElMessage } from 'element-plus'
import { useRouter } from 'vue-router'
import { LearningRecordsControllerService } from '../../../generated/services/LearningRecordsControllerService'
const total = ref(0)
const recordList = ref([])
const selectedIds = ref([])
@ -20,7 +21,11 @@ const params = ref({
const getrecordList = async () => {
console.log(1111111)
loading.value = true
const res = await getRecordListService(params.value)
// const res = await getRecordListService(params.value)
const res = await LearningRecordsControllerService.getAllUsingGet3(
params.value,
)
recordList.value = res.data.records
console.log(res)
//

Loading…
Cancel
Save