wjx 2 周之前
父节点
当前提交
46a0767552

+ 21 - 1
src/pages/weComTask/page/groupChat/create/components/groupUser/addGroupObject.tsx

@@ -189,6 +189,16 @@ export const ShowGroupUserTable: React.FC<GROUP_CHAT_CREATE.ShowGroupUserTablePr
                 return value ? <span style={{ color: '#1890ff' }}>是</span> : <span style={{ color: 'red' }}>否</span>
                 return value ? <span style={{ color: '#1890ff' }}>是</span> : <span style={{ color: 'red' }}>否</span>
             },
             },
         },
         },
+        {
+            title: '是否开启失败人群重试',
+            dataIndex: 'isRetry',
+            key: 'isRetry',
+            width: 70,
+            align: 'center',
+            render(value) {
+                return value ? <span style={{ color: '#1890ff' }}>是</span> : <span style={{ color: 'red' }}>否</span>
+            },
+        },
         {
         {
             title: '群聊关联公众号',
             title: '群聊关联公众号',
             dataIndex: 'weChatAppid',
             dataIndex: 'weChatAppid',
@@ -328,7 +338,7 @@ const AddGroupObjectModal: React.FC<GROUP_CHAT_CREATE.AddGroupObjectModalProps>
                 message.error(errorFields?.[0]?.errors?.[0])
                 message.error(errorFields?.[0]?.errors?.[0])
             }}
             }}
             onFinish={handleOk}
             onFinish={handleOk}
-            initialValues={(initialValues && Object.keys(initialValues).length > 0) ? initialValues : { externalUserType: 'specify', isRepair: false, groupIndex: 1, groupUserCount: 37, autoOutGroup: false, excludeInGroup: true, deleteGroupTag: true }}
+            initialValues={(initialValues && Object.keys(initialValues).length > 0) ? initialValues : { externalUserType: 'specify', isRepair: false, groupIndex: 1, groupUserCount: 37, autoOutGroup: false, excludeInGroup: true, deleteGroupTag: true, isRetry: false }}
             preserve={true}
             preserve={true}
         >
         >
             <Form.Item
             <Form.Item
@@ -437,6 +447,16 @@ const AddGroupObjectModal: React.FC<GROUP_CHAT_CREATE.AddGroupObjectModalProps>
                     <Radio value={true}>是</Radio>
                     <Radio value={true}>是</Radio>
                 </Radio.Group>
                 </Radio.Group>
             </Form.Item>
             </Form.Item>
+            <Form.Item
+                name={'isRetry'}
+                label={<strong>是否开启失败人群重试</strong>}
+                rules={[{ required: true, message: '请选择是否开启失败人群重试!' }]}
+            >
+                <Radio.Group>
+                    <Radio value={true}>是</Radio>
+                    <Radio value={false}>否</Radio>
+                </Radio.Group>
+            </Form.Item>
             <Form.Item
             <Form.Item
                 name={'weChatAppid'}
                 name={'weChatAppid'}
                 label={<strong>群聊关联公众号</strong>}
                 label={<strong>群聊关联公众号</strong>}

+ 10 - 0
src/pages/weComTask/page/groupChat/create/tableConfig.tsx

@@ -163,6 +163,16 @@ export const PreviewColumns = (bookPlatForm: TASK_CREATE.BookPlatFormProps[], bo
                 return value ? <span style={{ color: '#1890ff' }}>是</span> : <span style={{ color: 'red' }}>否</span>
                 return value ? <span style={{ color: '#1890ff' }}>是</span> : <span style={{ color: 'red' }}>否</span>
             },
             },
         },
         },
+        {
+            title: '是否开启失败人群重试',
+            dataIndex: 'isRetry',
+            key: 'isRetry',
+            width: 70,
+            align: 'center',
+            render(value) {
+                return value ? <span style={{ color: '#1890ff' }}>是</span> : <span style={{ color: 'red' }}>否</span>
+            },
+        },
         {
         {
             title: '群聊关联公众号',
             title: '群聊关联公众号',
             dataIndex: 'weChatAppid',
             dataIndex: 'weChatAppid',

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

@@ -169,6 +169,16 @@ const Details: React.FC<Props> = ({ data, bookPlatForm, bookList, visible, onClo
                         return value ? <span style={{ color: '#1890ff' }}>是</span> : <span style={{ color: 'red' }}>否</span>
                         return value ? <span style={{ color: '#1890ff' }}>是</span> : <span style={{ color: 'red' }}>否</span>
                     },
                     },
                 },
                 },
+                {
+                    title: '是否开启失败人群重试',
+                    dataIndex: 'isRetry',
+                    key: 'isRetry',
+                    width: 70,
+                    align: 'center',
+                    render(value) {
+                        return value ? <span style={{ color: '#1890ff' }}>是</span> : <span style={{ color: 'red' }}>否</span>
+                    },
+                },
                 {
                 {
                     title: '拉群完成后自动删除拉群标签',
                     title: '拉群完成后自动删除拉群标签',
                     dataIndex: 'excludeInGroup',
                     dataIndex: 'excludeInGroup',