From 58b4517392fcaf566622154eda8159c812cf1c9a Mon Sep 17 00:00:00 2001 From: youmengting <2080639302@qq.com> Date: Thu, 19 Oct 2023 17:32:12 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=A5=96=E6=B1=A0=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/activity-money/activity-money-routing.module.ts | 4 +++- .../prize-pool-detail/prize-pool-detail.component.html | 7 ++----- .../prize-pool-detail/prize-pool-detail.component.ts | 3 ++- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/app/admin/activity-money/activity-money-routing.module.ts b/src/app/admin/activity-money/activity-money-routing.module.ts index bbe5eb7..a02b7fb 100644 --- a/src/app/admin/activity-money/activity-money-routing.module.ts +++ b/src/app/admin/activity-money/activity-money-routing.module.ts @@ -9,7 +9,9 @@ import { PrizePoolComponent } from './prize-pool/prize-pool.component'; const routes: Routes = [ { path: 'merchant-allocation', component: MerchantAllocationComponent }, { path: 'prize-pool', component: PrizePoolComponent }, - {path: 'prize-pool-detail', component:PrizePoolDetailComponent} + {path: 'prize-pool-detail', component:PrizePoolDetailComponent, data: { + customBreadcrumb: '奖池详情' + }} ]; @NgModule({ diff --git a/src/app/admin/activity-money/prize-pool-detail/prize-pool-detail.component.html b/src/app/admin/activity-money/prize-pool-detail/prize-pool-detail.component.html index 6080656..f656a01 100644 --- a/src/app/admin/activity-money/prize-pool-detail/prize-pool-detail.component.html +++ b/src/app/admin/activity-money/prize-pool-detail/prize-pool-detail.component.html @@ -1,9 +1,6 @@ - - - 订单详情 - - + +
diff --git a/src/app/admin/activity-money/prize-pool-detail/prize-pool-detail.component.ts b/src/app/admin/activity-money/prize-pool-detail/prize-pool-detail.component.ts index c5384e0..497b02f 100644 --- a/src/app/admin/activity-money/prize-pool-detail/prize-pool-detail.component.ts +++ b/src/app/admin/activity-money/prize-pool-detail/prize-pool-detail.component.ts @@ -58,7 +58,8 @@ export class PrizePoolDetailComponent implements OnInit { } this.activityMoneyService.exportRewardRoster(params, data => { if (data['return_code'] === '000000') { - window.location.href = this.FILE_URL + data['return_data']; + // window.location.href = this.FILE_URL + data['return_data']; + window.open(this.FILE_URL + data['return_data']); } else { this.message.error(data['return_msg']); }