|
|
@@ -1,7 +1,7 @@
|
|
|
import { IComponent } from './glj';
|
|
|
import { FileType } from './project';
|
|
|
import { IElfItem } from './billGuide';
|
|
|
-import { IBRBase, INumFileRef, ITreeScm } from './base';
|
|
|
+import { BRType, IBRBase, IFees, INumFileRef, ITreeScm } from './base';
|
|
|
import { ICalcItem } from './calculation';
|
|
|
|
|
|
// 清单固定类别
|
|
|
@@ -108,6 +108,9 @@ export interface IBookmark {
|
|
|
creatorID: string;
|
|
|
createTime: number;
|
|
|
telNo: string;
|
|
|
+ kind: BRType;
|
|
|
+ institution?: string;
|
|
|
+ procunit?: string;
|
|
|
}
|
|
|
// 修改书签
|
|
|
export interface ISetBookmark {
|
|
|
@@ -121,6 +124,11 @@ export interface IPriceScope {
|
|
|
maxUnitPrice: number;
|
|
|
}
|
|
|
|
|
|
+export enum IndexCalcType {
|
|
|
+ STDEV = 1, // 均方差
|
|
|
+ AVG = 2, // 平均值
|
|
|
+}
|
|
|
+
|
|
|
export interface ICheckOptions {
|
|
|
fileType: string;
|
|
|
year: string;
|
|
|
@@ -130,6 +138,7 @@ export interface ICheckOptions {
|
|
|
classCode?: string;
|
|
|
indexType?: string;
|
|
|
unit?: string;
|
|
|
+ calcType?: IndexCalcType;
|
|
|
}
|
|
|
|
|
|
export interface IBill extends IBRBase {
|
|
|
@@ -282,7 +291,9 @@ export interface IBillIndexRation {
|
|
|
quantity: string;
|
|
|
unitPrice: string;
|
|
|
rationGljList: IBillIndexGlj[];
|
|
|
- dynamicIndex?: Record<string, string>; // 动态指标,年-月为key 综合指标的映射
|
|
|
+ dynamicIndex?: Record<string, IFees>; // 动态指标,年-月为key 综合指标的映射
|
|
|
+ fees?: IFees; // 费用字段
|
|
|
+ calcItems?: ICalcItem[];
|
|
|
}
|
|
|
|
|
|
export interface IFBIndex {
|
|
|
@@ -305,15 +316,17 @@ export interface IFBIndex {
|
|
|
month?: string; // 信息价月
|
|
|
fileType?: FileType; // 文件类型
|
|
|
indexTypes?: string[]; // 项目分类或者说功能分类--
|
|
|
- dynamicIndex?: Record<string, string>; // 动态指标,年-月为key 综合指标的映射
|
|
|
+ dynamicIndex?: Record<string, IFees>; // 动态指标,年-月为key 综合指标的映射
|
|
|
minUnitPrice?: string;
|
|
|
maxUnitPrice?: string;
|
|
|
+ fees?: IFees; // 费用字段
|
|
|
}
|
|
|
export interface IBillIndex extends IFBIndex {
|
|
|
classCode: string; // 类别别名
|
|
|
groupCode?: string;
|
|
|
itemCharacter: string;
|
|
|
rations?: IBillIndexRation[];
|
|
|
+ dynamicGljMap?: Record<string, Record<string, string>>; // 动态工料机价格指标,年-月为key 工料机工五大项为子key value为市场价
|
|
|
}
|
|
|
|
|
|
export enum LibType {
|