export interface IBasicConfig { hideUnselectedItem?: boolean // 根据mapping 动态添加的值,不在后端存储 mapping?: MappingType hidden?: boolean // 组件是否隐藏 submitDisabled?: boolean // 数据是否提交 readonly?: boolean // 是否只读 disabled?: boolean // 是否禁用 display?: boolean //组件配置是否可见 required: boolean replaceWarn?: boolean status?: { created?: number upgrade?: number } showTooltip?: boolean tooltip?: string } export interface IBasicProps { componentName?: string uniqueKey: string workOrderComponentType: string workOrderComponentGroup: string // 暂时不知道哪里用到 name: string componentConfig: IBasicConfig } export type MappingType = { auth: 'single' | 'all' triggerComponentKey: string rules: { currentValue: string triggerValue: string }[] }