diff --git a/src/components/Course/courseForm.vue b/src/components/Course/courseForm.vue index 19ca7236..70283441 100644 --- a/src/components/Course/courseForm.vue +++ b/src/components/Course/courseForm.vue @@ -559,15 +559,15 @@ export default { } }, confirmChooseOrg(orgInfo){ - console.log(orgInfo,'orgInfo'); + //console.log(orgInfo,'orgInfo'); if(!orgInfo.hrbpId || orgInfo.hrbpId=='0'){ this.$message.error("此机构无HRBP审核人信息,请重新选择"); return; } - this.orgName=orgInfo.name; - this.orgKid=orgInfo.kid; //kid已不存在 - this.courseInfo.orgId=orgInfo.id; - this.$refs.refChooseOrg.dlgShow = false; + this.orgName=orgInfo.name; + this.orgKid=orgInfo.kid; //kid已不存在 + this.courseInfo.orgId=orgInfo.id; + this.$refs.refChooseOrg.dlgShow = false; }, getTeacherList(res) { this.teacherValues = res; @@ -1387,12 +1387,12 @@ export default { if(rs.status==200 && rs.result){ postData.auditUser={ email:rs.result.email, - code:rs.result.user_no, + code:rs.result.userNo, name:rs.result.name, aid:rs.result.id, 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=>{ // if(rs.status==200 && rs.result.length>0){ diff --git a/src/components/System/chooseOrg.vue b/src/components/System/chooseOrg.vue index 5ab6a228..0c8e7432 100644 --- a/src/components/System/chooseOrg.vue +++ b/src/components/System/chooseOrg.vue @@ -68,7 +68,6 @@ }else{ return ( {node.label}); } - }, initTree(){ apiUserBasic.findOrgsByKeyword('').then(rs=>{ diff --git a/src/views/course/TeacherList.vue b/src/views/course/TeacherList.vue index 7bcf9686..6f321b1b 100644 --- a/src/views/course/TeacherList.vue +++ b/src/views/course/TeacherList.vue @@ -219,7 +219,7 @@ export default { auditUser:rs.result.name, //ukid:hrbpUser.user_id, orgId:row.orgId, - orgName:rs.result.orgNamePath //+'/'+rrs.result.name + orgName:rs.result.orgNamePath +'/'+rs.result.name } apiCourse.sumbits(req).then(res=>{ if(res.status==200){