|
@@ -110,8 +110,40 @@ const Gzh: React.FC = () => {
|
|
|
dataIndex: 'score',
|
|
|
key: 'score',
|
|
|
},
|
|
|
- ];
|
|
|
+ ];
|
|
|
|
|
|
+ const separateVideoColumns:TableProps['columns'] = [
|
|
|
+ {
|
|
|
+ title: '日期',
|
|
|
+ dataIndex: 'dateStr',
|
|
|
+ key: 'dateStr',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '公众号',
|
|
|
+ dataIndex: 'name',
|
|
|
+ key: 'name',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '视频ID',
|
|
|
+ dataIndex: 'videoId',
|
|
|
+ key: 'videoId',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '视频标题',
|
|
|
+ dataIndex: 'title',
|
|
|
+ key: 'title',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '小程序访问人数',
|
|
|
+ dataIndex: 'firstLevel',
|
|
|
+ key: 'firstLevel',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '本渠道裂变率',
|
|
|
+ dataIndex: 'score',
|
|
|
+ key: 'score',
|
|
|
+ },
|
|
|
+ ];
|
|
|
const fetchGzhData = async (page = 1, pageSize = 10, type = 0) => {
|
|
|
try {
|
|
|
setLoading(true);
|
|
@@ -244,6 +276,26 @@ const Gzh: React.FC = () => {
|
|
|
),
|
|
|
},
|
|
|
{
|
|
|
+ key: "4",
|
|
|
+ label: "自动回复分账号分视频",
|
|
|
+ children: (
|
|
|
+ <Table
|
|
|
+ dataSource={separateDataSource}
|
|
|
+ columns={separateVideoColumns}
|
|
|
+ rowKey="dateStr"
|
|
|
+ loading={loading}
|
|
|
+ pagination={{
|
|
|
+ current: pagination.current,
|
|
|
+ pageSize: pagination.pageSize,
|
|
|
+ total: pagination.total,
|
|
|
+ showSizeChanger: true,
|
|
|
+ showTotal: (total) => `共 ${total} 条`,
|
|
|
+ }}
|
|
|
+ onChange={handleTableChange}
|
|
|
+ />
|
|
|
+ ),
|
|
|
+ },
|
|
|
+ {
|
|
|
key: "2",
|
|
|
label: "服务号总计",
|
|
|
children: (
|