mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 20:36:43 +08:00
修改课程参数,获取hrbp后的字段匹配错误
This commit is contained in:
@@ -559,7 +559,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
confirmChooseOrg(orgInfo){
|
confirmChooseOrg(orgInfo){
|
||||||
console.log(orgInfo,'orgInfo');
|
//console.log(orgInfo,'orgInfo');
|
||||||
if(!orgInfo.hrbpId || orgInfo.hrbpId=='0'){
|
if(!orgInfo.hrbpId || orgInfo.hrbpId=='0'){
|
||||||
this.$message.error("此机构无HRBP审核人信息,请重新选择");
|
this.$message.error("此机构无HRBP审核人信息,请重新选择");
|
||||||
return;
|
return;
|
||||||
@@ -1387,12 +1387,12 @@ export default {
|
|||||||
if(rs.status==200 && rs.result){
|
if(rs.status==200 && rs.result){
|
||||||
postData.auditUser={
|
postData.auditUser={
|
||||||
email:rs.result.email,
|
email:rs.result.email,
|
||||||
code:rs.result.user_no,
|
code:rs.result.userNo,
|
||||||
name:rs.result.name,
|
name:rs.result.name,
|
||||||
aid:rs.result.id,
|
aid:rs.result.id,
|
||||||
orgId:rs.result.orgId
|
orgId:rs.result.orgId
|
||||||
}
|
}
|
||||||
postData.course.orgName=rs.result.orgNamePath+'/'+$this.orgName;
|
postData.course.orgName=rs.result.orgNamePath+'/'+rs.result.orgName;
|
||||||
|
|
||||||
// apiHRBP.getHRBP(this.orgKid).then(rs=>{
|
// apiHRBP.getHRBP(this.orgKid).then(rs=>{
|
||||||
// if(rs.status==200 && rs.result.length>0){
|
// if(rs.status==200 && rs.result.length>0){
|
||||||
|
|||||||
@@ -68,7 +68,6 @@
|
|||||||
}else{
|
}else{
|
||||||
return (<span class="custom-tree-node"> <span>{node.label}</span></span>);
|
return (<span class="custom-tree-node"> <span>{node.label}</span></span>);
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
initTree(){
|
initTree(){
|
||||||
apiUserBasic.findOrgsByKeyword('').then(rs=>{
|
apiUserBasic.findOrgsByKeyword('').then(rs=>{
|
||||||
|
|||||||
@@ -219,7 +219,7 @@ export default {
|
|||||||
auditUser:rs.result.name,
|
auditUser:rs.result.name,
|
||||||
//ukid:hrbpUser.user_id,
|
//ukid:hrbpUser.user_id,
|
||||||
orgId:row.orgId,
|
orgId:row.orgId,
|
||||||
orgName:rs.result.orgNamePath //+'/'+rrs.result.name
|
orgName:rs.result.orgNamePath +'/'+rs.result.name
|
||||||
}
|
}
|
||||||
apiCourse.sumbits(req).then(res=>{
|
apiCourse.sumbits(req).then(res=>{
|
||||||
if(res.status==200){
|
if(res.status==200){
|
||||||
|
|||||||
Reference in New Issue
Block a user