import { OptionsInterface } from '../../components/table/model/table' import { ObjectInterface } from '../../script/util' export interface resourceInterface extends Partial { type?: string | Function, title?: string, dataType?: string | Function, currentData?: string, isShowTree?: boolean | Function, isShowTable?: boolean | Function, treeApi?: Function parameter?: ObjectInterface other?: ObjectInterface params?: Function treeParams?: Function // 查询树时候的自定义参数 dataTableApi?: Function tableCallback?: Function width?: string placeholder?: string } export interface ParameterInterface { pageSize: number pageNum: number name: any parentId: any type?: any datasourceIds?: any } export interface DataTreeInterface { data: ObjectInterface[] }