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