update 奖池详情

pull/1/head
游梦婷 1 year ago
parent 30c7db9813
commit 58b4517392
  1. 4
      src/app/admin/activity-money/activity-money-routing.module.ts
  2. 7
      src/app/admin/activity-money/prize-pool-detail/prize-pool-detail.component.html
  3. 3
      src/app/admin/activity-money/prize-pool-detail/prize-pool-detail.component.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({

@ -1,9 +1,6 @@
<!-- start 面包屑 -->
<nz-breadcrumb>
<nz-breadcrumb-item>
订单详情
</nz-breadcrumb-item>
</nz-breadcrumb>
<nz-breadcrumb [nzAutoGenerate]="true" [nzRouteLabel]="'customBreadcrumb'"></nz-breadcrumb>
<!-- end 面包屑 -->
<div class="inner-content">
<nz-tabset [(nzSelectedIndex)]="selectedIndex">

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

Loading…
Cancel
Save