wjx преди 2 седмици
родител
ревизия
43e0b79c06

+ 5 - 4
src/pages/weComTask/page/groupChat/create/const.ts

@@ -11,21 +11,22 @@ export const getPullGroupData = (strategyList: any[]) => {
             return {
                 ...item,
                 id: nowTime + (index * 1000),
-                groupObjectList: taskDetail.map(({ externalUserFilter, weChatAppid, msgTagDTO, groupName, ...go }) => {
+                groupObjectList: taskDetail.map(({ externalUserFilter, weChatAppid, mpAccountInfo, msgTagDTO, groupName, ...go }) => {
                     const inherit: { [x: string]: any } = {
                         ...go,
+                        weChatAppid: mpAccountInfo?.name ? mpAccountInfo?.name + '_' + mpAccountInfo?.id : undefined,
                         tagDTO: msgTagDTO,
                         groupObjectName: groupName
                     }
                     if (externalUserFilter) {
-                        inherit.transferType = 'specify'
+                        inherit.externalUserType = 'specify'
                         const { configName, ...configContent } = externalUserFilter
-                        inherit.transferUserDto = {
+                        inherit.externalUserFilter = {
                             configName,
                             configContent
                         }
                     } else {
-                        inherit.transferType = 'all'
+                        inherit.externalUserType = 'all'
                     }
                     return inherit
                 })

+ 1 - 0
src/pages/weComTask/page/groupChat/create/index.tsx

@@ -98,6 +98,7 @@ const GroupChatCreate: React.FC<{ weComTaskStore: { data: { bookList: TASK_CREAT
                             ...data
                         }
                     }
+                    console.log('------------->', newSettings)
                     setSettings(newSettings)
                 }
             })

+ 12 - 0
src/pages/weComTask/page/groupChat/taskList/details.tsx

@@ -284,6 +284,18 @@ const ExpandedRow: React.FC<{ record: any }> = ({ record }) => {
                     key: 'pullGroupUserCount',
                     width: 120
                 },
+                {
+                    title: '上次失败补拉数量',
+                    dataIndex: 'lastFailedRetryCount',
+                    key: 'lastFailedRetryCount',
+                    width: 120
+                },
+                {
+                    title: '实际拉群客户数',
+                    dataIndex: 'pullSuccessUserCount',
+                    key: 'pullSuccessUserCount',
+                    width: 120
+                },
                 {
                     title: '执行时间',
                     dataIndex: 'createTime',