| | |
| | | import { NodeConfigVO } from '@/api/workflow/nodeConfig/types'; |
| | | import { DefinitionConfigVO } from '@/api/workflow/definitionConfig/types'; |
| | | export interface TaskQuery extends PageQuery { |
| | | name?: string; |
| | | processDefinitionKey?: string; |
| | | processDefinitionName?: string; |
| | | nodeName?: string; |
| | | flowCode?: string; |
| | | flowName?: string; |
| | | createByIds?: string[] | number[]; |
| | | } |
| | | |
| | | export interface ParticipantVo { |
| | |
| | | candidateName: string[]; |
| | | claim: boolean; |
| | | } |
| | | |
| | | export interface TaskVO extends BaseEntity { |
| | | id: string; |
| | | name: string; |
| | | description?: string; |
| | | priority: number; |
| | | owner?: string; |
| | | assignee?: string | number; |
| | | assigneeName?: string; |
| | | processInstanceId: string; |
| | | executionId: string; |
| | | taskDefinitionId?: any; |
| | | processDefinitionId: string; |
| | | endTime?: string; |
| | | taskDefinitionKey: string; |
| | | dueDate?: string; |
| | | category?: any; |
| | | parentTaskId?: any; |
| | | tenantId: string; |
| | | claimTime?: string; |
| | | businessStatus?: string; |
| | | businessStatusName?: string; |
| | | processDefinitionName?: string; |
| | | processDefinitionKey?: string; |
| | | participantVo?: ParticipantVo; |
| | | multiInstance?: boolean; |
| | | businessKey?: string; |
| | | wfNodeConfigVo?: NodeConfigVO; |
| | | wfDefinitionConfigVo?: DefinitionConfigVO; |
| | | export interface FlowTaskVO { |
| | | id: string | number; |
| | | createTime?: Date; |
| | | updateTime?: Date; |
| | | tenantId?: string; |
| | | definitionId?: string; |
| | | instanceId: string; |
| | | flowName: string; |
| | | businessId: string; |
| | | nodeCode: string; |
| | | nodeName: string; |
| | | flowCode: string; |
| | | flowStatus: string; |
| | | formCustom: string; |
| | | formPath: string; |
| | | nodeType: number; |
| | | nodeRatio: string | number; |
| | | version?: string; |
| | | } |
| | | |
| | | export interface VariableVo { |
| | | key: string; |
| | | value: string; |
| | | } |
| | | |
| | | export interface TaskOperationBo { |
| | | //委派/转办人的用户ID(必填,准对委派/转办人操作) |
| | | userId?: string; |
| | | //加签/减签人的用户ID列表(必填,针对加签/减签操作) |
| | | userIds?: string[]; |
| | | //任务ID(必填) |
| | | taskId: string | number; |
| | | //意见或备注信息(可选) |
| | | message?: string; |
| | | } |