|
|
@@ -0,0 +1,48 @@
|
|
|
+import { IGatherYsProfileFile, IMatterNode, UploadMsg } from "..";
|
|
|
+
|
|
|
+export namespace PostApprovalCopyGatherYsProfileFiles {
|
|
|
+
|
|
|
+ export type Params = {
|
|
|
+ fileDataList: {
|
|
|
+ name: string;
|
|
|
+ ext: string;
|
|
|
+ size: any;
|
|
|
+ path: string;
|
|
|
+ createTime: number;
|
|
|
+ }[];
|
|
|
+ gypID: string;
|
|
|
+ }
|
|
|
+
|
|
|
+ export interface Response {
|
|
|
+ fileList: IGatherYsProfileFile[];
|
|
|
+ count: number;
|
|
|
+ }
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+export namespace GetApprovalGetMatterData {
|
|
|
+ export type Params = {
|
|
|
+ businessID: string
|
|
|
+ // getAllMatter?: boolean // 是否获取全部matter
|
|
|
+ }
|
|
|
+
|
|
|
+ export type Response = Array<IMatterNode>
|
|
|
+}
|
|
|
+
|
|
|
+export namespace GetApprovalGetYsProfileTreeWithFile {
|
|
|
+ export type Params = { businessId: string; matterId: string }
|
|
|
+
|
|
|
+ export type Response = Array<IMatterNode>
|
|
|
+}
|
|
|
+
|
|
|
+export namespace GetApprovalGetGatherYsProfileByBusinessID {
|
|
|
+ export type Params = { businessID: string; matterID: string }
|
|
|
+
|
|
|
+ export type Response = {
|
|
|
+ tree: any[];
|
|
|
+ profileView: boolean;
|
|
|
+ uploadMsg: UploadMsg;
|
|
|
+ cadView: boolean;
|
|
|
+ copy: boolean
|
|
|
+ }
|
|
|
+}
|