This commit is contained in:
Taric Xin
2022-03-31 17:08:17 +08:00
parent d0a48896b0
commit c2ecb57f37

View File

@ -81,6 +81,13 @@ export class PersonalPartnerDetailComponent implements OnInit {
...new Set<string>((this.detailData?.cityCodesList as any[]).map(city => city.provinceCode)) ...new Set<string>((this.detailData?.cityCodesList as any[]).map(city => city.provinceCode))
]; ];
} }
if (this.detailData?.channelIdLabel) {
const channel = (this.detailData.channelIdLabel as string).split('/');
Object.assign(this.detailData, {
channelName: channel[0],
channelMobile: channel[1]
});
}
} }
}); });
} }
@ -285,7 +292,7 @@ export class PersonalPartnerDetailComponent implements OnInit {
buttons: [ buttons: [
{ {
text: '详情', text: '详情',
click: (item) => this.service.showChangeDetail(item.id) click: item => this.service.showChangeDetail(item.id)
} }
] ]
} }