Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-01-18 09:51:21
|
* @Date : 2022-01-18 09:51:21
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-05-11 19:19:55
|
* @LastEditTime : 2022-05-12 16:51:55
|
||||||
* @FilePath : \\tms-obc-web\\proxy.conf.js
|
* @FilePath : \\tms-obc-web\\proxy.conf.js
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -4,10 +4,11 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-04-29 17:28:23
|
* @Date : 2022-04-29 17:28:23
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-05-11 11:28:35
|
* @LastEditTime : 2022-05-12 16:55:43
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\level-config\\components\\list\\list.component.html
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\level-config\\components\\list\\list.component.html
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
<page-header-wrapper [title]="'等级配置'"> </page-header-wrapper>
|
||||||
<nz-card>
|
<nz-card>
|
||||||
<!-- 搜索区 -->
|
<!-- 搜索区 -->
|
||||||
<sf
|
<sf
|
||||||
|
|||||||
@ -569,12 +569,14 @@ export class AddEtpPartnerComponent {
|
|||||||
cityCodesList: {
|
cityCodesList: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '所属城市',
|
title: '所属城市',
|
||||||
|
maxMultipleCount: 3,
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'tree-select',
|
widget: 'tree-select',
|
||||||
grid: { xxl: 13, xl: 18, lg: 24, md: 24 },
|
grid: { xxl: 13, xl: 18, lg: 24, md: 24 },
|
||||||
placeholder: '请选择城市(最多3个)',
|
placeholder: '请选择城市(最多3个)',
|
||||||
checkable: true,
|
checkable: true,
|
||||||
class: 'city-tree-select',
|
class: 'city-tree-select',
|
||||||
|
maxMultipleCount: 3,
|
||||||
asyncData: () =>
|
asyncData: () =>
|
||||||
this.getRegionDetailByCode('').pipe(
|
this.getRegionDetailByCode('').pipe(
|
||||||
map((res: any) =>
|
map((res: any) =>
|
||||||
|
|||||||
@ -299,9 +299,12 @@ export class AddPersonalPartnerComponent {
|
|||||||
_addressTitle: { title: '', type: 'string', ui: { widget: 'custom' } },
|
_addressTitle: { title: '', type: 'string', ui: { widget: 'custom' } },
|
||||||
cityCodesList: {
|
cityCodesList: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '所属城市',
|
title: '所属城市7',
|
||||||
|
maxMultipleCount: 3,
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'tree-select',
|
widget: 'tree-select',
|
||||||
|
maxMultipleCount: 3,
|
||||||
|
maxTagCount: 3,
|
||||||
grid: { xxl: 13, xl: 18, lg: 24, md: 24 },
|
grid: { xxl: 13, xl: 18, lg: 24, md: 24 },
|
||||||
placeholder: '请选择城市(最多3个)',
|
placeholder: '请选择城市(最多3个)',
|
||||||
checkable: true,
|
checkable: true,
|
||||||
@ -314,9 +317,9 @@ export class AddPersonalPartnerComponent {
|
|||||||
)
|
)
|
||||||
),
|
),
|
||||||
expandChange: ({ node }: { node: NzTreeNode }) =>
|
expandChange: ({ node }: { node: NzTreeNode }) =>
|
||||||
this.getRegionDetailByCode(node.key).pipe(
|
this.getRegionDetailByCode(node.key).pipe(
|
||||||
map((res: any) => res.map((item: any) => ({ ...item, title: item.name, key: item.regionCode, isLeaf: true })))
|
map((res: any) => res.map((item: any) => ({ ...item, title: item.name, key: item.regionCode, isLeaf: true })))
|
||||||
)
|
)
|
||||||
} as SFTreeSelectWidgetSchema
|
} as SFTreeSelectWidgetSchema
|
||||||
},
|
},
|
||||||
// 渠道销售
|
// 渠道销售
|
||||||
@ -340,30 +343,30 @@ export class AddPersonalPartnerComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private setInfo(info: any) {
|
private setInfo(info: any) {
|
||||||
this.sf.setValue('/adminUserInfo/name', info?.name);
|
this.sf.setValue('/adminUserInfo/name', info?.name);
|
||||||
this.sf.setValue('/adminUserInfo/certificatePhotoFront', info?.certificatePhotoFront);
|
this.sf.setValue('/adminUserInfo/certificatePhotoFront', info?.certificatePhotoFront);
|
||||||
this.sf.setValue('/adminUserInfo/certificatePhotoFrontWatermark', [
|
this.sf.setValue('/adminUserInfo/certificatePhotoFrontWatermark', [
|
||||||
{
|
{
|
||||||
uid: -1,
|
uid: -1,
|
||||||
name: '文件',
|
name: '文件',
|
||||||
status: 'done',
|
status: 'done',
|
||||||
url: info?.certificatePhotoFrontWatermark,
|
url: info?.certificatePhotoFrontWatermark,
|
||||||
response: info?.certificatePhotoFrontWatermark
|
response: info?.certificatePhotoFrontWatermark
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
this.sf.setValue('/adminUserInfo/certificatePhotoBack', info?.certificatePhotoBack);
|
this.sf.setValue('/adminUserInfo/certificatePhotoBack', info?.certificatePhotoBack);
|
||||||
this.sf.setValue('/adminUserInfo/certificatePhotoBackWatermark', [
|
this.sf.setValue('/adminUserInfo/certificatePhotoBackWatermark', [
|
||||||
{
|
{
|
||||||
uid: -1,
|
uid: -1,
|
||||||
name: '文件',
|
name: '文件',
|
||||||
status: 'done',
|
status: 'done',
|
||||||
url: info?.certificatePhotoBackWatermark,
|
url: info?.certificatePhotoBackWatermark,
|
||||||
response: info?.certificatePhotoBackWatermark
|
response: info?.certificatePhotoBackWatermark
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
this.sf.setValue('/adminUserInfo/certificateNumber', info?.certificateNumber);
|
this.sf.setValue('/adminUserInfo/certificateNumber', info?.certificateNumber);
|
||||||
this.sf.setValue('/adminUserInfo/validStartTime', info?.validStartTime);
|
this.sf.setValue('/adminUserInfo/validStartTime', info?.validStartTime);
|
||||||
this.sf.setValue('/adminUserInfo/validEndTime', info?.validEndTime ? info?.validEndTime: null);
|
this.sf.setValue('/adminUserInfo/validEndTime', info?.validEndTime ? info?.validEndTime : null);
|
||||||
this.sf.setValue('/adminUserInfo/_isLoingDate', info?.validEndTime ? false: true);
|
this.sf.setValue('/adminUserInfo/_isLoingDate', info?.validEndTime ? false : true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-02-24 20:09:49
|
* @Date : 2022-02-24 20:09:49
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-05-12 15:42:27
|
* @LastEditTime : 2022-05-12 16:43:10
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\components\\rebate-record\\rebate-record.component.html
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\components\\rebate-record\\rebate-record.component.html
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
@ -42,7 +42,7 @@
|
|||||||
[loading]="service.http.loading"
|
[loading]="service.http.loading"
|
||||||
>
|
>
|
||||||
<ng-template st-row='abnormalFeedback' let-item let-index='index'>
|
<ng-template st-row='abnormalFeedback' let-item let-index='index'>
|
||||||
<div style="color: #f59a23;" (click)="feedback()">123212{{item?.abnormalFeedback}}</div>
|
<div style="color: #f59a23;" (click)="feedback(item)">123212{{item?.abnormalFeedback}}</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template st-row='profitAmountSum' let-item let-index='index'>
|
<ng-template st-row='profitAmountSum' let-item let-index='index'>
|
||||||
<div >{{item?.profitAmountSum | currency}}</div>
|
<div >{{item?.profitAmountSum | currency}}</div>
|
||||||
|
|||||||
@ -118,7 +118,7 @@ export class ParterRebateManageMentRecordComponent implements OnInit {
|
|||||||
nzTitle: '明细',
|
nzTitle: '明细',
|
||||||
nzWidth: 1200,
|
nzWidth: 1200,
|
||||||
nzContent: ParterRebateManageMenRecordDetailComponent,
|
nzContent: ParterRebateManageMenRecordDetailComponent,
|
||||||
nzComponentParams: { },
|
nzComponentParams: { record: item },
|
||||||
nzFooter: null
|
nzFooter: null
|
||||||
});
|
});
|
||||||
modal.afterClose.subscribe((res: any) => {
|
modal.afterClose.subscribe((res: any) => {
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-03-10 14:50:45
|
* @Date : 2022-03-10 14:50:45
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-03-10 15:09:51
|
* @LastEditTime : 2022-05-12 16:46:35
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\model\\abnormal-feedback\\abnormal-feedback.component.ts
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\model\\abnormal-feedback\\abnormal-feedback.component.ts
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
@ -29,8 +29,17 @@ export class ParterRebateManageMenAbnormalFeedbackComponent implements OnInit {
|
|||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.initSF();
|
this.initSF();
|
||||||
|
this.initData();
|
||||||
|
}
|
||||||
|
initData() {
|
||||||
|
if (this.i) {
|
||||||
|
console.log(this.i);
|
||||||
|
|
||||||
|
this.service.request(this.service.$api_get_getExceptionMessage, { partnerId: this.i?.partnerId }).subscribe(res => {
|
||||||
|
console.log(res);
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
initSF() {
|
initSF() {
|
||||||
this.schema = {
|
this.schema = {
|
||||||
properties: {
|
properties: {
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
<st
|
<st
|
||||||
#st
|
#st
|
||||||
[bordered]="true"
|
[bordered]="true"
|
||||||
[data]="service.$api_get_listCompliancePage"
|
[data]="service.$api_get_partnerIncomeDetail"
|
||||||
[columns]="columns"
|
[columns]="columns"
|
||||||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
||||||
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
||||||
|
|||||||
@ -21,6 +21,7 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
|
|||||||
spuStatus = '1';
|
spuStatus = '1';
|
||||||
size: NzButtonSize = 'large';
|
size: NzButtonSize = 'large';
|
||||||
_$expand = false;
|
_$expand = false;
|
||||||
|
record: any;
|
||||||
data = [{ name1: 1111 }];
|
data = [{ name1: 1111 }];
|
||||||
constructor(public service: RebateManagementService, public shipperservice: ShipperBaseService, public modalRef: NzModalRef) {}
|
constructor(public service: RebateManagementService, public shipperservice: ShipperBaseService, public modalRef: NzModalRef) {}
|
||||||
/**
|
/**
|
||||||
@ -43,10 +44,13 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
|
|||||||
const params: any = Object.assign({}, this.sf?.value || {});
|
const params: any = Object.assign({}, this.sf?.value || {});
|
||||||
delete params._$expand;
|
delete params._$expand;
|
||||||
return {
|
return {
|
||||||
|
partnerId: this.record.partnerId,
|
||||||
...params
|
...params
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
console.log(this.record);
|
||||||
|
|
||||||
this.initSF();
|
this.initSF();
|
||||||
this.initST();
|
this.initST();
|
||||||
}
|
}
|
||||||
@ -54,7 +58,7 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
|
|||||||
initSF() {
|
initSF() {
|
||||||
this.schema = {
|
this.schema = {
|
||||||
properties: {
|
properties: {
|
||||||
enterpriseInfoId: {
|
ltdId: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '网络货运人',
|
title: '网络货运人',
|
||||||
ui: {
|
ui: {
|
||||||
@ -68,18 +72,27 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
paymentStatus: {
|
bankType: {
|
||||||
title: '银行类型',
|
title: '银行类型',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
ui: {
|
enum: [
|
||||||
widget: 'dict-select',
|
{
|
||||||
params: { dictKey: 'overall:payment:status' },
|
label: '全部',
|
||||||
containsAllLabel: true,
|
value: ''
|
||||||
change: (value: any) => {
|
},
|
||||||
console.log(value);
|
{
|
||||||
this.st.reload();
|
label: '平安银行',
|
||||||
|
value: '1'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '浦发银行',
|
||||||
|
value: '2'
|
||||||
}
|
}
|
||||||
} as SFSelectWidgetSchema
|
],
|
||||||
|
ui: {
|
||||||
|
widget: 'select',
|
||||||
|
containsAllLabel: true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -93,6 +106,10 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
|
|||||||
|
|
||||||
initST() {
|
initST() {
|
||||||
this.columns = [
|
this.columns = [
|
||||||
|
{
|
||||||
|
title: '网络货运人',
|
||||||
|
index: 'billCode'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '订单号',
|
title: '订单号',
|
||||||
index: 'billCode'
|
index: 'billCode'
|
||||||
@ -106,7 +123,7 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
|
|||||||
index: 'name1'
|
index: 'name1'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '预估返佣金额(元)',
|
title: '返佣金额(元)',
|
||||||
index: 'name1'
|
index: 'name1'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -118,27 +135,11 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
|
|||||||
index: 'name1'
|
index: 'name1'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '网络货运人',
|
title: '银行类型',
|
||||||
index: 'name1'
|
index: 'name1'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '销售渠道',
|
title: '虚拟账户',
|
||||||
index: 'name1'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '合伙人名称',
|
|
||||||
index: 'name1'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '合伙人等级',
|
|
||||||
index: 'name1'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '管理费比例',
|
|
||||||
index: 'name1'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '固定结算费率',
|
|
||||||
index: 'name1'
|
index: 'name1'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@ -3,7 +3,7 @@ import { SFComponent, SFRadioWidgetSchema, SFSchema, SFUISchema } from '@delon/f
|
|||||||
import { ShipperBaseService } from '@shared';
|
import { ShipperBaseService } from '@shared';
|
||||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
import { NzMessageService } from 'ng-zorro-antd/message';
|
||||||
import { UsermanageService } from 'src/app/routes/usercenter/services/usercenter.service';
|
import { UsermanageService } from 'src/app/routes/usercenter/services/usercenter.service';
|
||||||
import { NzModalRef } from 'ng-zorro-antd/modal';
|
import { NzModalRef, NzModalService } from 'ng-zorro-antd/modal';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-ad-components-partner',
|
selector: 'app-ad-components-partner',
|
||||||
@ -23,7 +23,8 @@ export class EditPartnerComponentsAddComponent implements OnInit {
|
|||||||
public msgSrv: NzMessageService,
|
public msgSrv: NzMessageService,
|
||||||
public service: UsermanageService,
|
public service: UsermanageService,
|
||||||
private modal: NzModalRef,
|
private modal: NzModalRef,
|
||||||
public shipperservice: ShipperBaseService
|
public shipperservice: ShipperBaseService,
|
||||||
|
public nzModalService: NzModalService
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
@ -139,12 +140,17 @@ export class EditPartnerComponentsAddComponent implements OnInit {
|
|||||||
enterpriceIds: enterId,
|
enterpriceIds: enterId,
|
||||||
settStartTime: this.sf?.value?.settStartTime + ' 00:00:00'
|
settStartTime: this.sf?.value?.settStartTime + ' 00:00:00'
|
||||||
};
|
};
|
||||||
|
this.nzModalService.warning({
|
||||||
this.service.request(this.service.$api_batchUpdateEnterpricePartner, params).subscribe(res => {
|
nzTitle: '确定提交吗?',
|
||||||
if (res) {
|
nzOnOk: () => {
|
||||||
this.service.msgSrv.success('修改成功');
|
this.service.request(this.service.$api_batchUpdateEnterpricePartner, params).subscribe(res => {
|
||||||
this.modal.destroy(true);
|
if (res) {
|
||||||
|
this.service.msgSrv.success('修改成功');
|
||||||
|
this.modal.destroy(true);
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -382,7 +382,7 @@ export class FreightComponentsListComponent extends BasicTableComponent implemen
|
|||||||
title: '公司所在地',
|
title: '公司所在地',
|
||||||
index: 'province',
|
index: 'province',
|
||||||
width: 200,
|
width: 200,
|
||||||
format: item => `${item.provinceName}${item.cityName}${item.areaName}`
|
format: item => `${item.provinceName ? item.provinceName: ''}${item.cityName ? item.cityName: ''}${item.areaName ? item.areaName: ''}`
|
||||||
},
|
},
|
||||||
{ title: '管理员', render: 'contacter', width: 150 },
|
{ title: '管理员', render: 'contacter', width: 150 },
|
||||||
{ title: '统一社会信用代码', className: 'text-center', render: 'unifiedSocialCreditCode', width: 200 },
|
{ title: '统一社会信用代码', className: 'text-center', render: 'unifiedSocialCreditCode', width: 200 },
|
||||||
|
|||||||
Reference in New Issue
Block a user