This commit is contained in:
Taric Xin
2022-03-30 14:29:38 +08:00
parent 2d668eb4fa
commit ca10c07690
9 changed files with 132 additions and 70 deletions

View File

@ -2,6 +2,7 @@ import { Injectable, Injector } from '@angular/core';
import { BaseService, EACacheService, ShipperBaseService } from '@shared';
import { NzModalService } from 'ng-zorro-antd/modal';
import { ImageViewComponent } from 'src/app/shared/components/imagelist';
import { ChannelLogModalComponent } from '../components/channel-log-modal/channel-log-modal.component';
@Injectable()
export class PartnerListService extends ShipperBaseService {
@ -34,7 +35,7 @@ export class PartnerListService extends ShipperBaseService {
// 校验合伙人是否可修改渠道销售 true:可以修改 false不可以修改
$api_check_partenr_change_channel = '/api/mdc/partner/updateChannelCheck';
// 根据手机号查询实名信息
$api_get_identityInfo_by_mobile= '/api/mdc/cuc/identityInfo/getByMobile';
$api_get_identityInfo_by_mobile = '/api/mdc/cuc/identityInfo/getByMobile';
// 渠道销售修改详情
$api_get_partner_change_list = '/api/mdc/partnerChannelRelLog/partnerChannelUpdateDetaiList';
// 冻结/启用企业业
@ -60,4 +61,15 @@ export class PartnerListService extends ShipperBaseService {
};
this.nzModalService.create({ nzContent: ImageViewComponent, nzComponentParams: { params } });
}
showChangeDetail(id: string) {
const modal = this.nzModalService.create({
nzTitle: '详情',
nzContent: ChannelLogModalComponent,
nzComponentParams: { id },
nzNoAnimation: true,
nzWidth: 800,
nzFooter: null
});
}
}