/** * @title RefundLogic * @cloud * @page apply-after-sale,apply-exchange,apply-refund,apply-refund-router,buyer-memo,negotiate-history,refund-detail,write-trace-information */ export interface RefundLogicProps { /** * 组件 fields 数据 */ fields: FieldsType; onChange: (changeFields: FieldsType) => void; } interface FieldsType { /** * 前后端 */ dateCheck?: string; /** * 是否展示弹窗 */ hidden?: boolean; /** * dialog标题 */ title?: string; /** * dialog内容 */ content?: string; /** * dialog按钮配置 */ options?: ButtonOptionType[]; /** * 用户行为点 */ style?: 'dialog' | 'toast' | 'confirm' | 'goto'; /** * 跳转地址 */ jumpUrl?: string; /** * 刷新页面 */ isSubmit?: boolean; /** * 是否重定向页面 */ needPop?: boolean; /** * 新开页面 */ newWindow?: boolean; /** * 按钮 id */ btnId?: string; } interface ButtonOptionType { /** * 按钮标题 */ title: string; /** * 按钮样式 css 名称 */ style: string; /** * 按钮 id */ btnId: string; /** * 按钮类型, 目前只支持 async - 发送请求 */ optionType?: string; } export {};