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 = [ const routes: Routes = [
{ path: 'merchant-allocation', component: MerchantAllocationComponent }, { path: 'merchant-allocation', component: MerchantAllocationComponent },
{ path: 'prize-pool', component: PrizePoolComponent }, { path: 'prize-pool', component: PrizePoolComponent },
{path: 'prize-pool-detail', component:PrizePoolDetailComponent} {path: 'prize-pool-detail', component:PrizePoolDetailComponent, data: {
customBreadcrumb: '奖池详情'
}}
]; ];
@NgModule({ @NgModule({

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

@ -58,7 +58,8 @@ export class PrizePoolDetailComponent implements OnInit {
} }
this.activityMoneyService.exportRewardRoster(params, data => { this.activityMoneyService.exportRewardRoster(params, data => {
if (data['return_code'] === '000000') { 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 { } else {
this.message.error(data['return_msg']); this.message.error(data['return_msg']);
} }

Loading…
Cancel
Save