|
@@ -3,9 +3,8 @@ import { ValuationType } from './compilation';
|
|
|
import { IIncreaseSetting } from './increaseFee';
|
|
import { IIncreaseSetting } from './increaseFee';
|
|
|
import { ITreeScm, DeleteEnum, INumFileRef, IColumnMeta } from './base';
|
|
import { ITreeScm, DeleteEnum, INumFileRef, IColumnMeta } from './base';
|
|
|
import { ICalcOption, ITenderSetting, IDistributeSetting } from './calculation';
|
|
import { ICalcOption, ITenderSetting, IDistributeSetting } from './calculation';
|
|
|
-import { ISharePermission } from './share';
|
|
|
|
|
import { IOverHeight, IOverHeightSetting } from './overHeight';
|
|
import { IOverHeight, IOverHeightSetting } from './overHeight';
|
|
|
-import { IProcessAccount } from './process';
|
|
|
|
|
|
|
+import { ICheckOptions, IPriceScope } from './bill';
|
|
|
|
|
|
|
|
// 项目类型
|
|
// 项目类型
|
|
|
export enum ProjectType {
|
|
export enum ProjectType {
|
|
@@ -247,6 +246,9 @@ export interface IProperty {
|
|
|
saveLog?: boolean; // 记录项目编辑log
|
|
saveLog?: boolean; // 记录项目编辑log
|
|
|
indexType?: string; // 指标项目分类用于指标入库
|
|
indexType?: string; // 指标项目分类用于指标入库
|
|
|
normLib?: string;
|
|
normLib?: string;
|
|
|
|
|
+ saveToIndex?: boolean; // 是否已经入库
|
|
|
|
|
+ checkOptions?: ICheckOptions; // 指标检测的选项
|
|
|
|
|
+ priceScope?: IPriceScope; // 价格区间
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 原来的列设置太复杂了,没什么必要
|
|
// 原来的列设置太复杂了,没什么必要
|
|
@@ -423,13 +425,15 @@ export interface ISaveProjectInfo {
|
|
|
unitID?: string;
|
|
unitID?: string;
|
|
|
singleID?: string;
|
|
singleID?: string;
|
|
|
constructionID?: string;
|
|
constructionID?: string;
|
|
|
- indexTypes: string[];
|
|
|
|
|
|
|
+ indexType: string; // 工程分类
|
|
|
|
|
+ indexTypes: string[]; // 自身的工程分类以及祖先项的分类数组
|
|
|
projLocation: string;
|
|
projLocation: string;
|
|
|
year: string;
|
|
year: string;
|
|
|
month: string;
|
|
month: string;
|
|
|
fileType: FileType;
|
|
fileType: FileType;
|
|
|
unit?: string;
|
|
unit?: string;
|
|
|
quantity?: string;
|
|
quantity?: string;
|
|
|
|
|
+ sourceName: string;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
export interface ICommonIndex {
|
|
export interface ICommonIndex {
|
|
@@ -437,8 +441,10 @@ export interface ICommonIndex {
|
|
|
parentID: string;
|
|
parentID: string;
|
|
|
seq: number;
|
|
seq: number;
|
|
|
type: ProjectType;
|
|
type: ProjectType;
|
|
|
|
|
+ sourceName: string;
|
|
|
name?: string;
|
|
name?: string;
|
|
|
constructionID?: string;
|
|
constructionID?: string;
|
|
|
|
|
+ indexType: string; // 工程分类
|
|
|
indexTypes: string[];
|
|
indexTypes: string[];
|
|
|
projLocation: string;
|
|
projLocation: string;
|
|
|
year: string;
|
|
year: string;
|