This commit is contained in:
wangshiming
2022-04-14 10:27:13 +08:00
parent 3737d0e943
commit 3670c8e515
2 changed files with 15 additions and 1 deletions

View File

@ -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,

View File

@ -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
} }
}); });
} }