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

feat(types): 获取事项库列表

lipk 3 лет назад
Родитель
Сommit
309f17bea5
1 измененных файлов с 15 добавлено и 3 удалено
  1. 15 3
      types/src/interface/api/workSpaceApi.ts

+ 15 - 3
types/src/interface/api/workSpaceApi.ts

@@ -1,4 +1,4 @@
-import { IYsProfileTemplate } from '../matter';
+import { IMatterReportConfig, IYsProfileTemplate } from '../matter';
 
 // 获取资料清单的文件结构
 export namespace GetYsProfileList {
@@ -15,5 +15,17 @@ export namespace GetYsProfileList {
   };
 }
 
-// 获取工作台-快捷方式-资料清单的数据
-export namespace GetDataSourceList {}
+// 获取工作台-快捷方式的数据
+export namespace GetProfileMatterList {
+  export type Params = {
+    matterID: string;
+    matterListID: string;
+  }[];
+
+  export type Response = {
+    matterID: string;
+    matterListID: string;
+    matterListName: string;
+    reportConfig?: IMatterReportConfig[];
+  };
+}