fix bug
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
@ -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})
|
||||
}
|
||||
/**
|
||||
* 重置表单
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user