/// import type { FormItem } from '@sinoform/types'; import type { RestPageResponseInfo } from '@sinoui/use-rest-page-api'; export interface NoFlowListPageContextInterface { /** * 表格数据源 */ dataSource: RestPageResponseInfo; /** * 数据表格列 */ columns: FormItem[]; /** * 自定义列上下文 */ customedColumnsContext: { /** * 所有可查询的字段 */ allFields: FormItem[]; /** * 自定义表格列 */ items: string[]; /** * 更新自定义表格列 */ update(items: string[]): void; }; /** * 删除列表数据 */ deleteData: (id: string) => void; /** * 获取无流程表单的操作权限 */ getOperationPermisson: (rowData?: any) => { isDraft: boolean; isEdit: boolean; }; /** * 导出列表数据 */ handleListDataExport: () => void; /** *是否显示退回按钮 * * @type {boolean} * @memberof NoFlowListPageContextInterface */ showBack?: boolean; /** * 请求接口 */ url: string; /** * 查询条件是否默认展开: 0折叠 1展开 */ defaultExpandQuery?: '0' | '1'; } declare const NoFlowListPageContext: import("react").Context; export default NoFlowListPageContext;