mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 19:36:43 +08:00
[FXI]在线管理列表函数打印
This commit is contained in:
@@ -427,7 +427,7 @@ import TopCourseSorter from '@/components/Course/TopCourseSorter.vue';
|
||||
import apiResowner from '../../api/modules/resowner.js';
|
||||
import apiType from '../../api/modules/type.js'
|
||||
import { courseType } from '../../utils/tools.js';
|
||||
import apiCourse from '../../api/modules/course.js';
|
||||
import apiCourse from '@/api/modules/course.js';
|
||||
// import {resOwnerIndexName,sysTypeIndexName} from '@/utils/type.js';
|
||||
import { mapGetters, mapActions } from 'vuex';
|
||||
import apiUserbasic from "@/api/boe/userbasic.js"
|
||||
@@ -1145,17 +1145,20 @@ export default {
|
||||
if (!this.validateLearningTimeRange()) {
|
||||
return;
|
||||
}
|
||||
console.log('apiCourse', apiCourse)
|
||||
const query = this.buildQueryParams();
|
||||
apiCourse.managePage(query).then(rs => {
|
||||
if (rs.status == 200) {
|
||||
this.pageData = rs.result.list ? rs.result.list : [];
|
||||
// this.pageData = rs.result.list;
|
||||
this.page.count = rs.result.count;
|
||||
this.page.pageSize = rs.result.pageSize;
|
||||
} else {
|
||||
return this.$message.error(rs.message);
|
||||
}
|
||||
})
|
||||
}).catch(err => {
|
||||
console.error('查询课程列表失败:', err);
|
||||
this.$message.error('查询失败,请稍后重试');
|
||||
});
|
||||
|
||||
},
|
||||
viewTopic(row) {
|
||||
|
||||
Reference in New Issue
Block a user