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