From 312a3b68e707435fd25596bf0a9a46e1d198b2ee Mon Sep 17 00:00:00 2001 From: YCC Date: Mon, 7 Aug 2023 09:57:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=90=84=E7=A7=8D=E5=88=86?= =?UTF-8?q?=E7=BB=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.js | 2 +- src/charts/GroupSelect.js | 1 + src/charts/SiteSelect.js | 7 +++++-- src/stores/SaleStore.js | 14 ++++++++++++-- src/views/Sale.js | 9 +++++---- 5 files changed, 24 insertions(+), 9 deletions(-) diff --git a/src/App.js b/src/App.js index f209d8f..07f93a2 100644 --- a/src/App.js +++ b/src/App.js @@ -87,7 +87,7 @@ const App = () => { }}> - + CH直销 CH大客户 AH亚洲项目组 + GH项目组 市场推广 德语 日语 diff --git a/src/charts/SiteSelect.js b/src/charts/SiteSelect.js index bdda6fe..809c21d 100644 --- a/src/charts/SiteSelect.js +++ b/src/charts/SiteSelect.js @@ -23,10 +23,13 @@ class SiteSelect extends Component { {this.props.show_all ? 所有来源 : ''} CHT AH - GH + GH 客运中国 客运海外 - 日语JP + GH to B业务 + 国际(入境) + 国际(海外) + 日语 西语 西语海外 意大利 diff --git a/src/stores/SaleStore.js b/src/stores/SaleStore.js index 274df54..f5be931 100644 --- a/src/stores/SaleStore.js +++ b/src/stores/SaleStore.js @@ -17,6 +17,8 @@ class SaleStore { active_tab_key = "All"; //当前选择的标签 group_select_mode = false; groups = ["1,2,28,7"]; //默认GH事业部 + filter_country=[];//筛选国籍 + filter_guest_type=[];//筛选客户关系 site_select_mode = false; //是否多选站点 include_tickets = "1"; //是否包含门票,1是含有,0不含 webcode = "ALL"; @@ -50,6 +52,15 @@ class SaleStore { this.date_type = value; } + //选择客源国 + onChange_Country(value) { + this.filter_country = value; + } + //选择成员关系 + onChange_GuestGroupType(value) { + this.filter_guest_type = value; + } + //获取业绩信息 get_department_order_ml(date_moment) { let result = []; @@ -324,7 +335,7 @@ class SaleStore { }); } - //子维度查询 beign + //子维度查询 get_department_order_ml_by_type_sub(date_moment, type_sub) { this.spinning = true; let result = { dataSource: [], columns: [] }; @@ -402,7 +413,6 @@ class SaleStore { }); } - //子维度查询 end } export default SaleStore; diff --git a/src/views/Sale.js b/src/views/Sale.js index 313a703..5c67c3a 100644 --- a/src/views/Sale.js +++ b/src/views/Sale.js @@ -123,9 +123,9 @@ const Sale = () => { - + {/* - sale_store.onChange_Country(value)} allowClear={true}> 美国 @@ -141,7 +141,7 @@ const Sale = () => { - sale_store.onChange_GuestGroupType(value)} allowClear={true}> 夫妻 @@ -156,7 +156,8 @@ const Sale = () => { - + */} +