1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- declare namespace GROUP_CHAT_CREATE {
- interface corpUsersProps {
- corpUserId: string,
- name: string,
- corpName: string,
- corpId: string,
- }
- interface CorpUserChatProps extends corpUsersProps {
- value: number
- label: string
- }
- interface SettingsProps {
- corpUserChat: CorpUserChatProps[]
- corpUsers?: corpUsersProps[]; // 企微号列表
- robotCorpUsers?: corpUsersProps[]; // 机器人企微号列表
- bizType?: string; // 业务类型
- platform?: number; // 书城
- channel?: string; // 渠道
- templateProductId?: string; // 适用产品
- strategyDTO?: { [x: string]: any };
- }
- interface DispatchGroupChatCreate {
- settings: SettingsProps
- setSettings: React.Dispatch<React.SetStateAction<SettingsProps>>
- onPreviewReset: () => void
- bookPlatForm: TASK_CREATE.BookPlatFormProps[]
- bookList: TASK_CREATE.BookListProps[]
- }
- interface FoundationProps<T> extends TASK_CREATE.DefaultProps, TASK_CREATE.DefaultChangeProps<T> {
- value?: { [x: string]: any };
- }
- interface AddGroupObjectProps {
- bookPlatForm: TASK_CREATE.BookPlatFormProps[]
- bookList: TASK_CREATE.BookListProps[]
- strategyList: any
- index: number
- value?: { [x: string]: any }[];
- onChange?: (value: { [x: string]: any }[]) => void;
- onCopy?: (data: any, copyIndex: number) => void
- }
- interface ShowGroupUserTableProps {
- bookPlatForm: TASK_CREATE.BookPlatFormProps[]
- bookList: TASK_CREATE.BookListProps[]
- value: { [x: string]: any }[];
- handleEdit?: (data: { [x: string]: any }) => void
- handleDelete?: (id: number) => void
- isPreview?: boolean
- handleCopy?: (data: any) => void
- }
- interface AddGroupObjectModalProps {
- initialValues?: any;
- onChange?: (value: { [x: string]: any }[]) => void;
- visible?: boolean;
- onClose?: () => void;
- }
- }
|