Преглед изворни кода

feat(types): 事项库定义

lipk пре 2 година
родитељ
комит
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;
+}