Commit 6b80104f by sunchao

辅导人筛选优化

parent 80696286
...@@ -151,13 +151,14 @@ ...@@ -151,13 +151,14 @@
</div> </div>
<div class="contentItem"> <div class="contentItem">
<span>辅导人</span> <span>辅导人</span>
<select [(ngModel)]="employQuery.mentorPractitionerId" class="form-control" (ngModelChange)="getName(2,employQuery.mentorPractitionerId);getPractitionerDetails(employQuery.mentorPractitionerId)" <!-- <select [(ngModel)]="employQuery.mentorPractitionerId" class="form-control" (ngModelChange)="getName(2,employQuery.mentorPractitionerId);getPractitionerDetails(employQuery.mentorPractitionerId)"
[disabled]="approveStatus!=null"> [disabled]="approveStatus!=null">
<option value=null>请选择</option> <option value=null>请选择</option>
<option [value]='practitionerInfo.id' *ngFor="let practitionerInfo of practitionerList"> <option [value]='practitionerInfo.id' *ngFor="let practitionerInfo of practitionerList">
{{practitionerInfo.name}} {{practitionerInfo.name}}
</option> </option>
</select> </select> -->
<div (click)="vagueSearch()">请选择辅导人</div>
</div> </div>
<div class="contentItem"> <div class="contentItem">
<span>介绍人</span> <span>介绍人</span>
...@@ -220,5 +221,23 @@ ...@@ -220,5 +221,23 @@
<li (click)="this.isShow = false;">取消</li> <li (click)="this.isShow = false;">取消</li>
</ul> </ul>
</div> </div>
<div class="toastWrapper toast" *ngIf="selectedId===4;">
</div>
<!--辅导人介绍人选择框-->
<div class="editContainer" style="background: #efeff4;padding: 0;" *ngIf="selectedId===4;">
<SearchBar [placeholder]="'搜索你的增员'" [maxLength]="8"
(onChange)="change($event)"
></SearchBar>
<ul class="practitioner_con">
<li *ngFor="let practitionerItem of practitionerList">
{{practitionerItem.name}}
</li>
</ul>
</div>
</div> </div>
<ydlife-toast *ngIf="toastDialog" [toastInfo]="toastInfo"></ydlife-toast> <ydlife-toast *ngIf="toastDialog" [toastInfo]="toastInfo"></ydlife-toast>
\ No newline at end of file
...@@ -247,6 +247,12 @@ ...@@ -247,6 +247,12 @@
border-radius: 10px; border-radius: 10px;
} }
} }
ul.practitioner_con{
height: 90%;
overflow: auto;
background: #fff;
padding: 10px;
}
} }
.recordLists { .recordLists {
li { li {
......
...@@ -557,4 +557,16 @@ export class RecruitingDetailComponent implements OnInit { ...@@ -557,4 +557,16 @@ export class RecruitingDetailComponent implements OnInit {
} }
}) })
} }
/**param
* 辅导人:1
* 介绍人:2
* **/
vagueSearch(type){
}
change(event){
console.log(event)
}
} }
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