From 2c7ae26e4a32dcf4ff6febff2f0d70effea47963 Mon Sep 17 00:00:00 2001 From: YCC Date: Thu, 28 Sep 2023 14:04:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86tab=E7=BB=84?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Sale.jsx | 122 ++++++++++++++++++++++----------------------- 1 file changed, 61 insertions(+), 61 deletions(-) diff --git a/src/views/Sale.jsx b/src/views/Sale.jsx index a0b521c..26e7b83 100644 --- a/src/views/Sale.jsx +++ b/src/views/Sale.jsx @@ -176,6 +176,65 @@ const Sale = () => { ], }; + const tab_items = [ + { + key: 'All', + label: ( + + 总览 + + ), + }, + { + key: 'ResponseRateWhatsApp', + label: ( + + 回复率 + + ), + }, + { + key: 'ResponseRateByWL', + label: ( + + 沟通数据 + + ), + }, + { + key: 'Country', + label: ( + + 国籍 + + ), + }, + { + key: 'Product', + label: ( + + 产品类型 + + ), + }, + { + key: 'TravelMotivation', + label: ( + + 出行目的 + + ), + }, + { + key: 'GuestGroupType', + label: ( + + 成员关系 + + ), + }, + ]; + return (
@@ -270,67 +329,8 @@ const Sale = () => { sale_store.onChange_Tabs(active_key); sale_store.get_department_order_ml_by_type(date_picker_store); }} - > - - 总览 - - } - key="All" - > - - 回复率 - - } - key="ResponseRateWhatsApp" - > - - 沟通数据 - - } - key="ResponseRateByWL" - > - - 国籍 - - } - key="Country" - > - - - 产品类型 - - } - key="Product" - > - - - 出行目的 - - } - key="TravelMotivation" - > - - - 成员关系 - - } - key="GuestGroupType" - > - + items={tab_items} + >