Commit 0daea864 authored by shenshaokai's avatar shenshaokai

feat: 隐藏首页部分模块

parent 1e5cace7
......@@ -24,7 +24,8 @@ const MemberStatisticsContainer = () => {
<Col xxl={18} xl={24} lg={24} ref={ref}>
<MemberStatistics memberData={responseData} loading={loading} />
</Col>
<Col xxl={6} xl={24} lg={24}>
{/* 暂时隐藏掉 待处理会员*/}
{/* <Col xxl={6} xl={24} lg={24}>
<Card
headStyle={{borderBottom:'none'}}
bodyStyle={{padding: '0px'}}
......@@ -64,7 +65,7 @@ const MemberStatisticsContainer = () => {
</Col>
</Row>
</Card>
</Col>
</Col> */}
</Row>
)
}
......
......@@ -72,7 +72,8 @@ const OrderContainer = () => {
return (
<Row gutter={[24, 12]} style={{display: 'flex', flexDirection: 'row'}} ref={ref}>
<Col xxl={6} xl={24} lg={24} md={24} sm={24} xs={24} style={{display: 'flex', flexDirection: 'column'}}>
{/* 暂时屏蔽掉 待处理交易 */}
{/* <Col xxl={6} xl={24} lg={24} md={24} sm={24} xs={24} style={{display: 'flex', flexDirection: 'column'}}>
<Row style={{height: '100%'}} gutter={[24, 12]}>
{
(loading) && (
......@@ -82,7 +83,7 @@ const OrderContainer = () => {
)
}
</Row>
</Col>
</Col> */}
<Col xxl={18} xl={24} lg={24} ref={orderStatisticsRef}>
<OrderStatistics orderData={orderStatisticsData} loading={orderStatisticsLoading}/>
</Col>
......
......@@ -18,7 +18,8 @@ const PurchaseCenter = () => {
return (
<Row gutter={[24, 12]} style={{display: 'flex', flexDirection: 'row'}} ref={ref}>
<Col xxl={6} xl={24} lg={24} md={24} sm={24} xs={24} style={{display: 'flex', flexDirection: 'column'}}>
{/* 暂时隐藏掉-待处理采购 */}
{/* <Col xxl={6} xl={24} lg={24} md={24} sm={24} xs={24} style={{display: 'flex', flexDirection: 'column'}}>
<Card
headStyle={{borderBottom:'none'}}
title={'待处理采购'}
......@@ -47,7 +48,7 @@ const PurchaseCenter = () => {
}
</List>
</Card>
</Col>
</Col> */}
<Col xxl={18} xl={24} lg={24} ref={orderStatisticsRef}>
<OrderStatistics height={158} orderData={orderStatisticsData} loading={orderStatisticsLoading}/>
</Col>
......
......@@ -14,27 +14,28 @@ import { GetReportPlatformHomeGetCommodityTallyResponse, getReportPlatformHomeGe
const StatisticsColumn = (props) => {
const { loading, responseData, ref } = useViewRequest<GetReportPlatformHomeGetCommodityTallyResponse, any>(getReportPlatformHomeGetCommodityTally, {})
const list = useMemo(() => {
// 暂时隐藏掉相关内容
return [
{
title: '商品统计',
alias: '全部商品',
key: 'product',
totalCount: responseData?.productCount,
children: [
{
count: responseData?.addProduct.count || 0,
name: responseData?.addProduct.name,
link: responseData?.addProduct?.link || null,
icon: totalIcona3,
},
{
count: responseData?.toBeProductValify?.count || 0,
name: responseData?.toBeProductValify?.name,
link: responseData?.toBeProductValify?.link || null,
icon: totalCommdity,
},
]
},
// {
// title: '商品统计',
// alias: '全部商品',
// key: 'product',
// totalCount: responseData?.productCount,
// children: [
// {
// count: responseData?.addProduct.count || 0,
// name: responseData?.addProduct.name,
// link: responseData?.addProduct?.link || null,
// icon: totalIcona3,
// },
// {
// count: responseData?.toBeProductValify?.count || 0,
// name: responseData?.toBeProductValify?.name,
// link: responseData?.toBeProductValify?.link || null,
// icon: totalCommdity,
// },
// ]
// },
{
title: '品牌统计',
alias: '全部品牌',
......@@ -47,12 +48,12 @@ const StatisticsColumn = (props) => {
link: responseData?.addBrand?.link || null,
icon: totalBrand1,
},
{
count: responseData?.toBeBrandValify?.count || 0,
name: responseData?.toBeBrandValify?.name,
link: responseData?.toBeBrandValify?.link || null,
icon: totalBrand2
},
// {
// count: responseData?.toBeBrandValify?.count || 0,
// name: responseData?.toBeBrandValify?.name,
// link: responseData?.toBeBrandValify?.link || null,
// icon: totalBrand2
// },
]
}
]
......
......@@ -36,9 +36,10 @@ const Home: React.FC<{}> = () => {
</Space>
{/* 付款提现统计 */}
<Space direction="vertical" style={{width:'100%'}}>
{/* 暂时屏蔽掉 */}
{/* <Space direction="vertical" style={{width:'100%'}}>
<Settlement />
</Space>
</Space> */}
<Space direction="vertical" style={{width:'100%'}}>
<DataCenter />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment