fix bug
This commit is contained in:
@ -49,7 +49,8 @@ export class ShowServiceComponent implements OnInit {
|
||||
return this.service.request(this.service.$api_getStaffList, params).pipe(
|
||||
map((res: any) => {
|
||||
return res.map((i: any) => {
|
||||
return { label: i.name, value: i.appUserId };
|
||||
let name = i.name ? `${i.name} / ` : '';
|
||||
return { label: `${name}${i.telephone}`, value: i.appUserId };
|
||||
});
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user