Просмотр исходного кода

feat(types): 项目增加项目业务类型

vian 3 лет назад
Родитель
Сommit
8d1c988a08
1 измененных файлов с 12 добавлено и 0 удалено
  1. 12 0
      types/src/interface/project.ts

+ 12 - 0
types/src/interface/project.ts

@@ -309,7 +309,19 @@ export enum PermissionType {
   READONLY = 'readonly',
   EDIT = 'edit',
 }
+
+// 项目业务类型
+export enum ProjectBusinessType {
+  // 预算
+  budget = 'budget',
+  // 概算
+  estimate = 'estimate',
+  // 结算
+  settlement = 'settlement',
+}
+
 export interface IProject extends ITreeScm {
+  businessType?: ProjectBusinessType;
   type: ProjectType;
   compilationID: string;
   ownerID: string; // 拥有者ID(个人或企业)