fix bug
This commit is contained in:
@ -37,6 +37,8 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
|
||||
if (this.id)
|
||||
{
|
||||
this.getDetail(this.id);
|
||||
console.log(this.ar.snapshot.queryParams.sts);
|
||||
|
||||
this.initSF();
|
||||
this.initSTAudit()
|
||||
}
|
||||
@ -68,6 +70,17 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
|
||||
type: 'string',
|
||||
maxLength: 30,
|
||||
ui: {
|
||||
hidden: this.ar.snapshot.queryParams.sts == 2,
|
||||
widget: 'text',
|
||||
change: (value, orgData) => console.log(value, orgData),
|
||||
} as SFSelectWidgetSchema,
|
||||
},
|
||||
drvComplaintCauseLabel: {
|
||||
title: '投诉原因',
|
||||
type: 'string',
|
||||
maxLength: 30,
|
||||
ui: {
|
||||
hidden: this.ar.snapshot.queryParams.sts == 1,
|
||||
widget: 'text',
|
||||
change: (value, orgData) => console.log(value, orgData),
|
||||
} as SFSelectWidgetSchema,
|
||||
|
||||
@ -360,7 +360,8 @@ export class OrderManagementComplaintComponent implements OnInit {
|
||||
view(value: any) {
|
||||
this.router.navigate(['/order-management/complaint-detail/' + value.id], {
|
||||
queryParams: {
|
||||
detail: JSON.stringify(value)
|
||||
detail: JSON.stringify(value),
|
||||
sts: this.selectedMainTabStatus
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user