Explorar el Código

feat(types): 清单指标类型兼容旧数据

zhangweicheng hace 4 años
padre
commit
d292413bb8
Se han modificado 1 ficheros con 5 adiciones y 5 borrados
  1. 5 5
      types/src/interface/bill.ts

+ 5 - 5
types/src/interface/bill.ts

@@ -281,11 +281,11 @@ export interface IBillIndex {
   rations: IBillIndexRation[];
   minUnitPrice?: string;
   maxUnitPrice?: string;
-  projLocation: string; // 工程所在地
-  year: string; // 信息价年
-  month: string; // 信息价月
-  fileType: FileType; // 文件类型
-  indexTypes: string[]; // 项目分类或者说功能分类
+  projLocation?: string; // 工程所在地
+  year?: string; // 信息价年
+  month?: string; // 信息价月
+  fileType?: FileType; // 文件类型
+  indexTypes?: string[]; // 项目分类或者说功能分类
 }
 
 export enum LibType {