|
|
@ -1,10 +1,11 @@ |
|
|
|
<script setup> |
|
|
|
<script setup> |
|
|
|
// import router from '@/router' |
|
|
|
// import router from '@/router' |
|
|
|
import { ref } from 'vue' |
|
|
|
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 { ElMessageBox, ElMessage } from 'element-plus' |
|
|
|
import { useRouter } from 'vue-router' |
|
|
|
import { useRouter } from 'vue-router' |
|
|
|
|
|
|
|
import { LearningRecordsControllerService } from '../../../generated/services/LearningRecordsControllerService' |
|
|
|
const total = ref(0) |
|
|
|
const total = ref(0) |
|
|
|
const recordList = ref([]) |
|
|
|
const recordList = ref([]) |
|
|
|
const selectedIds = ref([]) |
|
|
|
const selectedIds = ref([]) |
|
|
@ -20,7 +21,11 @@ const params = ref({ |
|
|
|
const getrecordList = async () => { |
|
|
|
const getrecordList = async () => { |
|
|
|
console.log(1111111) |
|
|
|
console.log(1111111) |
|
|
|
loading.value = true |
|
|
|
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 |
|
|
|
recordList.value = res.data.records |
|
|
|
console.log(res) |
|
|
|
console.log(res) |
|
|
|
//获取总的浏览记录 |
|
|
|
//获取总的浏览记录 |
|
|
|