From 9d442a2aa1198e2d5e51a456fe9ee39e5fb089fe Mon Sep 17 00:00:00 2001
From: chc <1501738723@qq.com>
Date: Tue, 10 Oct 2023 11:26:50 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E7=BB=9F=E8=AE=A1=E5=88=87?=
=?UTF-8?q?=E6=8D=A2=E5=88=86=E9=A1=B5=E9=97=AE=E9=A2=98=E5=A4=84=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
manager/src/views/statistics/order.vue | 26 +++++++++++++++++++-------
seller/src/views/statistics/order.vue | 10 +++++++++-
2 files changed, 28 insertions(+), 8 deletions(-)
diff --git a/manager/src/views/statistics/order.vue b/manager/src/views/statistics/order.vue
index 15555ad6..fb83d5c6 100644
--- a/manager/src/views/statistics/order.vue
+++ b/manager/src/views/statistics/order.vue
@@ -172,18 +172,20 @@
+
+
{
- refundParams.pageNumber = index;
- }
+ pageNumberChange
"
@on-page-size-change="
- (size) => {
- (refundParams.pageSize = size), (refundParams.pageNumber = 1);
- }
+ pageSizeChange
"
class="mt_10"
show-total
@@ -523,6 +525,14 @@ export default {
},
},
methods: {
+ pageNumberChange(val){
+ this.refundParams.pageNumber = val
+ this.getOrderList();
+ },
+ pageSizeChange(val){
+ this.refundParams.pageSize = val
+ this.getOrderList();
+ },
// 订单图
initOrderChart() {
// 默认已经加载 legend-filter 交互
@@ -563,11 +573,13 @@ export default {
clickBreadcrumb(item, index) {
let callback = JSON.parse(JSON.stringify(item));
-
+ console.log("callback",callback)
this.orderParams = callback;
this.overViewParams = callback;
this.refundParams = callback;
+ this.refundParams.pageNumber = 1
+ this.refundParams.pageSize = 10
},
// 实例化订单概览
diff --git a/seller/src/views/statistics/order.vue b/seller/src/views/statistics/order.vue
index 37250ac0..118bfa83 100644
--- a/seller/src/views/statistics/order.vue
+++ b/seller/src/views/statistics/order.vue
@@ -152,7 +152,7 @@
- {refundParams.pageNumber = index}" @on-page-size-change="(size)=>{refundParams.pageSize= size}" class="mt_10" show-total show-elevator :total="total" />
+
@@ -459,6 +459,14 @@ export default {
},
},
methods: {
+ pageNumberChange(val){
+ this.refundParams.pageNumber = val
+ this.getOrderList();
+ },
+ pageSizeChange(val){
+ this.refundParams.pageSize = val
+ this.getOrderList();
+ },
// 订单图
initOrderChart() {
// 默认已经加载 legend-filter 交互