소스 검색

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

lipk 3 년 전
부모
커밋
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[];
+  };
+}