@@ -70,10 +70,11 @@ export function getAllCourseCategoryList() {
}
-export function getCatePidList() {
+export function getCatePidList(query) {
return request({
url: '/course/userCourseCategory/getCatePidList',
- method: 'get'
+ method: 'get',
+ params: query
})
@@ -596,7 +596,7 @@ export default {
},
created() {
this.getList();
- getCatePidList().then(response => {
+ getCatePidList({"isOpenClass":1}).then(response => {
this.categoryOptions = response.data;
});