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

fix(types): 项目属性和编办type新增edition(数据版本)属性

lishihao пре 3 година
родитељ
комит
d62fac0cd8
2 измењених фајлова са 5 додато и 1 уклоњено
  1. 1 0
      types/src/interface/compilation.ts
  2. 4 1
      types/src/interface/project.ts

+ 1 - 0
types/src/interface/compilation.ts

@@ -169,6 +169,7 @@ export interface ICompilation {
   lockInfo: LockInfo; // 锁信息
   monomerTemplate: IMonomerTemplateData[];
   structuralSegment: IStructuralSegmentData[];
+  edition: string; // 版本号(用于项目信息、项目特征等项目信息的升级)
 }
 
 export enum ValuationType {

+ 4 - 1
types/src/interface/project.ts

@@ -1,4 +1,4 @@
-import { EntityType } from './user';
+import { EntityType } from './user';
 import { ValuationType } from './compilation';
 import { IIncreaseSetting } from './increaseFee';
 import { ITreeScm, DeleteEnum, INumFileRef, IColumnMeta } from './base';
@@ -303,6 +303,7 @@ export interface IProject extends ITreeScm {
   deleteDate?: number;
   deleteBy?: string;
   financialProjectID?: string; // 关联财审项目ID(不用财审项目关联此表,因为可能多个项目对应一个财审项目)
+  edition?: string; // 数据版本号
   // 流程信息
   processInfo?: {
     currentApprovalID: string; // 当前正处于哪个审批流中
@@ -394,6 +395,8 @@ export interface IProjectLog {
   cooperationCount?: number;
   // 是否与我协作
   cooperateWithMe?: boolean;
+  // 版本号
+  edition?: string;
 }
 
 // 导入状态