12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- declare namespace GROUP_CHAT_CREATE {
- interface corpUsersProps {
- corpUserId: string,
- name: string,
- corpName: string,
- corpId: string,
- }
- interface SettingsProps {
- corpUsers?: corpUsersProps[]; // 企微号列表
- bizType?: string; // 业务类型
- platform?: string; // 书城
- 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[]
- value?: { [x: string]: any }[];
- onChange?: (value: { [x: string]: any }[]) => 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
- }
- interface AddGroupObjectModalProps {
- initialValues?: any;
- onChange?: (value: { [x: string]: any }[]) => void;
- visible?: boolean;
- onClose?: () => void;
- }
- }
|