Browse Source

fix(types): 结构分部type修改

lishihao 4 years ago
parent
commit
68f153d4a8
1 changed files with 23 additions and 3 deletions
  1. 23 3
      types/src/interface/compilation.ts

+ 23 - 3
types/src/interface/compilation.ts

@@ -89,23 +89,43 @@ export interface ISubPrice {
   };
   };
 }
 }
 
 
-interface ISubStructuralSegment {
+interface ISubStructuralSegmentProperty {
+  valuationID: string;
+  normLib: string;
+  taxType: number;
+  fileType: number;
+  calcProgramLib: {
+    ID: string;
+    name: string;
+    displayName: string;
+  };
+  engineeringID: string;
+}
+
+export interface ISubStructuralSegment {
   dispName: string;
   dispName: string;
   key: string;
   key: string;
   type: string;
   type: string;
   subItems?: ISubStructuralSegment[];
   subItems?: ISubStructuralSegment[];
-  property?: any;
+  engineering?: string;
+  feeType?: string;
+  calcProgram?: string;
+  IndicatorSegment?: string;
+  property?: ISubStructuralSegmentProperty;
 }
 }
 
 
 // 结构分布
 // 结构分布
 export interface IStructuralSegmentData {
 export interface IStructuralSegmentData {
   monomerType: string;
   monomerType: string;
+  valuationName: string;
   items: ISubStructuralSegment[];
   items: ISubStructuralSegment[];
 }
 }
 
 
 export interface IStructuralSegment {
 export interface IStructuralSegment {
   compilationID: string;
   compilationID: string;
-  data: IStructuralSegmentData;
+  ID: string;
+  name: string;
+  data: IStructuralSegmentData[];
 }
 }
 
 
 // 单体模板
 // 单体模板