修改了tab组件

feature/2.0-sales-trade
YCC 2 years ago
parent 2ce6099b0e
commit 2c7ae26e4a

@ -176,6 +176,65 @@ const Sale = () => {
], ],
}; };
const tab_items = [
{
key: 'All',
label: (
<span>
<ContainerOutlined /> 总览
</span>
),
},
{
key: 'ResponseRateWhatsApp',
label: (
<span>
<UserSwitchOutlined /> 回复率
</span>
),
},
{
key: 'ResponseRateByWL',
label: (
<span>
<UserSwitchOutlined /> 沟通数据
</span>
),
},
{
key: 'Country',
label: (
<span>
<ContainerOutlined /> 国籍
</span>
),
},
{
key: 'Product',
label: (
<span>
<ContainerOutlined /> 产品类型
</span>
),
},
{
key: 'TravelMotivation',
label: (
<span>
<ContainerOutlined /> 出行目的
</span>
),
},
{
key: 'GuestGroupType',
label: (
<span>
<ContainerOutlined /> 成员关系
</span>
),
},
];
return ( return (
<div> <div>
<Row gutter={{ xs: 8, sm: 16, md: 24, lg: 32 }}> <Row gutter={{ xs: 8, sm: 16, md: 24, lg: 32 }}>
@ -270,67 +329,8 @@ const Sale = () => {
sale_store.onChange_Tabs(active_key); sale_store.onChange_Tabs(active_key);
sale_store.get_department_order_ml_by_type(date_picker_store); sale_store.get_department_order_ml_by_type(date_picker_store);
}} }}
> items={tab_items}
<Tabs.TabPane ></Tabs>
tab={
<span>
<ContainerOutlined /> 总览
</span>
}
key="All"
></Tabs.TabPane>
<Tabs.TabPane
tab={
<span>
<UserSwitchOutlined /> 回复率
</span>
}
key="ResponseRateWhatsApp"
></Tabs.TabPane>
<Tabs.TabPane
tab={
<span>
<UserSwitchOutlined /> 沟通数据
</span>
}
key="ResponseRateByWL"
></Tabs.TabPane>
<Tabs.TabPane
tab={
<span>
<ContainerOutlined /> 国籍
</span>
}
key="Country"
></Tabs.TabPane>
<Tabs.TabPane
tab={
<span>
<ContainerOutlined />
产品类型
</span>
}
key="Product"
></Tabs.TabPane>
<Tabs.TabPane
tab={
<span>
<ContainerOutlined />
出行目的
</span>
}
key="TravelMotivation"
></Tabs.TabPane>
<Tabs.TabPane
tab={
<span>
<ContainerOutlined />
成员关系
</span>
}
key="GuestGroupType"
></Tabs.TabPane>
</Tabs>
<Row> <Row>
<Col span={24}> <Col span={24}>
<Table <Table

Loading…
Cancel
Save