From c6ac3973072aab4d039ba44a7aa05230b5fbb134 Mon Sep 17 00:00:00 2001
From: Jimmy Liow <18777396951@163.com>
Date: Wed, 18 Jan 2023 11:40:33 +0800
Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E6=8E=A5=E7=A4=BE=E6=8E=A5=E5=9B=A2?=
=?UTF-8?q?=E5=AF=BC=E6=B8=B8=E5=88=97=E4=B8=8D=E5=87=86=E7=A1=AE=EF=BC=9B?=
=?UTF-8?q?=E7=9B=AE=E7=9A=84=E5=9C=B0=E6=8E=A5=E5=9B=A2=E5=A2=9E=E5=8A=A0?=
=?UTF-8?q?=E8=AE=A2=E5=8D=95=E7=8A=B6=E6=80=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/stores/CustomerServices.js | 7 +++++++
src/views/DestinationGroupCount.js | 15 ++++++++++++++-
2 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/src/stores/CustomerServices.js b/src/stores/CustomerServices.js
index 5689b40..75693eb 100644
--- a/src/stores/CustomerServices.js
+++ b/src/stores/CustomerServices.js
@@ -18,6 +18,7 @@ class CustomerServices {
this.selectedAgent = '';
this.selectedTeam = '';
this.selectedCountry = '';
+ this.selectedOrderStatus = '-1';
makeAutoObservable(this);
}
@@ -284,6 +285,7 @@ class CustomerServices {
.append('OldDate2', this.endDateString)
.append('DepList', this.selectedTeam)
.append('Country', this.selectedCountry)
+ .append('OrderStatus', this.selectedOrderStatus)
.build();
req.fetchJSON(fetchUrl)
.then(json => {
@@ -464,6 +466,10 @@ class CustomerServices {
this.selectedCountry = country;
}
+ selectStatus(status) {
+ this.selectedOrderStatus = status;
+ }
+
startDate;
endDate;
startDateString;
@@ -472,6 +478,7 @@ class CustomerServices {
selectedAgent;
selectedTeam;
selectedCountry;
+ selectedOrderStatus;
inProgress;
agentList = [];
diff --git a/src/views/DestinationGroupCount.js b/src/views/DestinationGroupCount.js
index 160c832..ad2c3df 100644
--- a/src/views/DestinationGroupCount.js
+++ b/src/views/DestinationGroupCount.js
@@ -57,7 +57,7 @@ const DestinationGroupCount = () => {