export interface Liability { liabilityCode: string; // 责任代码 liabilityName: string; // 责任名称 sumInsured: number; // 保额金额 } export interface Grade { id: number; // 档次id planId: number; // 计划id productId: number; // 产品id gradeCode: string; // 档次编码 gradeName: string; // 档次name value: string; // 档次编码 label: string; // 档次name liabilityList: Liability[]; // description: string; // 档次详细描述 } export interface Attrs { sumInsuredType: null; isProduct: boolean; isBenefitFactor: boolean; isPremiumFactor: boolean; product: any; isLiability: boolean; premiumCalculateType: 'bySumInsured'; liability: {}; dataSource: Grade[]; } export interface Props { isDefault: boolean; component: 'ChooseEnumGrade'; label: string; formKey: string; // 'insurancePlanTrialCollectValue.product._110093.enum'; isBenefitFactor: boolean; isPremiumFactor: boolean; attrs: Attrs; }