Przeglądaj źródła

feat(types): 1.报表树类型新增flags属性 2.新增汇总信息的type

lishihao 4 lat temu
rodzic
commit
6f54ce8fb8
1 zmienionych plików z 25 dodań i 0 usunięć
  1. 25 0
      types/src/interface/report.ts

+ 25 - 0
types/src/interface/report.ts

@@ -5,6 +5,8 @@ export interface ReportSubTree {
   ID: number;
   released: boolean;
   items: ReportSubTree[] | null;
+  flags?: { constructSumType?: string | null, taxType?: string | null, auditType?: string | null };
+
 }
 export interface ReportTree {
   compilationId: string;
@@ -13,4 +15,27 @@ export interface ReportTree {
   isDeleted: boolean;
   name: string;
   items: ReportSubTree[] | null;
+  flags?: { constructSumType?: string | null, taxType?: number | null, auditType?: string | null };
+}
+
+
+//汇总项目信息
+export interface Summary {
+  compilationIllustration: string;
+  name: string;
+}
+// 汇总项目明细
+export interface SummaryDetail {
+  buildingArea: string;
+  charge: number;
+  engineeringCost: number;
+  estimate: number;
+  measure: number;
+  name: string;
+  other: number;
+  perCost: string;
+  rate: number;
+  safetyConstruction: number;
+  subEngineering: number;
+  tax: number;
 }