|
@@ -1,48 +1,46 @@
|
|
|
-import { IGatherYsProfileFile, IMatterNode, UploadMsg } from "..";
|
|
|
|
|
|
|
+import { IGatherYsProfileFile, IMatterNode, UploadMsg } from '..';
|
|
|
|
|
|
|
|
export namespace PostApprovalCopyGatherYsProfileFiles {
|
|
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 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 namespace GetApprovalGetMatterData {
|
|
|
- export type Params = {
|
|
|
|
|
- businessID: string
|
|
|
|
|
- getAllMatter?: boolean // 是否获取全部matter
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ export type Params = {
|
|
|
|
|
+ businessID: string;
|
|
|
|
|
+ getAllMatter?: boolean; // 是否获取全部matter
|
|
|
|
|
+ };
|
|
|
|
|
|
|
|
- export type Response = Array<IMatterNode>
|
|
|
|
|
|
|
+ export type Response = Array<IMatterNode>;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
export namespace GetApprovalGetYsProfileTreeWithFile {
|
|
export namespace GetApprovalGetYsProfileTreeWithFile {
|
|
|
- export type Params = { businessId: string; matterId: string }
|
|
|
|
|
|
|
+ export type Params = { businessId: string; matterId: string };
|
|
|
|
|
|
|
|
- export type Response = Array<IMatterNode>
|
|
|
|
|
|
|
+ export type Response = Array<IMatterNode>;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
export namespace GetApprovalGetGatherYsProfileByBusinessID {
|
|
export namespace GetApprovalGetGatherYsProfileByBusinessID {
|
|
|
- export type Params = { businessID: string; matterID: string }
|
|
|
|
|
-
|
|
|
|
|
- export type Response = {
|
|
|
|
|
- tree: any[];
|
|
|
|
|
- profileView: boolean;
|
|
|
|
|
- uploadMsg: UploadMsg;
|
|
|
|
|
- cadView: boolean;
|
|
|
|
|
- copy: boolean
|
|
|
|
|
- }
|
|
|
|
|
-}
|
|
|
|
|
|
|
+ export type Params = { businessID: string; matterID: string };
|
|
|
|
|
+
|
|
|
|
|
+ export type Response = {
|
|
|
|
|
+ tree: any[];
|
|
|
|
|
+ profileView: boolean;
|
|
|
|
|
+ uploadMsg: UploadMsg;
|
|
|
|
|
+ cadView: boolean;
|
|
|
|
|
+ copy: boolean;
|
|
|
|
|
+ };
|
|
|
|
|
+}
|