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

feat(types): 修改企业信息的表结构

lipk 3 лет назад
Родитель
Сommit
816c2ccd83
1 измененных файлов с 11 добавлено и 11 удалено
  1. 11 11
      types/src/interface/institution.ts

+ 11 - 11
types/src/interface/institution.ts

@@ -1,3 +1,10 @@
+export declare enum BusinessLicenseType {
+  ENTERPRISELEGALPERSON = 'enterpriseLegalPerson',
+  INDIVIDUALBUSINESSES = 'individualBusinesses',
+  GOVERNMENT = 'government',
+  INSTITUTION = 'institution',
+}
+
 export interface IBusinessLicense {
   ID: string;
   type: BusinessLicenseType;
@@ -5,13 +12,6 @@ export interface IBusinessLicense {
   validTime: string;
   filePath: string;
 }
-
-export declare enum BusinessLicenseType {
-  ENTERPRISELEGALPERSON = "enterpriseLegalPerson",
-  INDIVIDUALBUSINESSES = "individualBusinesses",
-  GOVERNMENT = "government",
-  INSTITUTION = "institution",
-}
 export interface IQualificationCertificate {
   ID: string;
   certificationsName: string;
@@ -45,12 +45,12 @@ export interface IInstitution {
   };
   businessLicense: IBusinessLicense[];
   qualificationCertificate: IQualificationCertificate[];
+  addAccount: boolean; // 是否开启管理员添加成员
 }
 
-
 export declare enum CertificationsType {
-  enterprise = "enterprise",
-  personnel = "personnel",
+  enterprise = 'enterprise',
+  personnel = 'personnel',
 }
 
 export interface ICertificationsTree {
@@ -65,4 +65,4 @@ export interface ICertifications {
   ID: string;
   type: CertificationsType;
   tree: ICertificationsTree;
-}
+}