Commit c3b21447 by sunchao

删除冗余代码

parent 3dbcd5f9
...@@ -509,37 +509,37 @@ export class RecruitingDetailComponent implements OnInit { ...@@ -509,37 +509,37 @@ export class RecruitingDetailComponent implements OnInit {
this.employQuery.mdDropOptionName = null; this.employQuery.mdDropOptionName = null;
} }
return; return;
case 2: // case 2:
this.employQuery.mentorPractitionerId = e; // this.employQuery.mentorPractitionerId = e;
if(e){ // if(e){
for (const mentorInfo of this.practitionerList) { // for (const mentorInfo of this.practitionerList) {
if (e == mentorInfo.id) { // if (e == mentorInfo.id) {
this.employQuery.mentor = mentorInfo.name; // this.employQuery.mentor = mentorInfo.name;
} // }
} // }
}else{ // }else{
this.employQuery.mentor = // this.employQuery.mentor =
this.employQuery.subsystemId = // this.employQuery.subsystemId =
this.employQuery.subsystem = // this.employQuery.subsystem =
this.employQuery.subsystemOwnerId = // this.employQuery.subsystemOwnerId =
this.employQuery.subsystemOwner = // this.employQuery.subsystemOwner =
this.employQuery.branchId = // this.employQuery.branchId =
this.employQuery.branch = null; // this.employQuery.branch = null;
} // }
return; // return;
case 3: // case 3:
this.employQuery.introducerPractitionerId = e; // this.employQuery.introducerPractitionerId = e;
if(e){ // if(e){
for (const introducer of this.practitionerList) { // for (const introducer of this.practitionerList) {
if (e == introducer.id) { // if (e == introducer.id) {
this.employQuery.introducer = introducer.name; // this.employQuery.introducer = introducer.name;
} // }
} // }
}else{ // }else{
this.employQuery.introducer = null; // 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