diff --git a/src/app/admin/coupon/coupon-edit/coupon-edit.component.html b/src/app/admin/coupon/coupon-edit/coupon-edit.component.html index 671f276..d5e0930 100644 --- a/src/app/admin/coupon/coupon-edit/coupon-edit.component.html +++ b/src/app/admin/coupon/coupon-edit/coupon-edit.component.html @@ -24,7 +24,7 @@ 卡券类型 - + @@ -35,7 +35,7 @@ 卡券来源 - + @@ -194,6 +194,7 @@ @@ -234,8 +236,8 @@
- - + +
diff --git a/src/app/admin/coupon/coupon-edit/coupon-edit.component.ts b/src/app/admin/coupon/coupon-edit/coupon-edit.component.ts index 5d1a64a..01fbc0c 100644 --- a/src/app/admin/coupon/coupon-edit/coupon-edit.component.ts +++ b/src/app/admin/coupon/coupon-edit/coupon-edit.component.ts @@ -150,6 +150,7 @@ export class CouponEditComponent implements OnInit { pageNum: this.pageNumCoupon, pageSize: this.pageSizeCoupon, merchantName: e, + status: 2, }; this.getCouponList(paramsObject); } diff --git a/src/app/admin/coupon/coupon-list/coupon-list.component.html b/src/app/admin/coupon/coupon-list/coupon-list.component.html index d04cdff..8c1f9a4 100644 --- a/src/app/admin/coupon/coupon-list/coupon-list.component.html +++ b/src/app/admin/coupon/coupon-list/coupon-list.component.html @@ -41,7 +41,7 @@ 卡券类型 - + @@ -52,7 +52,7 @@ 卡券状态 - + diff --git a/src/app/admin/merchant/merchant-detail/merchant-detail.component.html b/src/app/admin/merchant/merchant-detail/merchant-detail.component.html index 5ea9a7b..31ec073 100644 --- a/src/app/admin/merchant/merchant-detail/merchant-detail.component.html +++ b/src/app/admin/merchant/merchant-detail/merchant-detail.component.html @@ -1,7 +1,7 @@
- + {{data['secUser']['loginName']}} {{data['merchantKey']}} diff --git a/src/app/admin/merchant/merchant-detail/merchant-detail.component.ts b/src/app/admin/merchant/merchant-detail/merchant-detail.component.ts index 88d34a1..dd25626 100644 --- a/src/app/admin/merchant/merchant-detail/merchant-detail.component.ts +++ b/src/app/admin/merchant/merchant-detail/merchant-detail.component.ts @@ -2,6 +2,7 @@ import { Component, OnInit } from '@angular/core'; import {MerchantService} from '../../../services/merchant.service'; import {NzMessageService} from 'ng-zorro-antd'; import {ActivatedRoute} from '@angular/router'; +import {environment} from '../../../../environments/environment'; @Component({ selector: 'app-merchant-detail', @@ -12,6 +13,7 @@ export class MerchantDetailComponent implements OnInit { data: any = {}; id: number; + FILE_URL = environment.imageUrl; constructor( private merchant: MerchantService, private message: NzMessageService, // 信息提示