mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 19:36:43 +08:00
提交修改
This commit is contained in:
@@ -824,7 +824,7 @@ export default {
|
||||
if(result.course.sysType3!='' && result.course.sysType3!='0'){
|
||||
this.sysTypeList.push(result.course.sysType3);
|
||||
}
|
||||
console.log(this.sysTypeList,'this.sysTypeList');
|
||||
//console.log(this.sysTypeList,'this.sysTypeList');
|
||||
//受众处理,crowds
|
||||
let crowdList=[];
|
||||
if(result.crowds && result.crowds.length>0){
|
||||
@@ -1099,12 +1099,16 @@ export default {
|
||||
});
|
||||
},
|
||||
submitCourse() {
|
||||
console.log(this.courseInfo.orgId,'this.courseInfo.orgId');
|
||||
console.log(this.orgKid,'this.orgKid');
|
||||
if(!this.courseInfo.orgId || !this.orgKid){
|
||||
//console.log(this.courseInfo.orgId,'this.courseInfo.orgId');
|
||||
//console.log(this.orgKid,'this.orgKid');
|
||||
if(!this.courseInfo.orgId){
|
||||
this.$message.error('请选择资源归属');
|
||||
return;
|
||||
}
|
||||
if(!this.orgKid){
|
||||
this.$message.error('资源归属无关联HRBP信息');
|
||||
return;
|
||||
}
|
||||
//console.log(this.resOwnerListMap[0],'this.resOwnerListMap[0]');
|
||||
//return;
|
||||
let ownerCode=this.resOwnerListMap[0].code;
|
||||
|
||||
@@ -79,11 +79,17 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js";
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.sex = this.userInfo.sex;
|
||||
// 判断路由是进入的学员默认页面就重置setCurIdentity
|
||||
if(this.$route.path == '/uc/study/task' || this.$route.path == '/study/index'){
|
||||
this.setCurIdentity(1);
|
||||
this.sex = this.userInfo.sex;
|
||||
let iden=this.$route.query.identity;
|
||||
if(iden){
|
||||
this.setCurIdentity(parseInt(iden));
|
||||
}else{
|
||||
// 判断路由是进入的学员默认页面就重置setCurIdentity
|
||||
if(this.$route.path == '/uc/study/task' || this.$route.path == '/study/index'){
|
||||
this.setCurIdentity(1);
|
||||
}
|
||||
}
|
||||
|
||||
//let testName='京东方科技集团股份有限公司/北京中祥英科技有限公司/技术中心';
|
||||
//this.orgInfo=cutFullName(testName,1);
|
||||
this.orgInfo=cutFullName(this.userInfo.departFullName,1);
|
||||
|
||||
Reference in New Issue
Block a user