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}
+ >