Commit c3b21447 by sunchao

删除冗余代码

parent 3dbcd5f9
......@@ -509,37 +509,37 @@ export class RecruitingDetailComponent implements OnInit {
this.employQuery.mdDropOptionName = null;
}
return;
case 2:
this.employQuery.mentorPractitionerId = e;
if(e){
for (const mentorInfo of this.practitionerList) {
if (e == mentorInfo.id) {
this.employQuery.mentor = mentorInfo.name;
}
}
}else{
this.employQuery.mentor =
this.employQuery.subsystemId =
this.employQuery.subsystem =
this.employQuery.subsystemOwnerId =
this.employQuery.subsystemOwner =
this.employQuery.branchId =
this.employQuery.branch = null;
}
return;
case 3:
this.employQuery.introducerPractitionerId = e;
if(e){
for (const introducer of this.practitionerList) {
if (e == introducer.id) {
this.employQuery.introducer = introducer.name;
}
}
}else{
this.employQuery.introducer = null;
}
// case 2:
// this.employQuery.mentorPractitionerId = e;
// if(e){
// for (const mentorInfo of this.practitionerList) {
// if (e == mentorInfo.id) {
// this.employQuery.mentor = mentorInfo.name;
// }
// }
// }else{
// this.employQuery.mentor =
// this.employQuery.subsystemId =
// this.employQuery.subsystem =
// this.employQuery.subsystemOwnerId =
// this.employQuery.subsystemOwner =
// this.employQuery.branchId =
// this.employQuery.branch = null;
// }
// return;
// case 3:
// this.employQuery.introducerPractitionerId = e;
// if(e){
// for (const introducer of this.practitionerList) {
// if (e == introducer.id) {
// this.employQuery.introducer = introducer.name;
// }
// }
// }else{
// this.employQuery.introducer = null;
// }
return;
// return;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment