|
|
@@ -1,3 +1,4 @@
|
|
|
+import { ValuationType } from './compilation';
|
|
|
import { ILabourCoeFile } from './labourCoe';
|
|
|
import { IIncreaseSetting } from './increaseFee';
|
|
|
import {
|
|
|
@@ -101,7 +102,7 @@ export enum FileTypeName {
|
|
|
|
|
|
export const FileTypeMap = {
|
|
|
[FileType.SUBMISSION]: FileTypeName.SUBMISSION,
|
|
|
- [FileType.INVITATION]: FileTypeName.SUBMISSION,
|
|
|
+ [FileType.INVITATION]: FileTypeName.INVITATION,
|
|
|
[FileType.CONTROL]: FileTypeName.CONTROL,
|
|
|
};
|
|
|
|
|
|
@@ -156,6 +157,7 @@ export interface IEconomicIndex {
|
|
|
// 项目属性
|
|
|
export interface IProperty {
|
|
|
rootProjectID?: string; // 建设项目ID
|
|
|
+ valuationType?: ValuationType; // 计价类型
|
|
|
valuationID?: string; // 计价规则
|
|
|
programID?: number; // 工程专业,填计算程序工程专业ID
|
|
|
engineeringID?: string; // 工程专业ID
|
|
|
@@ -184,7 +186,7 @@ export interface IProperty {
|
|
|
progressiveLibID?: string; // 累进区间库
|
|
|
lockBills?: boolean; // 锁定清单
|
|
|
decimal?: IDecimal; // 小数位数
|
|
|
- billsQuantityDecimal: IBillsQuantityDecimal[]; // 清单工程量精度
|
|
|
+ billsQuantityDecimal?: IBillsQuantityDecimal[]; // 清单工程量精度
|
|
|
displaySetting?: IDisplaySetting; // 呈现选项
|
|
|
billsCalcMode?: number; // 清单计费取费方式
|
|
|
zanguCalcMode?: number; // 暂估合价计算方式
|
|
|
@@ -238,6 +240,10 @@ export interface IProject extends ITreeScm {
|
|
|
deleteType?: DeleteEnum;
|
|
|
deleteDate?: number;
|
|
|
deleteBy?: string;
|
|
|
+ // 只是为了显示,不是自身的正在数据,比如汇总信息等
|
|
|
+ external?: {
|
|
|
+ cost: number; // 工程造价
|
|
|
+ };
|
|
|
}
|
|
|
|
|
|
export interface IProjectBulkRst {
|