wjx 2 weeks ago
parent
commit
a2a3be2b82
1 changed files with 34 additions and 8 deletions
  1. 34 8
      src/pages/weComTask/page/groupChat/taskList/details.tsx

+ 34 - 8
src/pages/weComTask/page/groupChat/taskList/details.tsx

@@ -315,42 +315,48 @@ const ExpandedRow: React.FC<{ record: any }> = ({ record }) => {
                     dataIndex: 'pullGroupCount',
                     key: 'pullGroupCount',
                     width: 120,
-                    align: 'center'
+                    align: 'center',
+                    render: (a) => a || 0
                 },
                 {
                     title: '预计拉群客户数',
                     dataIndex: 'pullGroupUserCount',
                     key: 'pullGroupUserCount',
                     width: 120,
-                    align: 'center'
+                    align: 'center',
+                    render: (a) => a || 0
                 },
                 {
                     title: '上次失败补拉数量',
                     dataIndex: 'lastFailedRetryCount',
                     key: 'lastFailedRetryCount',
                     width: 120,
-                    align: 'center'
+                    align: 'center',
+                    render: (a) => a || 0
                 },
                 {
                     title: '实际拉群客户数',
                     dataIndex: 'pullSuccessUserCount',
                     key: 'pullSuccessUserCount',
                     width: 120,
-                    align: 'center'
+                    align: 'center',
+                    render: (a) => a || 0
                 },
                 {
                     title: '删除或拉黑客户数',
                     dataIndex: 'pullBlackUserCount',
                     key: 'pullBlackUserCount',
                     width: 120,
-                    align: 'center'
+                    align: 'center',
+                    render: (a) => a || 0
                 },
                 {
                     title: '实际拉群数',
                     dataIndex: 'pullSuccessCount',
                     key: 'pullSuccessCount',
                     width: 120,
-                    align: 'center'
+                    align: 'center',
+                    render: (a) => a || 0
                 },
                 {
                     title: '失败客户数',
@@ -359,13 +365,26 @@ const ExpandedRow: React.FC<{ record: any }> = ({ record }) => {
                     width: 120,
                     align: 'center',
                     render: (a, b) => {
-                        return <a onClick={() => setFailedUserDetails({ visible: true, list: b?.pullFailedUserDetail || [] })}>{a}</a>
+                        return <a onClick={() => setFailedUserDetails({ visible: true, list: b?.pullFailedUserDetail || [] })}>{a || 0}</a>
+                    }
+                },
+                {
+                    title: '发送邀请客户数',
+                    dataIndex: 'sendInviteUserCount',
+                    key: 'sendInviteUserCount',
+                    width: 100,
+                    align: 'center',
+                    render: (a, b) => {
+                        return <a onClick={() => setFailedUserDetails({ visible: true, list: b?.sendInviteUserDetail || [] })}>{a || 0}</a>
                     }
                 },
                 {
                     title: '执行时间',
                     dataIndex: 'createTime',
-                    key: 'createTime'
+                    key: 'createTime',
+                    align: 'center',
+                    ellipsis: true,
+                    width: 140,
                 }
             ]}
             pagination={{
@@ -454,6 +473,13 @@ const TaskDetails: React.FC<{
                     key: 'deleteOrBlockUserCount',
                     width: 80,
                     align: 'center'
+                },
+                {
+                    title: '发送邀请客户数',
+                    dataIndex: 'sendInviteUserCount',
+                    key: 'sendInviteUserCount',
+                    width: 80,
+                    align: 'center'
                 }
             ]}
         />