|
@@ -10,15 +10,14 @@ import { getMessageSendTaskuserListApi, GetSendTaskGroupuserListProps, putMessag
|
|
|
|
|
|
interface Props {
|
|
|
corpId: string
|
|
|
- taskId: number,
|
|
|
- weList: any[]
|
|
|
+ taskId: number
|
|
|
}
|
|
|
/**
|
|
|
* 群发下发企微号列表
|
|
|
* @param param0
|
|
|
* @returns
|
|
|
*/
|
|
|
-const HighGroupXfCorpTabls: React.FC<Props> = ({ corpId, taskId, weList = [] }) => {
|
|
|
+const HighGroupXfCorpTabls: React.FC<Props> = ({ corpId, taskId }) => {
|
|
|
|
|
|
/******************************/
|
|
|
const { message } = App.useApp()
|
|
@@ -64,21 +63,6 @@ const HighGroupXfCorpTabls: React.FC<Props> = ({ corpId, taskId, weList = [] })
|
|
|
}
|
|
|
options={[{ label: <Badge status="error" text='未发送' />, value: 0 }, { label: <Badge status="success" text='已发送' />, value: 2 }]}
|
|
|
/>
|
|
|
- <Select
|
|
|
- showSearch
|
|
|
- style={{ minWidth: 120 }}
|
|
|
- allowClear
|
|
|
- value={queryForms.userId}
|
|
|
- onChange={(valuse) => {
|
|
|
- setQueryForms({ ...queryForms, userId: valuse })
|
|
|
- }}
|
|
|
- placeholder="企微号"
|
|
|
- filterOption={(input, option) =>
|
|
|
- ((option?.label ?? '') as string).toLowerCase().includes(input.toLowerCase())
|
|
|
- }
|
|
|
- options={weList?.map((item: any) => ({ label: item.name, value: item.corpUserId }))}
|
|
|
-
|
|
|
- />
|
|
|
<DatePicker placeholder="发送开始时间" onChange={(e, date) => { setQueryForms({ ...queryForms, sendTimeStartTime: date as string }) }} />
|
|
|
<DatePicker placeholder="发送结束时间" onChange={(e, date) => { setQueryForms({ ...queryForms, sendTimeEndTime: date as string }) }} />
|
|
|
<DatePicker.RangePicker placeholder={['预计送达时间(起始)', '预计送达时间(结束)']} onChange={(e, date) => { setQueryForms({ ...queryForms, createStartDate: date[0], createEndDate: date[1] }) }} />
|