This commit is contained in:
wangshiming
2022-03-11 14:50:43 +08:00
parent a31290acf8
commit 05dfb81a20
2 changed files with 36 additions and 24 deletions

View File

@ -90,31 +90,35 @@ export class ParterRebateManageMentSettingComponent implements OnInit {
this.columns = [
{
title: '月份',
index: '配置名称'
},
{
title: '配置类型',
index: 'name1'
},
{
title: '返佣金额(元)',
title: '备注',
index: 'name1'
},
{
title: '合伙人名称',
title: '关联合伙人范围',
index: 'name1'
},
{
title: '实际等级',
title: '创建时间',
index: 'name1'
},
{
title: '管理费比例',
title: '启用时间',
index: 'name1'
},
{
title: '返佣时间',
index: 'name1'
title: '优先级',
index: 'name44'
},
{
title: '异常反馈',
render: 'name44'
title: '状态',
index: 'name44'
},
{
title: '操作',
@ -123,35 +127,34 @@ export class ParterRebateManageMentSettingComponent implements OnInit {
className: 'text-left',
buttons: [
{
text: '明细',
text: '查看',
click: _record => this.viewEvaluate(_record),
}
},
{
text: '禁用',
click: _record => this.viewEvaluate(_record),
},
]
}
];
}
/**
*查看明细
*禁用
*/
viewEvaluate(item: any) {
const modal = this.modal.create({
nzTitle: '明细',
nzWidth: 1200,
nzContent: ParterRebateManageMenRecordDetailComponent,
nzComponentParams: { },
nzFooter: null
});
modal.afterClose.subscribe((res: any) => {
if (res) {
this.modal.confirm({
nzTitle: '是否禁用该配置?',
nzOnOk: () => {
}
});
}
/**
*异常反馈
*查看
*/
feedback(item?: any) {
const modal = this.modal.create({
nzTitle: '异常反馈',
nzTitle: '查看',
nzWidth: 580,
nzContent: ParterRebateManageMenAbnormalFeedbackComponent,
nzComponentParams: { i: item },
@ -161,6 +164,9 @@ export class ParterRebateManageMentSettingComponent implements OnInit {
if (res) {
}
});
}
configAction() {
}
/**
* 重置表单