教师课程邀请审核

This commit is contained in:
daihh
2022-09-06 19:59:39 +08:00
parent f1199cfd01
commit a9bb2f0222
5 changed files with 60 additions and 90 deletions

View File

@@ -1158,13 +1158,14 @@ export default {
let $this = this;
//先获取课程内容
apiHRBP.getHRBP(this.orgKid).then(rs=>{
if(rs.status==200){
if(rs.status==200 && rs.result.length>0){
let hrbpUser=rs.result[0];
postData.auditUser={
email:rs.result.email,
code:rs.result.user_no,
name:rs.result.real_name,
kid:rs.result.user_id,
orgId:rs.result.orgnization_id,
email:hrbpUser.email,
code:hrbpUser.user_no,
name:hrbpUser.real_name,
kid:hrbpUser.user_id,
orgId:hrbpUser.orgnization_id
}
apiCourse.submitCourse(postData).then(res => {
//this.btnLoading=false;