Переглянути джерело

feat(types): 事项库定义

lipk 2 роки тому
батько
коміт
b443d15fef

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

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

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

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