mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-07 01:46:44 +08:00
课程查询受众权限接口修改
This commit is contained in:
@@ -180,6 +180,7 @@
|
||||
import {toScore} from '@/utils/tools.js'
|
||||
import apiBoeCourse from '@/api/boe/course.js'
|
||||
import apiUserGroup from "@/api/modules/usergroup.js";
|
||||
import apiUserbasic from '@/api/boe/userbasic.js'
|
||||
import apiOnceMedal from '@/api/phase2/onceMedal.js'
|
||||
import { mapGetters,mapActions} from 'vuex';
|
||||
export default {
|
||||
@@ -281,8 +282,16 @@
|
||||
//this.signInShow = true;//显示
|
||||
}
|
||||
this.getSysTypeTree();
|
||||
this.findCourseData();
|
||||
this.loadSysTypes();
|
||||
if(this.audiences.length==0){
|
||||
apiUserbasic.getInAudienceIds(this.userInfo.aid).then(rs=>{
|
||||
this.audiences=rs;
|
||||
this.findCourseData();
|
||||
});
|
||||
}else{
|
||||
this.findCourseData();
|
||||
}
|
||||
|
||||
},
|
||||
methods: {
|
||||
...mapActions({
|
||||
@@ -426,8 +435,10 @@
|
||||
sysType2:'',
|
||||
sysType3:'',
|
||||
scenes:'',
|
||||
audiences:this.audiences.join(','),
|
||||
type:''
|
||||
}
|
||||
|
||||
query.type=this.dataFilter.courseParams.type;
|
||||
// if(this.tabIndex==0){
|
||||
// query.orderField='publishTime';
|
||||
|
||||
Reference in New Issue
Block a user