From 2962a14d79300fce70340c79f1541a63e674fbdc Mon Sep 17 00:00:00 2001 From: daihh Date: Wed, 23 Nov 2022 14:58:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=BE=E7=A8=8B=E5=8F=82?= =?UTF-8?q?=E6=95=B0=EF=BC=8C=E8=8E=B7=E5=8F=96hrbp=E5=90=8E=E7=9A=84?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=8C=B9=E9=85=8D=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Course/courseForm.vue | 14 +++++++------- src/components/System/chooseOrg.vue | 1 - src/views/course/TeacherList.vue | 2 +- 3 files changed, 8 insertions(+), 9 deletions(-) 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){