|
|
@@ -1,5 +1,6 @@
|
|
|
+import { ILabourCoe } from './labourCoe';
|
|
|
import { IIncreaseSetting } from './increaseFee';
|
|
|
-import { ITreeScm, IFileRef, DeleteEnum } from './base';
|
|
|
+import { ITreeScm, IFileRef, DeleteEnum, INumFileRef } from './base';
|
|
|
import { ICalcOption, ITenderSetting } from './calculation';
|
|
|
|
|
|
export enum ProjectType {
|
|
|
@@ -53,12 +54,12 @@ export interface IOverHeight {
|
|
|
name: string;
|
|
|
code?: string;
|
|
|
unit?: string;
|
|
|
- labourRate?: string;
|
|
|
- machineRate?: string;
|
|
|
- labourMachineRate?: string;
|
|
|
- benchmark?: string;
|
|
|
- extra?: string;
|
|
|
- limit?: string;
|
|
|
+ labourRate?: number;
|
|
|
+ machineRate?: number;
|
|
|
+ labourMachineRate?: number;
|
|
|
+ benchmark?: number;
|
|
|
+ extra?: number;
|
|
|
+ limit?: number;
|
|
|
}
|
|
|
|
|
|
export enum OverHeightOption {
|
|
|
@@ -111,6 +112,41 @@ export interface IInfoItem {
|
|
|
items?: IInfoItem[];
|
|
|
}
|
|
|
|
|
|
+// 工程特征指标
|
|
|
+interface IBaseEngineerFeature {
|
|
|
+ value: string;
|
|
|
+ name: string;
|
|
|
+ exportName?: string;
|
|
|
+ cellType?: string;
|
|
|
+ options?: string;
|
|
|
+}
|
|
|
+export interface IStdEngineerFeature extends IBaseEngineerFeature {
|
|
|
+ ID: number;
|
|
|
+ ParentID: number;
|
|
|
+}
|
|
|
+
|
|
|
+export interface IEngineerFeature extends ITreeScm, IBaseEngineerFeature {}
|
|
|
+
|
|
|
+// 主要工料指标
|
|
|
+export interface IMaterialIndex {
|
|
|
+ name: string;
|
|
|
+ unit: string;
|
|
|
+ coe: number;
|
|
|
+}
|
|
|
+
|
|
|
+// 主要工程量指标
|
|
|
+export interface IMainQtyIndex {
|
|
|
+ name: string;
|
|
|
+ unit: string;
|
|
|
+ coe: number;
|
|
|
+}
|
|
|
+
|
|
|
+// 主要经济指标
|
|
|
+export interface IEconomicIndex {
|
|
|
+ name: string;
|
|
|
+ value: string;
|
|
|
+}
|
|
|
+
|
|
|
// 项目属性
|
|
|
export interface IProperty {
|
|
|
rootProjectID?: string; // 建设项目ID
|
|
|
@@ -120,7 +156,8 @@ export interface IProperty {
|
|
|
taxType?: TaxType; // 计税方式
|
|
|
rationFeeType?: number; // 定额取费专业
|
|
|
unitFeeType?: number; // 单位工程取费专业
|
|
|
- calcProgram?: IFileRef; // 计算程序
|
|
|
+ calcProgramLib?: INumFileRef; // 计算程序(标准)
|
|
|
+ calcProgramFile?: IFileRef; // 计算程序(用户数据)
|
|
|
colLibID?: string; // 列设置
|
|
|
templateLibID?: string; // 清单模板
|
|
|
unitPriceFile?: IFileRef; // 单价文件
|
|
|
@@ -153,6 +190,12 @@ export interface IProperty {
|
|
|
progressiveInterval?: IProgressiveInterval[]; // 累进区间
|
|
|
gljAdjustType?: GLJAdjustType; // 承包人材料调整类型
|
|
|
cptIllustration?: string; // 编制说明
|
|
|
+ labourCoeFile?: ILabourCoe; // 人工系数文件
|
|
|
+ engineerInfos?: IInfoItem[];
|
|
|
+ engineerFeatures?: IEngineerFeature[];
|
|
|
+ materials?: IMaterialIndex[];
|
|
|
+ mainQuantities?: IMainQtyIndex[];
|
|
|
+ economics?: IEconomicIndex[];
|
|
|
}
|
|
|
|
|
|
export interface IMainTreeCol {
|