From 769c121e5724df08481ac78c7fb3819437ce3783 Mon Sep 17 00:00:00 2001 From: hurui <177768073@qq.com> Date: Sun, 16 Oct 2022 19:07:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../order-coupon-list.component.html | 14 ++++-- .../order-coupon-list.component.ts | 14 +++++- .../order-integral-recharge.component.html | 7 ++- .../order-integral-recharge.component.ts | 14 +++++- .../order-oil-list.component.html | 50 +++++++++---------- 5 files changed, 63 insertions(+), 36 deletions(-) diff --git a/src/app/admin/order-manage/order-coupon/order-coupon-list/order-coupon-list.component.html b/src/app/admin/order-manage/order-coupon/order-coupon-list/order-coupon-list.component.html index c719ef1..d938720 100644 --- a/src/app/admin/order-manage/order-coupon/order-coupon-list/order-coupon-list.component.html +++ b/src/app/admin/order-manage/order-coupon/order-coupon-list/order-coupon-list.component.html @@ -10,7 +10,7 @@
- 订单号 + 交易单号 @@ -34,7 +34,9 @@
+ +
支付卡号 @@ -75,8 +77,7 @@
-
-
+
创建时间 @@ -123,16 +124,20 @@ - 序号 交易单号 客户电话 卡券名称 @@ -153,7 +158,6 @@ - {{i+1}} {{data.orderNo}} {{data.memPhone}} {{data.couponName}} diff --git a/src/app/admin/order-manage/order-coupon/order-coupon-list/order-coupon-list.component.ts b/src/app/admin/order-manage/order-coupon/order-coupon-list/order-coupon-list.component.ts index d67a265..339841b 100644 --- a/src/app/admin/order-manage/order-coupon/order-coupon-list/order-coupon-list.component.ts +++ b/src/app/admin/order-manage/order-coupon/order-coupon-list/order-coupon-list.component.ts @@ -27,7 +27,8 @@ export class OrderCouponListComponent implements OnInit { dataObject: any = {}; tableLoading = true; searchForm: FormGroup; - pageNum: number; + pageNum = 1; + pageSize = 10; whereObject: any = {}; isCollapse = false; @@ -73,7 +74,7 @@ export class OrderCouponListComponent implements OnInit { requestData(pageNum) { this.tableLoading = true; this.whereObject['pageNum'] = pageNum; - this.whereObject['pageSize'] = 10; + this.whereObject['pageSize'] = this.pageSize; this.orderCouponService.getOrderList(this.whereObject, data => { if (data['return_code'] === '000000') { this.dataObject = data['return_data']; @@ -171,4 +172,13 @@ export class OrderCouponListComponent implements OnInit { } }); } + + /** + * 分页 + * @param pageSize + */ + pageSizeChang(pageSize: number) { + this.pageSize = pageSize; + this.requestData(1) + } } diff --git a/src/app/admin/order-manage/order-integral-recharge/order-integral-recharge.component.html b/src/app/admin/order-manage/order-integral-recharge/order-integral-recharge.component.html index fab6369..61246f6 100644 --- a/src/app/admin/order-manage/order-integral-recharge/order-integral-recharge.component.html +++ b/src/app/admin/order-manage/order-integral-recharge/order-integral-recharge.component.html @@ -95,16 +95,20 @@ - 序号 交易单号 客户电话 充值积分 @@ -121,7 +125,6 @@ - {{i+1}} {{data.orderNo}} {{data.memPhone}} {{data.goodsPrice}} diff --git a/src/app/admin/order-manage/order-integral-recharge/order-integral-recharge.component.ts b/src/app/admin/order-manage/order-integral-recharge/order-integral-recharge.component.ts index cd2b655..116856c 100644 --- a/src/app/admin/order-manage/order-integral-recharge/order-integral-recharge.component.ts +++ b/src/app/admin/order-manage/order-integral-recharge/order-integral-recharge.component.ts @@ -27,7 +27,8 @@ export class OrderIntegralRechargeComponent implements OnInit { dataObject: any = {}; tableLoading = true; searchForm: FormGroup; - pageNum: number; + pageNum = 1; + pageSize = 10; whereObject: any = {}; isCollapse = false; @@ -71,7 +72,7 @@ export class OrderIntegralRechargeComponent implements OnInit { requestData(pageNum) { this.tableLoading = true; this.whereObject['pageNum'] = pageNum; - this.whereObject['pageSize'] = 10; + this.whereObject['pageSize'] = this.pageSize; this.orderIntegralRechargeService.getOrderList(this.whereObject, data => { if (data['return_code'] === '000000') { this.dataObject = data['return_data']; @@ -170,4 +171,13 @@ export class OrderIntegralRechargeComponent implements OnInit { }); } + /** + * 分页 + * @param pageSize + */ + pageSizeChang(pageSize: number) { + this.pageSize = pageSize; + this.requestData(1) + } + } diff --git a/src/app/admin/order-manage/order-oil/order-oil-list/order-oil-list.component.html b/src/app/admin/order-manage/order-oil/order-oil-list/order-oil-list.component.html index 47885c2..79b21f0 100644 --- a/src/app/admin/order-manage/order-oil/order-oil-list/order-oil-list.component.html +++ b/src/app/admin/order-manage/order-oil/order-oil-list/order-oil-list.component.html @@ -9,29 +9,44 @@
-
+
- 加油站 + 交易单号 - +
- 交易订单号 + 客户电话 - +
- 客户手机号 + 油号 - + + + + + +
+ +
+ +
+ +
+ + 加油站 + +
@@ -60,21 +75,6 @@
- -
- - 油号 - - - - - - -
-
- -
-
加油员 @@ -200,10 +200,10 @@ > - 交易订单号 + 交易单号 + 客户电话 加油站 加油员 - 客户手机号 加油信息 支付信息 交易状态 @@ -238,9 +238,9 @@ {{data.orderNo}} + {{data.memPhone}} {{data.storeName}} {{data.gasStaffName?data.gasStaffName:'未知'}} - {{data.memPhone}} {{data.gasRefuelPrice}}元 {{data.gasOilLiters}}升 {{data.gasOilNo}}#