提交 d3aef9b1 作者: ZhangLingKun

Merge branch 'develop'

......@@ -14,4 +14,4 @@ patches:
images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/admin
newTag: 9fb79ceb3cf93febf2f25fa9c26a42b1884757bf
newTag: afdf38777f87f2835c9aee5893bc31409b0ad18c
......@@ -19,6 +19,7 @@ export type forumListType = InterListFunction<
userAccountId: number;
dynamicPublishTime: string;
checkStatus: 0 | 1 | 2;
likesCount: number;
}
>;
//论坛-删除
......@@ -146,8 +147,8 @@ export type updateGambitType = InterFunction<
export type countGambitType = InterFunction<
any,
{
failAuditSum: number;
passAuditSum: number;
unAuditedSum: number;
failDynamicAuditSum: number;
passDynamicAuditSum: number;
unDynamicAuditSum: number;
}
>;
......@@ -64,6 +64,12 @@ const DynamicList = () => {
),
},
{
title: '点赞数',
align: 'center',
dataIndex: 'likesCount',
render: (text) => text || 0,
},
{
title: '作者(用户名称)',
align: 'center',
render: (_text: string, record) => (
......@@ -271,15 +277,15 @@ const DynamicList = () => {
<div className='data-statistics'>
<div>
<span>审核通过:</span>
<span>{countGambit?.passAuditSum || 0}</span>
<span>{countGambit?.passDynamicAuditSum || 0}</span>
</div>
<div>
<span>待审核:</span>
<span>{countGambit?.unAuditedSum || 0}</span>
<span>{countGambit?.unDynamicAuditSum || 0}</span>
</div>
<div>
<span>审核不通过:</span>
<span>{countGambit?.failAuditSum || 0}</span>
<span>{countGambit?.failDynamicAuditSum || 0}</span>
</div>
</div>
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论