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:
@@ -847,16 +847,26 @@ export default {
|
|||||||
})
|
})
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
apiOrg.getSimple(this.courseInfo.orgId).then(rrs=>{
|
// apiOrg.getSimple(this.courseInfo.orgId).then(rrs=>{
|
||||||
if(rrs.status==200){
|
// if(rrs.status==200){
|
||||||
$this.orgName=rrs.result.name;
|
// $this.orgName=rrs.result.name;
|
||||||
$this.orgKid=rrs.result.kid;
|
// $this.orgKid=rrs.result.kid;
|
||||||
$this.orgNamePath=rrs.result.namePath;
|
// $this.orgNamePath=rrs.result.namePath;
|
||||||
|
// }else{
|
||||||
|
// $this.courseInfo.orgId='';
|
||||||
|
// $this.$message.error('资源归属已变更,请重新选择');
|
||||||
|
// }
|
||||||
|
// });
|
||||||
|
apiUserBasic.getOrgInfo(this.courseInfo.orgId).then(rs=>{
|
||||||
|
if(rs.status==200){
|
||||||
|
$this.orgName=rs.result.name;
|
||||||
|
//$this.orgKid=rs.result.kid;
|
||||||
|
$this.orgNamePath=rs.result.namePath;
|
||||||
}else{
|
}else{
|
||||||
$this.courseInfo.orgId='';
|
$this.courseInfo.orgId='';
|
||||||
$this.$message.error('资源归属已变更,请重新选择');
|
$this.$message.error('资源归属已变更,请重新选择');
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
this.resOwnerArray=[];
|
this.resOwnerArray=[];
|
||||||
|
|||||||
Reference in New Issue
Block a user