瀏覽代碼

fix(report): 报表重构界面以及保存方案功能的type修改

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

+ 11 - 6
report/src/interface/basic.ts

@@ -639,14 +639,19 @@ export interface RptTreeNode {
       auditType?: string | null;
     };
   }
+//   方案列表
 export interface IRptSchemeList{
-    ID:string;
-    name:string;
-    typeID:string;
-    typeName:string;
-    data:RptTreeNode[];
-
+    ID: string;
+    name: string;
+    data?: string[];
+    level?:string;//级别,用来区分是单位工程、单项工程和建设项目的
 }
+//方案数据
+export interface IRptSchemeData {
+    userID:string;
+    data:IRptSchemeList
+}
+
 //报表设置参数
 export interface IRptCustomizeCfg {
     userID?: string;