This commit is contained in:
wangshiming
2022-04-25 17:21:34 +08:00
parent ff6fd0b801
commit f4743c180b
5 changed files with 33 additions and 16 deletions

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2022-03-21 09:26:45
* @LastEditors : Shiming
* @LastEditTime : 2022-04-25 15:52:41
* @LastEditTime : 2022-04-25 16:19:24
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\components\\rebate-setting\\add\\add.component.ts
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
@ -88,6 +88,8 @@ export class ParterRebateManageMentAddComponent implements OnInit {
};
}
ngOnInit() {
console.log(this.ar.snapshot);
this.addStatus = false;
this.initSF();
}

View File

@ -125,7 +125,7 @@ export class ParterRebateManageMentSettingComponent implements OnInit {
buttons: [
{
text: '查看',
click: _record => this.viewEvaluate(_record),
click: _record => this.configAction(_record),
},
{
text: '禁用',
@ -187,9 +187,9 @@ export class ParterRebateManageMentSettingComponent implements OnInit {
}
});
}
configAction() {
this.router.navigate(['/partner/rebate/setting/add/', 1])
}
configAction(value?: any) {
this.router.navigate(['/partner/rebate/setting/add/', '0'], {queryParams: value})
}
/**
* 重置表单
*/