From d46cdecc35ddb176af99c29b1dc39f5a33ae7c1d Mon Sep 17 00:00:00 2001 From: Sum1Dream <418471657@qq.com> Date: Thu, 8 Apr 2021 23:21:50 +0800 Subject: [PATCH] 1 --- .../coupon/coupon-edit/coupon-edit.component.html | 10 ++++++---- .../admin/coupon/coupon-edit/coupon-edit.component.ts | 1 + .../coupon/coupon-list/coupon-list.component.html | 4 ++-- .../merchant-detail/merchant-detail.component.html | 2 +- .../merchant-detail/merchant-detail.component.ts | 2 ++ 5 files changed, 12 insertions(+), 7 deletions(-) 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 b64197f..9e58db4 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 @@ 卡券来源 - + @@ -193,6 +193,7 @@ @@ -233,8 +235,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, // 信息提示