文档
测试

任务详情接口

POST
http://localhost/api/tbPatrolTask/v2/queryTaskInfo

请求参数

参数名
类型
描述
必填
taskCode
string
任务编号
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:操作成功
必填
code
int
示例:200
必填
data
object
数据字典
必填
id
string
主键ID
必填
creator
string
创建人
必填
createTime
string
创建时间
必填
updator
string
修改人
必填
updatedTime
string
修改时间
必填
parentTaskId
string
父任务ID
必填
taskCode
string
任务编号
必填
taskName
string
任务名称
必填
taskType
string
任务类型 0:周期 1:临时任务 2:整改任务
必填
agingDay
string
任务时效天
必填
agingHour
string
任务时效小时
必填
agingMin
string
任务时效分钟
必填
flowId
string
流程ID
必填
flowName
string
任务流程名字
必填
countDown
string
倒计时时间
必填
processInstanceId
string
流程实例ID
必填
startTime
string
任务发起时间
必填
endTime
string
任务结束时间
必填
isReminder
string
是否已催办 0:待执行没催办 1:待执行已催办 2:待审核没催办 3:待审核已催办
必填
status
string
巡检任务状态, 0:待执行:1:待接收:2:待整改:3:待审核:4:已结束:5:超时关闭 6:待发起; 7:执行结束;;8:待受理; 9:待验证1; 10:待验证2
必填
patrolPlanSubDtoList
array
内容数据
必填
planId
string
任务code
必填
subId
string
内容编号
必填
content
string
内容:{"0":"船舶证书的配备应符合有关要求,并在船留存。"}
必填
executeResultType
string
执行结果类型 0:无缺陷 1:有缺陷
必填
place
string
位置 1:甲板部 ,2 :轮机部 可多选,示例:1,2
必填
shipsName
string
场所名称
必填
positionType
string
位置归属 0:船舶,1:岸基部室
必填
correct
string
纠正/预防措施
必填
cause
string
原因分析
必填
inconformityType
string
不符合项类型 0:一般不符合 1:重大不符合
必填
executeCode
string
执行code
必填
attachmentList
array
图片列表(临时,周期任务全部图片或者整改前图片)
必填
attachmentCode
附件code
必填
businessId
业务ID
必填
attachmentOrder
附件序号
必填
fileType
文件类型 0:图片 1:视频
必填
sourceType
照片来源类型 0:业务前;1:业务后
必填
imgUrl
可以是视频或者图片URL
必填
thumbUrl
附件预览图URL
必填
id
string
内容主键唯一ID
必填
contentDescribe
string
内容执行描述
必填
attachmentListAfter
整改后图片列表字段跟attachmentList里面一样
必填
excuteContentDto
object
审批对象
必填
contentCode
string
内容编号
必填
taskCode
string
任务编号
必填
taskExecuteType
string
任务执行类型 1:临时任务 2:整改任务,0:周期任务
必填
executeResultType
string
执行结果类型 0:无缺陷 1:有缺陷
必填
auditType
object
审批类型:0-通过,1-不通过
必填
changeNode
string
示例:create
必填
measureDecide
object
措施判定 1 同意纠正措施 ,2 重新判定措施
必填
analyticalDecide
object
原因分析判定 1 同意原因分析 , 2需重新调查分析
必填
fileList
array
文件列表
必填
attachmentOrder
附件序号
必填
fileType
文件类型 0:图片 1:视频
必填
sourceType
照片来源类型 0:业务前;1:业务后
必填
imgUrl
可以是视频或者图片URL
必填
thumbUrl
附件预览图URL
必填
businessId
业务ID
必填
taskDescribe
string
任务描述
必填
patrolCycleType
string
巡检周期类型 day-天,week-周,month-月,quarter-季,half_year-半年,year年
必填
isNeedTime
string
是否需要时效 0:需要,1:不需要
必填
circulateRecordList
array
流转记录列表
必填
executeCode
String
执行code
必填
nodeMemberCode
string
节点code
必填
sort
string
序号
必填
nodeType
string
节点类型太多,请找都强
必填
nodeName
string
节点名称,例如:发起,执行
必填
nodeDescribe
string
节点描述,例如:待执行......
必填
userId
string
用户ID
必填
userName
string
用户名称
必填
deptId
string
部门ID
必填
deptName
string
部门名称
必填
postId
string
岗位ID
必填
postName
string
岗位名称
必填
auditType
string
审批类型:0-通过,1-不通过
必填
taskAttachment
object
附件对象
必填
businessId
string
业务ID
必填
fileType
string
文件类型 0:图片 1:视频
必填
imgUrl
string
视频或者图片URL
必填
thumbUrl
string
附件预览图URL
必填
updatedTime
date
更新时间
必填
nodeMemberList
array
任务人员节点列表
必填
nodeMemberCode
string
节点code
必填
taskCode
string
任务code
必填
sort
string
序号
必填
userId
string
用户ID
必填
deptId
string
部门ID
必填
postId
string
岗位ID
必填
nodeType
string
节点类型: create-发起;execute-执行;check-审核;recitify-整改;accept-受理;verify1-验证1;verify2-验证2
必填
businessId
string
人员,部门,岗位组装ID
必填