From 1253266e23c6b081942e2ddc5ceae48a05827794 Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Mon, 28 Feb 2022 20:49:20 +0800 Subject: [PATCH] edit --- .../invoice-requested-detail.component.html | 2 +- .../invoice-requested-detail.component.ts | 2 ++ .../components/invoice-requested/invoice-requested.component.ts | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/app/routes/ticket-management/components/invoice-requested/invoice-requested-detail/invoice-requested-detail.component.html b/src/app/routes/ticket-management/components/invoice-requested/invoice-requested-detail/invoice-requested-detail.component.html index 82501843..554c312b 100644 --- a/src/app/routes/ticket-management/components/invoice-requested/invoice-requested-detail/invoice-requested-detail.component.html +++ b/src/app/routes/ticket-management/components/invoice-requested/invoice-requested-detail/invoice-requested-detail.component.html @@ -87,7 +87,7 @@ -
+
diff --git a/src/app/routes/ticket-management/components/invoice-requested/invoice-requested-detail/invoice-requested-detail.component.ts b/src/app/routes/ticket-management/components/invoice-requested/invoice-requested-detail/invoice-requested-detail.component.ts index 52a829cf..5939afd6 100644 --- a/src/app/routes/ticket-management/components/invoice-requested/invoice-requested-detail/invoice-requested-detail.component.ts +++ b/src/app/routes/ticket-management/components/invoice-requested/invoice-requested-detail/invoice-requested-detail.component.ts @@ -26,6 +26,7 @@ export class InvoiceRequestedDetailComponent implements OnInit { _$expand = false; id = null; + sts = null; headerInfo: any = {}; constructor( public service: TicketService, @@ -34,6 +35,7 @@ export class InvoiceRequestedDetailComponent implements OnInit { private router: Router ) { this.id = route.snapshot.params.id; + this.sts = route.snapshot.queryParams.sts; this.loadHeadInfo(); } diff --git a/src/app/routes/ticket-management/components/invoice-requested/invoice-requested.component.ts b/src/app/routes/ticket-management/components/invoice-requested/invoice-requested.component.ts index fbe7accb..75e880d8 100644 --- a/src/app/routes/ticket-management/components/invoice-requested/invoice-requested.component.ts +++ b/src/app/routes/ticket-management/components/invoice-requested/invoice-requested.component.ts @@ -420,7 +420,7 @@ export class InvoiceRequestedComponent implements OnInit { // }, { text: '订单明细
', - click: item => this.router.navigate(['/ticket/invoice-requested/detail/' + item?.id]) + click: item => this.router.navigate(['/ticket/invoice-requested/detail/' + item?.id], { queryParams: { sts: item.sts } }) }, { text: '查看原因
',