This commit is contained in:
Taric Xin
2022-03-29 15:01:38 +08:00
parent f9f4b11da5
commit 950155c799
5 changed files with 10 additions and 7 deletions

View File

@ -112,6 +112,7 @@ export class PartnerAuditModalComponent implements OnInit {
};
this.service
.request(this.service.$api_audit_partner, {
...params,
auditStatusEnum: params.auditStatusEnum,
id: params.id,
approvalOpinion: params.approvalOpinion,

View File

@ -117,8 +117,10 @@ export class PartnerDetailComponent implements OnInit, OnDestroy {
freezeOrResume(type: number) {
this.service.http
.post(this.service.$api_lock_freight, {
id: this.route.snapshot.params.id,
statedLocked: !!type
appUserId: [this.route.snapshot.params.id],
freezeOrResume: !!type,
pageName: '合伙人详情',
telephone: this.detailData.adminUserInfo.mobile
})
.subscribe(res => {
if (res.data === true) {
@ -138,7 +140,7 @@ export class PartnerDetailComponent implements OnInit, OnDestroy {
const modal = this.nzModalService.create({
nzTitle: '审核',
nzContent: PartnerAuditModalComponent,
nzComponentParams: { info: { ...this.detailData, isPass },sourcePage:'合伙人审核详情' },
nzComponentParams: { info: { ...this.detailData, isPass }, sourcePage: '合伙人审核详情' },
nzFooter: null
});
}
@ -274,7 +276,7 @@ export class PartnerDetailComponent implements OnInit, OnDestroy {
operatingEndTime: this.datePipe.transform(dateil.operatingEndTime, 'yyyy-MM-dd'),
operatingStartTime: this.datePipe.transform(dateil.operatingStartTime, 'yyyy-MM-dd')
});
this.service.request(this.service.$api_save_entp_partner, params).subscribe(res => {
if (res) {
this.service.msgSrv.success('企业合伙人修改成功');

View File

@ -38,7 +38,7 @@ export class PartnerListService extends ShipperBaseService {
// 渠道销售修改详情
$api_get_partner_change_list = '/api/mdc/partnerChannelRelLog/partnerChannelUpdateDetaiList';
// 冻结/启用企业业
$api_lock_freight = '/api/mdc/cuc/enterpriseInfo/operate/lock';
$api_lock_freight = '/api/mdc/cuc/userApp/freezeOrResume';
// 根据地区code查询列表
$api_get_region_by_code = '/api/mdc/pbc/region/getRegionByCode';