Explorar el Código

fix(types): 1.项目工程特征、基本信息的types更新为树形结构

lishihao hace 4 años
padre
commit
806722c702
Se han modificado 1 ficheros con 3 adiciones y 7 borrados
  1. 3 7
      types/src/interface/project.ts

+ 3 - 7
types/src/interface/project.ts

@@ -135,15 +135,11 @@ export interface IInfoItem {
   options?: string;
   cellType?: string;
   fileKind?: FileTypeName;
-  items?: IInfoItem[];
-}
-
-// 基本信息类型
-export interface IBasicInfo extends IInfoItem {
-  ID: string;
+  items?: IInfoItem[]; 
   parentID: string;
   seq: number;
 }
+
 // 工程特征指标
 interface IBaseEngineerFeature {
   value: string;
@@ -233,7 +229,7 @@ export interface IProperty {
   tenderSetting?: ITenderSetting; // 调价设置
   overHeight?: IOverHeight[]; // 超高降效数据
   overHeightOption?: OverHeightOption; // 超高降效选项
-  basicInfo?: IBasicInfo[]; // 基本信息
+  basicInfo?: IInfoItem[]; // 基本信息
   feature?: IInfoItem[]; // 工程特征
   progressiveInterval?: IProgressiveInterval[]; // 累进区间
   gljAdjustType?: GLJAdjustType; // 承包人材料调整类型