1234567891011121314151617181920212223242526272829303132333435363738394041 |
- declare namespace OFFICIAL_CHAT_CREATE {
- interface DispatchOfficialChatCreate {
- settings: SettingsProps
- setSettings: React.Dispatch<React.SetStateAction<SettingsProps>>
- onPreviewReset: () => void
- bookPlatForm: TASK_CREATE.BookPlatFormProps[]
- bookList: TASK_CREATE.BookListProps[]
- mpList: DefaultOptionType[]
- corpList: DefaultOptionType[]
- }
- // 官方群发创建参数配置
- interface SettingsProps {
- bizType?: string; // 业务类型
- platform?: string; // 书城
- channel?: string; // 渠道
- templateProductId?: string; // 适用产品
- strategyDTO?: { [x: string]: any };
- }
- interface SettingsSendObjectProps {
- mpList: DefaultOptionType[]
- corpList: DefaultOptionType[]
- value?: { [x: string]: any }[];
- onChange?: (value: { [x: string]: any }[]) => void;
- }
- interface AddSendObjectProps {
- mpList: DefaultOptionType[]
- corpList: DefaultOptionType[]
- initialValues?: any;
- onChange?: (value: { [x: string]: any }) => void;
- visible?: boolean;
- onClose?: () => void;
- }
- interface ShowSendObjectTable {
- mpList: DefaultOptionType[]
- corpList: DefaultOptionType[]
- data: { [x: string]: any }[]
- isPreview?: boolean
- handleEdit?: (data: { [x: string]: any }) => void
- handleDelete?: (id: number) => void
- }
- }
|