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

Merge branch 'master' of 192.168.1.41:SmartCost/SCCommon

lipk 3 лет назад
Родитель
Сommit
46698f225b
2 измененных файлов с 32 добавлено и 0 удалено
  1. 1 0
      types/src/interface/index.ts
  2. 31 0
      types/src/interface/resultDocument.ts

+ 1 - 0
types/src/interface/index.ts

@@ -41,3 +41,4 @@ export * from './platformSwitch';
 export * from './area';
 export * from './area';
 export * from './processLog';
 export * from './processLog';
 export * from './generalSetting';
 export * from './generalSetting';
+export * from './resultDocument';

+ 31 - 0
types/src/interface/resultDocument.ts

@@ -0,0 +1,31 @@
+interface IResultDocumentData {
+  ID: string;
+  name: string;
+  parentID: string;
+  mode: string;
+  children: any[];
+  folder: boolean;
+  profileMatterID: string;
+  profileIDs: string[];
+  required: boolean;
+  compilationID: string;
+  reportIDs: number[];
+  dataID?: string;
+  businessID?: string;
+}
+
+interface ISubResultDocument {
+  ID: string;
+  name: string;
+  parentID: string;
+  mode: string;
+  children: IResultDocumentData[];
+}
+
+export interface IResultDocument {
+  treeData: ISubResultDocument[];
+  ID: string;
+  matterID: string;
+  approvalID: string;
+  businessID?: string;
+}