Browse Source

fix 修复类型缺失

LiuHao 1 year ago
parent
commit
73db6deec3
2 changed files with 11 additions and 8 deletions
  1. 1 0
      src/api/workflow/task/types.ts
  2. 10 8
      src/api/workflow/workflowCommon/types.ts

+ 1 - 0
src/api/workflow/task/types.ts

@@ -40,6 +40,7 @@ export interface TaskVO extends BaseEntity {
   multiInstance?: boolean;
   businessKey?: string;
   wfNodeConfigVo?: NodeConfigVO;
+  wfDefinitionConfigVo?: DefinitionConfigVO;
 }
 
 export interface VariableVo {

+ 10 - 8
src/api/workflow/workflowCommon/types.ts

@@ -1,14 +1,16 @@
 import { NodeConfigVO } from '@/api/workflow/nodeConfig/types';
+import { DefinitionConfigVO } from '@/api/workflow/definitionConfig/types';
 
 export interface RouterJumpVo {
-    wfNodeConfigVo: NodeConfigVO;
-    businessKey: string;
-    taskId: string;
-    type: string;
+  wfNodeConfigVo: NodeConfigVO;
+  wfDefinitionConfigVo: DefinitionConfigVO;
+  businessKey: string;
+  taskId: string;
+  type: string;
 }
 
 export interface StartProcessBo {
-    businessKey:  string | number;
-    tableName: string;
-    variables: any;
-}
+  businessKey: string | number;
+  tableName: string;
+  variables: any;
+}