瀏覽代碼

fix(types): 1.抽离报表树的flags类型

lishihao 4 年之前
父節點
當前提交
2cf88ff8fa
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      types/src/interface/report.ts

+ 6 - 1
types/src/interface/report.ts

@@ -1,3 +1,8 @@
+
+export interface ReportFlags{
+   constructSumType?: string | null, taxType?: string | null, auditType?: string | null 
+}
+
 export interface ReportSubTree {
 export interface ReportSubTree {
   nodeType: number;
   nodeType: number;
   refId: number;
   refId: number;
@@ -5,7 +10,7 @@ export interface ReportSubTree {
   ID: number;
   ID: number;
   released: boolean;
   released: boolean;
   items: ReportSubTree[] | null;
   items: ReportSubTree[] | null;
-  flags?: { constructSumType?: string | null, taxType?: string | null, auditType?: string | null };
+  flags?:ReportFlags;
 
 
 }
 }
 export interface ReportTree {
 export interface ReportTree {