Kaynağa Gözat

feat(types): 分享项目要包含建设项目ID

vian 4 yıl önce
ebeveyn
işleme
2dfafe742b
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. 3 0
      types/src/interface/share.ts

+ 3 - 0
types/src/interface/share.ts

@@ -20,6 +20,7 @@ export interface IShareProject extends ISharePermission {
   shareDate: number;
   shareDate: number;
   updateDate?: number;
   updateDate?: number;
   projectID: string; // 项目ID
   projectID: string; // 项目ID
+  constructionID: string; // 项目所属建设项目ID,涉及到一些层级,有这个字段会更方便
   compilationID: string;
   compilationID: string;
   isRead?: boolean;
   isRead?: boolean;
 }
 }
@@ -90,6 +91,8 @@ export interface IShareLink {
   password?: string;
   password?: string;
   // 分享的项目ID
   // 分享的项目ID
   projectID: string;
   projectID: string;
+  // 所属建设项目ID
+  constructionID: string;
   // 项目所属费用定额ID
   // 项目所属费用定额ID
   compilationID: string;
   compilationID: string;
   // 拥有者ID
   // 拥有者ID