|
@@ -57,7 +57,7 @@ const Qw: React.FC = () => {
|
|
},
|
|
},
|
|
];
|
|
];
|
|
|
|
|
|
- const specialColumns:TableProps['columns'] = [
|
|
|
|
|
|
+ const specialColumns:TableProps['columns'] = [
|
|
{
|
|
{
|
|
title: '日期',
|
|
title: '日期',
|
|
dataIndex: 'dateStr',
|
|
dataIndex: 'dateStr',
|
|
@@ -68,7 +68,7 @@ const Qw: React.FC = () => {
|
|
dataIndex: 'title',
|
|
dataIndex: 'title',
|
|
key: 'title',
|
|
key: 'title',
|
|
},
|
|
},
|
|
- {
|
|
|
|
|
|
+ {
|
|
title: '视频ID',
|
|
title: '视频ID',
|
|
dataIndex: 'videoId',
|
|
dataIndex: 'videoId',
|
|
key: 'videoId',
|
|
key: 'videoId',
|
|
@@ -171,19 +171,19 @@ const Qw: React.FC = () => {
|
|
label: "总体",
|
|
label: "总体",
|
|
children: (
|
|
children: (
|
|
<Table
|
|
<Table
|
|
- dataSource={dataSource}
|
|
|
|
- columns={columns}
|
|
|
|
- rowKey="dateStr"
|
|
|
|
- loading={loading}
|
|
|
|
- pagination={{
|
|
|
|
- current: pagination.current,
|
|
|
|
- pageSize: pagination.pageSize,
|
|
|
|
- total: pagination.total,
|
|
|
|
- showSizeChanger: true,
|
|
|
|
- showTotal: (total) => `共 ${total} 条`,
|
|
|
|
- }}
|
|
|
|
- onChange={handleTableChange}
|
|
|
|
- />
|
|
|
|
|
|
+ dataSource={dataSource}
|
|
|
|
+ columns={columns}
|
|
|
|
+ rowKey="dateStr"
|
|
|
|
+ loading={loading}
|
|
|
|
+ pagination={{
|
|
|
|
+ current: pagination.current,
|
|
|
|
+ pageSize: pagination.pageSize,
|
|
|
|
+ total: pagination.total,
|
|
|
|
+ showSizeChanger: true,
|
|
|
|
+ showTotal: (total) => `共 ${total} 条`,
|
|
|
|
+ }}
|
|
|
|
+ onChange={handleTableChange}
|
|
|
|
+ />
|
|
),
|
|
),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -191,19 +191,19 @@ const Qw: React.FC = () => {
|
|
label: "群发",
|
|
label: "群发",
|
|
children: (
|
|
children: (
|
|
<Table
|
|
<Table
|
|
- dataSource={dataSource}
|
|
|
|
- columns={columns}
|
|
|
|
- rowKey="dateStr"
|
|
|
|
- loading={loading}
|
|
|
|
- pagination={{
|
|
|
|
- current: pagination.current,
|
|
|
|
- pageSize: pagination.pageSize,
|
|
|
|
- total: pagination.total,
|
|
|
|
- showSizeChanger: true,
|
|
|
|
- showTotal: (total) => `共 ${total} 条`,
|
|
|
|
- }}
|
|
|
|
- onChange={handleTableChange}
|
|
|
|
- />
|
|
|
|
|
|
+ dataSource={dataSource}
|
|
|
|
+ columns={columns}
|
|
|
|
+ rowKey="dateStr"
|
|
|
|
+ loading={loading}
|
|
|
|
+ pagination={{
|
|
|
|
+ current: pagination.current,
|
|
|
|
+ pageSize: pagination.pageSize,
|
|
|
|
+ total: pagination.total,
|
|
|
|
+ showSizeChanger: true,
|
|
|
|
+ showTotal: (total) => `共 ${total} 条`,
|
|
|
|
+ }}
|
|
|
|
+ onChange={handleTableChange}
|
|
|
|
+ />
|
|
),
|
|
),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -211,19 +211,19 @@ const Qw: React.FC = () => {
|
|
label: "私发",
|
|
label: "私发",
|
|
children: (
|
|
children: (
|
|
<Table
|
|
<Table
|
|
- dataSource={dataSource}
|
|
|
|
- columns={columns}
|
|
|
|
- rowKey="dateStr"
|
|
|
|
- loading={loading}
|
|
|
|
- pagination={{
|
|
|
|
- current: pagination.current,
|
|
|
|
- pageSize: pagination.pageSize,
|
|
|
|
- total: pagination.total,
|
|
|
|
- showSizeChanger: true,
|
|
|
|
- showTotal: (total) => `共 ${total} 条`,
|
|
|
|
- }}
|
|
|
|
- onChange={handleTableChange}
|
|
|
|
- />
|
|
|
|
|
|
+ dataSource={dataSource}
|
|
|
|
+ columns={columns}
|
|
|
|
+ rowKey="dateStr"
|
|
|
|
+ loading={loading}
|
|
|
|
+ pagination={{
|
|
|
|
+ current: pagination.current,
|
|
|
|
+ pageSize: pagination.pageSize,
|
|
|
|
+ total: pagination.total,
|
|
|
|
+ showSizeChanger: true,
|
|
|
|
+ showTotal: (total) => `共 ${total} 条`,
|
|
|
|
+ }}
|
|
|
|
+ onChange={handleTableChange}
|
|
|
|
+ />
|
|
),
|
|
),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -231,19 +231,19 @@ const Qw: React.FC = () => {
|
|
label: "自动回复",
|
|
label: "自动回复",
|
|
children: (
|
|
children: (
|
|
<Table
|
|
<Table
|
|
- dataSource={dataSource}
|
|
|
|
- columns={columns}
|
|
|
|
- rowKey="dateStr"
|
|
|
|
- loading={loading}
|
|
|
|
- pagination={{
|
|
|
|
- current: pagination.current,
|
|
|
|
- pageSize: pagination.pageSize,
|
|
|
|
- total: pagination.total,
|
|
|
|
- showSizeChanger: true,
|
|
|
|
- showTotal: (total) => `共 ${total} 条`,
|
|
|
|
- }}
|
|
|
|
- onChange={handleTableChange}
|
|
|
|
- />
|
|
|
|
|
|
+ dataSource={dataSource}
|
|
|
|
+ columns={columns}
|
|
|
|
+ rowKey="dateStr"
|
|
|
|
+ loading={loading}
|
|
|
|
+ pagination={{
|
|
|
|
+ current: pagination.current,
|
|
|
|
+ pageSize: pagination.pageSize,
|
|
|
|
+ total: pagination.total,
|
|
|
|
+ showSizeChanger: true,
|
|
|
|
+ showTotal: (total) => `共 ${total} 条`,
|
|
|
|
+ }}
|
|
|
|
+ onChange={handleTableChange}
|
|
|
|
+ />
|
|
),
|
|
),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -251,19 +251,19 @@ const Qw: React.FC = () => {
|
|
label: "分链接",
|
|
label: "分链接",
|
|
children: (
|
|
children: (
|
|
<Table
|
|
<Table
|
|
- dataSource={dataSource}
|
|
|
|
- columns={specialColumns}
|
|
|
|
- rowKey="dateStr"
|
|
|
|
- loading={loading}
|
|
|
|
- pagination={{
|
|
|
|
- current: pagination.current,
|
|
|
|
- pageSize: pagination.pageSize,
|
|
|
|
- total: pagination.total,
|
|
|
|
- showSizeChanger: true,
|
|
|
|
- showTotal: (total) => `共 ${total} 条`,
|
|
|
|
- }}
|
|
|
|
- onChange={handleTableChange}
|
|
|
|
- />
|
|
|
|
|
|
+ dataSource={dataSource}
|
|
|
|
+ columns={specialColumns}
|
|
|
|
+ rowKey="dateStr"
|
|
|
|
+ loading={loading}
|
|
|
|
+ pagination={{
|
|
|
|
+ current: pagination.current,
|
|
|
|
+ pageSize: pagination.pageSize,
|
|
|
|
+ total: pagination.total,
|
|
|
|
+ showSizeChanger: true,
|
|
|
|
+ showTotal: (total) => `共 ${total} 条`,
|
|
|
|
+ }}
|
|
|
|
+ onChange={handleTableChange}
|
|
|
|
+ />
|
|
),
|
|
),
|
|
},
|
|
},
|
|
]}
|
|
]}
|