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

feat(types): 分享链接相关调整

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

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

@@ -1,4 +1,7 @@
+import { IOption } from './option';
+import { ICompilation } from './compilation';
 import { IRecentUser, IUser } from './user';
+import { ISystemSetting } from '.';
 
 export enum ShareType {
   PROJECT = 1, // 项目
@@ -117,8 +120,22 @@ export interface IShareLinkInfo {
   compilationID: string;
   // 分享的项目ID
   projectID: string;
+  // 所属建设项目ID
+  constructionID: string;
   // 分享的项目名称
   projectName: string;
   // 分享链接的人名
   creatorName: string;
 }
+
+// 进入分享链接项目前准备数据
+export interface IPrepareShareLinkProject {
+  // 分享链接项目的费用定额数据
+  compilation: ICompilation;
+  // 选项信息
+  option: IOption;
+  // 系统设置信息
+  systemSetting: ISystemSetting;
+  // 报表设置信息(用户)
+  customizeCfg: any;
+}