This commit is contained in:
Taric Xin
2022-04-21 16:40:56 +08:00
parent 8f6f58097c
commit 69c846b93a
8 changed files with 22 additions and 22 deletions

View File

@ -343,14 +343,14 @@ export class ShipperBaseService extends BaseService {
* @returns
*/
getChannel(params = {}, containerAll = false) {
return this.request(this.$api_get_channel, params, 'POST').pipe(
return this.request(this.$api_get_channel, params).pipe(
map(res => {
if (res) {
const obj = [];
if (containerAll) {
obj.push({ label: '全部', value: '' });
}
return [...obj, ...res.map((m: any) => ({ label: `${m.employeeVO?.empName}/${m.employeeVO?.mobile}`, value: m.id }))];
return [...obj, ...res.map((m: any) => ({ label: `${m.name}/${m.telephone}`, value: m.id }))];
} else {
return [];
}