浏览代码

feat(types): 增加指标填写类型

zhangweicheng 3 年之前
父节点
当前提交
cf71e640cc
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      types/src/interface/bill.ts

+ 6 - 0
types/src/interface/bill.ts

@@ -124,6 +124,11 @@ export interface IPriceScope {
   maxUnitPrice: number;
 }
 
+export enum IndexCalcType {
+  STDEV = 1, // 均方差
+  AVG = 2, // 平均值
+}
+
 export interface ICheckOptions {
   fileType: string;
   year: string;
@@ -133,6 +138,7 @@ export interface ICheckOptions {
   classCode?: string;
   indexType?: string;
   unit?: string;
+  calcType?: IndexCalcType;
 }
 
 export interface IBill extends IBRBase {