wjx 2 tuần trước cách đây
mục cha
commit
8cbc71e40a

+ 2 - 50
src/pages/launchSystemV3/monitorEWList/astraGroupHourEle.tsx

@@ -61,39 +61,6 @@ const AstraGroupHourEle: React.FC<AstraGroupHourProps> = ({ localCsgroupName, da
                             return <span style={{ fontSize: 12 }}>{value}</span>
                         },
                     },
-                    // {
-                    //     title: '消耗',
-                    //     dataIndex: 'cost',
-                    //     key: 'cost',
-                    //     width: 80,
-                    //     sorter: (a, b) => a.cost - b.cost,
-                    //     align: 'right',
-                    //     render(value) {
-                    //         return <Statistic value={value || 0} />
-                    //     },
-                    // },
-                    // {
-                    //     title: '加粉次数(广告)',
-                    //     dataIndex: 'scanFollowCount',
-                    //     key: 'scanFollowCount',
-                    //     width: 80,
-                    //     sorter: (a, b) => a.scanFollowCount - b.scanFollowCount,
-                    //     align: 'right',
-                    //     render(value) {
-                    //         return <span style={{ fontSize: 12 }}>{value}</span>
-                    //     },
-                    // },
-                    // {
-                    //     title: '加粉人数(广告)',
-                    //     dataIndex: 'scanFollowUserCount',
-                    //     key: 'scanFollowUserCount',
-                    //     width: 80,
-                    //     sorter: (a, b) => a.scanFollowUserCount - b.scanFollowUserCount,
-                    //     align: 'right',
-                    //     render(value) {
-                    //         return <span style={{ fontSize: 12 }}>{value}</span>
-                    //     },
-                    // },
                     {
                         title: '加粉人数',
                         dataIndex: 'addUserCount',
@@ -119,15 +86,9 @@ const AstraGroupHourEle: React.FC<AstraGroupHourProps> = ({ localCsgroupName, da
                 ]}
                 pagination={false}
                 summary={pageData => {
-                    let totalCost = 0;
-                    let totalScanFollowCount = 0;
-                    let totalScanFollowUserCount = 0;
                     let totalAddUserCount = 0;
 
-                    pageData.forEach(({ cost, scanFollowCount, scanFollowUserCount, addUserCount }) => {
-                        totalCost += cost;
-                        totalScanFollowCount += scanFollowCount;
-                        totalScanFollowUserCount += scanFollowUserCount;
+                    pageData.forEach(({ addUserCount }) => {
                         totalAddUserCount += addUserCount;
                     });
 
@@ -137,18 +98,9 @@ const AstraGroupHourEle: React.FC<AstraGroupHourProps> = ({ localCsgroupName, da
                                 <Table.Summary.Cell index={0} align="center"><Text strong>总计</Text></Table.Summary.Cell>
                                 <Table.Summary.Cell index={1} align="center">--</Table.Summary.Cell>
                                 <Table.Summary.Cell index={2} align="right">
-                                    <Text strong>{totalCost}</Text>
-                                </Table.Summary.Cell>
-                                <Table.Summary.Cell index={3} align="right">
-                                    <Text strong>{totalScanFollowCount}</Text>
-                                </Table.Summary.Cell>
-                                <Table.Summary.Cell index={4} align="right">
-                                    <Text strong>{totalScanFollowUserCount}</Text>
-                                </Table.Summary.Cell>
-                                <Table.Summary.Cell index={5} align="right">
                                     <Text strong>{totalAddUserCount}</Text>
                                 </Table.Summary.Cell>
-                                <Table.Summary.Cell index={6} align="center">--</Table.Summary.Cell>
+                                <Table.Summary.Cell index={3} align="center">--</Table.Summary.Cell>
                             </Table.Summary.Row>
                         </Table.Summary>
                     );

+ 0 - 33
src/pages/launchSystemV3/monitorEWList/astraGroupIndexEle.tsx

@@ -61,39 +61,6 @@ const AstraGroupIndexEle: React.FC<AstraGroupHourProps> = ({ localCsgroupName, d
                             return <span style={{ fontSize: 12 }}>{value}</span>
                         },
                     },
-                    // {
-                    //     title: '消耗',
-                    //     dataIndex: 'cost',
-                    //     key: 'cost',
-                    //     width: 80,
-                    //     sorter: true,
-                    //     align: 'right',
-                    //     render(value) {
-                    //         return <Statistic value={value || 0} />
-                    //     },
-                    // },
-                    // {
-                    //     title: '加粉次数(广告)',
-                    //     dataIndex: 'scanFollowCount',
-                    //     key: 'scanFollowCount',
-                    //     width: 80,
-                    //     sorter: true,
-                    //     align: 'right',
-                    //     render(value) {
-                    //         return <span style={{ fontSize: 12 }}>{value}</span>
-                    //     },
-                    // },
-                    // {
-                    //     title: '加粉人数(广告)',
-                    //     dataIndex: 'scanFollowUserCount',
-                    //     key: 'scanFollowUserCount',
-                    //     width: 80,
-                    //     sorter: true,
-                    //     align: 'right',
-                    //     render(value) {
-                    //         return <span style={{ fontSize: 12 }}>{value}</span>
-                    //     },
-                    // },
                     {
                         title: '加粉人数',
                         dataIndex: 'addUserCount',