Преглед изворни кода

feat(types): 活动项目增加协作人数

vian пре 4 година
родитељ
комит
b3e637ed87
2 измењених фајлова са 15 додато и 17 уклоњено
  1. 0 4
      types/src/interface/base.ts
  2. 15 13
      types/src/interface/project.ts

+ 0 - 4
types/src/interface/base.ts

@@ -123,10 +123,6 @@ export enum CptModelName {
   billCodeSeqs = 'billCodeSeqs',
   rations = 'rations',
   rationGljs = 'rationGljs',
-  shareList = 'shareList',
-  shareProject = 'shareProject',
-  shareLib = 'shareLib',
-  shareLink = 'shareLink',
   unitPriceFile = 'unitPriceFile',
   feeRateFile = 'feeRateFile',
   labourCoeFile = 'labourCoeFile',

+ 15 - 13
types/src/interface/project.ts

@@ -39,7 +39,7 @@ export interface IDecimal {
 export interface IBillsQuantityDecimal {
   unit: string;
   decimal: number;
-  ID:string;
+  ID: string;
 }
 
 // 呈现选项
@@ -56,7 +56,7 @@ export interface IProgression {
 }
 
 export interface IProgressiveInterval {
-  ID:string;
+  ID: string;
   name: string;
   progression: IProgression[];
   generalRate?: number;
@@ -115,7 +115,7 @@ export const FileTypeMap = {
 
 // 工程特征、基本信息
 export interface IInfoItem {
-  ID:string;
+  ID: string;
   key: string;
   dispName: string;
   value?: string;
@@ -127,11 +127,11 @@ export interface IInfoItem {
   items?: IInfoItem[];
 }
 
-//基本信息类型
-export interface IBasicInfo extends IInfoItem{
-  ID:string, 
-  parentID:string,
-  seq:number
+// 基本信息类型
+export interface IBasicInfo extends IInfoItem {
+  ID: string;
+  parentID: string;
+  seq: number;
 }
 // 工程特征指标
 interface IBaseEngineerFeature {
@@ -150,7 +150,7 @@ export interface IEngineerFeature extends ITreeScm, IBaseEngineerFeature {}
 
 // 主要工料指标
 export interface IMaterialIndex {
-  ID:string;
+  ID: string;
   name: string;
   unit: string;
   coe: number;
@@ -158,7 +158,7 @@ export interface IMaterialIndex {
 
 // 主要工程量指标
 export interface IMainQtyIndex {
-  ID:string;
+  ID: string;
   name: string;
   unit: string;
   coe: number;
@@ -166,7 +166,7 @@ export interface IMainQtyIndex {
 
 // 主要经济指标
 export interface IEconomicIndex {
-  ID:string;
+  ID: string;
   name: string;
   value: string;
 }
@@ -234,7 +234,7 @@ export interface IProperty {
   overHeightSpecificID?: string; // 超高子目指定清单ID
   distributeSetting?: IDistributeSetting; // 强制修改叶子清单的综合单价,分摊计算定额工程量 或 分摊计算定额下的工料机消耗量。
   colMetas?: IColumnMeta[];
-  valuationName?:string;//计价规则名称
+  valuationName?: string; // 计价规则名称
 }
 
 // 原来的列设置太复杂了,没什么必要
@@ -276,7 +276,7 @@ export interface IProject extends ITreeScm {
   code?: string;
   createDate: number;
   property?: IProperty;
- 
+
   changeMark?: string;
   remark?: string;
   fileVer?: string;
@@ -360,6 +360,8 @@ export interface IProjectLog {
   activityDate: number;
   // 活动者ID
   activityUserID: string;
+  // 协作
+  cooperationCount?: number;
 }
 
 // 导入状态