|
@@ -235,7 +235,10 @@ export const ShowGroupUserTable: React.FC<GROUP_CHAT_CREATE.ShowGroupUserTablePr
|
|
dataIndex: 'groupSendMsg',
|
|
dataIndex: 'groupSendMsg',
|
|
key: 'groupSendMsg',
|
|
key: 'groupSendMsg',
|
|
width: 140,
|
|
width: 140,
|
|
- ellipsis: true
|
|
|
|
|
|
+ ellipsis: true,
|
|
|
|
+ render(value) {
|
|
|
|
+ return value ? value : '--'
|
|
|
|
+ }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '操作',
|
|
title: '操作',
|
|
@@ -343,22 +346,30 @@ const AddGroupObjectModal: React.FC<GROUP_CHAT_CREATE.AddGroupObjectModalProps>
|
|
>
|
|
>
|
|
<Radio.Group options={[{ label: '开启', value: true }, { label: '关闭', value: false }]} />
|
|
<Radio.Group options={[{ label: '开启', value: true }, { label: '关闭', value: false }]} />
|
|
</Form.Item>
|
|
</Form.Item>
|
|
- {isRepair && <Form.Item
|
|
|
|
- name={'repairTimes'}
|
|
|
|
- label={<strong>补缺群聊范围</strong>}
|
|
|
|
- rules={[{ required: true, message: '请选择补缺群聊范围!' }]}
|
|
|
|
- tooltip={{ title: '可补缺的群聊范围:在本建群策略内创建的群聊', placement: 'top' }}
|
|
|
|
- >
|
|
|
|
- <Select
|
|
|
|
- showSearch
|
|
|
|
- allowClear
|
|
|
|
- placeholder="请选择补缺群聊范围"
|
|
|
|
- filterOption={(input, option) =>
|
|
|
|
- (option?.label as any)?.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
- }
|
|
|
|
- options={Array(30).fill('').map((_, index) => ({ label: `近${index + 1}天`, value: index + 1 }))}
|
|
|
|
- />
|
|
|
|
- </Form.Item>}
|
|
|
|
|
|
+ {isRepair && <>
|
|
|
|
+ <Form.Item
|
|
|
|
+ name={'repairTimes'}
|
|
|
|
+ label={<strong>补缺群聊范围</strong>}
|
|
|
|
+ rules={[{ required: true, message: '请选择补缺群聊范围!' }]}
|
|
|
|
+ tooltip={{ title: '可补缺的群聊范围:在本建群策略内创建的群聊', placement: 'top' }}
|
|
|
|
+ >
|
|
|
|
+ <Select
|
|
|
|
+ showSearch
|
|
|
|
+ allowClear
|
|
|
|
+ placeholder="请选择补缺群聊范围"
|
|
|
|
+ filterOption={(input, option) =>
|
|
|
|
+ (option?.label as any)?.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
+ }
|
|
|
|
+ options={Array(30).fill('').map((_, index) => ({ label: `近${index + 1}天`, value: index + 1 }))}
|
|
|
|
+ />
|
|
|
|
+ </Form.Item>
|
|
|
|
+ <Form.Item
|
|
|
|
+ name={'groupSendMsg'}
|
|
|
|
+ label={<strong>客服消息</strong>}
|
|
|
|
+ >
|
|
|
|
+ <Input.TextArea placeholder="请输入建群成功发送内容" />
|
|
|
|
+ </Form.Item>
|
|
|
|
+ </>}
|
|
<Form.Item
|
|
<Form.Item
|
|
label={<strong>进群对象配置</strong>}
|
|
label={<strong>进群对象配置</strong>}
|
|
required
|
|
required
|
|
@@ -455,13 +466,6 @@ const AddGroupObjectModal: React.FC<GROUP_CHAT_CREATE.AddGroupObjectModalProps>
|
|
<MindTags />
|
|
<MindTags />
|
|
</Form.Item>
|
|
</Form.Item>
|
|
</Card>
|
|
</Card>
|
|
- <Form.Item
|
|
|
|
- name={'groupSendMsg'}
|
|
|
|
- label={<strong>建群成功发送内容</strong>}
|
|
|
|
- rules={[{ required: true, message: '请输入建群成功发送内容!' }]}
|
|
|
|
- >
|
|
|
|
- <Input.TextArea placeholder="请输入建群成功发送内容" />
|
|
|
|
- </Form.Item>
|
|
|
|
</Form>
|
|
</Form>
|
|
</Modal>
|
|
</Modal>
|
|
})
|
|
})
|