소스 검색

feat(types): 事项库定义

lipk 3 년 전
부모
커밋
b443d15fef
2개의 변경된 파일10개의 추가작업 그리고 6개의 파일을 삭제
  1. 1 6
      types/src/interface/api/workSpaceApi.ts
  2. 9 0
      types/src/interface/matter.ts

+ 1 - 6
types/src/interface/api/workSpaceApi.ts

@@ -17,15 +17,10 @@ export namespace GetYsProfileList {
 
 // 获取工作台-快捷方式的数据
 export namespace GetProfileMatterList {
-  export type Params = {
-    matterID: string;
-    matterListID: string;
-  }[];
-
   export type Response = {
     matterID: string;
     matterListID: string;
     matterListName: string;
     reportConfig?: IMatterReportConfig[];
-  };
+  }[];
 }

+ 9 - 0
types/src/interface/matter.ts

@@ -213,3 +213,12 @@ export interface IGypFileTemplate {
   gypID: string;
   businessID: string;
 }
+
+// 事项库
+export interface IMatterList {
+  ID: string;
+  name: string;
+  approvalID: string;
+  createdID: string;
+  createdTime: number;
+}