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

feat(types): IFinancialProject增加保密字段

LuoHaoxuan пре 3 година
родитељ
комит
8d9e0f09c3
1 измењених фајлова са 6 додато и 0 уклоњено
  1. 6 0
      types/src/interface/financialProject.ts

+ 6 - 0
types/src/interface/financialProject.ts

@@ -17,6 +17,11 @@ export interface IFinancialProjectReporter {
   name: string;
 }
 
+export interface IFinancialProjectSecrecy {
+  protected: boolean,
+  institutions: string[]
+}
+
 // 财审项目,字段来自后台,无法修改
 export interface IFinancialProject {
   ID: string;
@@ -28,6 +33,7 @@ export interface IFinancialProject {
   reportAccount?: IFinancialProjectReporter[]; // 上报人(即前端列表的编辑者列)
   constructionID?: string; // 关联的建设项目
   createdTime: number;
+  secrecy?: IFinancialProjectSecrecy // 项目设置保密
   [props: string]: any;
 }