edit
This commit is contained in:
@ -20,7 +20,7 @@ module.exports = {
|
|||||||
// }
|
// }
|
||||||
'//api': {
|
'//api': {
|
||||||
target: {
|
target: {
|
||||||
host: 'tms-api-test.eascs.com',
|
host: 'tms-api-dev.eascs.com',
|
||||||
protocol: 'https:',
|
protocol: 'https:',
|
||||||
port: 443
|
port: 443
|
||||||
},
|
},
|
||||||
|
|||||||
@ -112,6 +112,7 @@ export class PartnerAuditModalComponent implements OnInit {
|
|||||||
};
|
};
|
||||||
this.service
|
this.service
|
||||||
.request(this.service.$api_audit_partner, {
|
.request(this.service.$api_audit_partner, {
|
||||||
|
...params,
|
||||||
auditStatusEnum: params.auditStatusEnum,
|
auditStatusEnum: params.auditStatusEnum,
|
||||||
id: params.id,
|
id: params.id,
|
||||||
approvalOpinion: params.approvalOpinion,
|
approvalOpinion: params.approvalOpinion,
|
||||||
|
|||||||
@ -117,8 +117,10 @@ export class PartnerDetailComponent implements OnInit, OnDestroy {
|
|||||||
freezeOrResume(type: number) {
|
freezeOrResume(type: number) {
|
||||||
this.service.http
|
this.service.http
|
||||||
.post(this.service.$api_lock_freight, {
|
.post(this.service.$api_lock_freight, {
|
||||||
id: this.route.snapshot.params.id,
|
appUserId: [this.route.snapshot.params.id],
|
||||||
statedLocked: !!type
|
freezeOrResume: !!type,
|
||||||
|
pageName: '合伙人详情',
|
||||||
|
telephone: this.detailData.adminUserInfo.mobile
|
||||||
})
|
})
|
||||||
.subscribe(res => {
|
.subscribe(res => {
|
||||||
if (res.data === true) {
|
if (res.data === true) {
|
||||||
@ -138,7 +140,7 @@ export class PartnerDetailComponent implements OnInit, OnDestroy {
|
|||||||
const modal = this.nzModalService.create({
|
const modal = this.nzModalService.create({
|
||||||
nzTitle: '审核',
|
nzTitle: '审核',
|
||||||
nzContent: PartnerAuditModalComponent,
|
nzContent: PartnerAuditModalComponent,
|
||||||
nzComponentParams: { info: { ...this.detailData, isPass },sourcePage:'合伙人审核详情' },
|
nzComponentParams: { info: { ...this.detailData, isPass }, sourcePage: '合伙人审核详情' },
|
||||||
nzFooter: null
|
nzFooter: null
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -38,7 +38,7 @@ export class PartnerListService extends ShipperBaseService {
|
|||||||
// 渠道销售修改详情
|
// 渠道销售修改详情
|
||||||
$api_get_partner_change_list = '/api/mdc/partnerChannelRelLog/partnerChannelUpdateDetaiList';
|
$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查询列表
|
// 根据地区code查询列表
|
||||||
$api_get_region_by_code = '/api/mdc/pbc/region/getRegionByCode';
|
$api_get_region_by_code = '/api/mdc/pbc/region/getRegionByCode';
|
||||||
|
|||||||
@ -297,7 +297,7 @@ export class ShipperBaseService extends BaseService {
|
|||||||
map(res => {
|
map(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
return res.map((m: any) => {
|
return res.map((m: any) => {
|
||||||
return { label: `${m.employeeVO?.empName}/${m.employeeVO?.mobile}`, value: m.userAppId };
|
return { label: `${m.employeeVO?.empName}/${m.employeeVO?.mobile}`, value: m.id };
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
return [];
|
return [];
|
||||||
|
|||||||
Reference in New Issue
Block a user