文档
测试

获取巡检任务

POST
http://localhost:30010/api/checkManage/CheckTask/getList

请求头

参数名
类型
描述
必填
jnpf-origin
string
示例:pc
必填
Authorization
string
示例:bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsb2dpblR5cGUiOiJsb2dpbiIsImxvZ2luSWQiOiIzNDkwNTc0MDcyMDk1NDEiLCJyblN0ciI6InBhQ2QwSmdSTkZHd0doSzBXb2RsQkdHVVhoSm5CNU9oIiwidXNlcl9pZCI6IjM0OTA1NzQwNzIwOTU0MSIsInVzZXJfbmFtZSI6ImFkbWluIiwic2luZ2xlTG9naW4iOjIsImV4cCI6MTY5MzQzNDcxNzY3NSwidG9rZW4iOiJsb2dpbl90b2tlbl80NjY1OTI0NzgyMjEzMTc0NDUifQ.-WO_tRNKXnMAKN3wCnQ8xJYWoPo1_2Q24iZr1sQbVT4
必填

请求参数

参数名
类型
描述
必填
flag
int
0全部任务 1今日任务 2查询30天之内
必填
dataType
int
示例:0
必填
pageSize
int
当前页记录数
可选
currentPage
int
当前页
可选

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
msg
string
示例:Success
必填
data
object
响应数据
必填
list
array
数据列表
必填
id
string
巡检任务ID
必填
creatoruserid
string
创建用户ID
必填
creatortime
string
任务创建时间
必填
lastmodifyuserid
object
任务修改用户ID
必填
lastmodifytime
object
修改时间
必填
plancode
string
巡检计划编码
必填
planname
string
巡检计划名称
必填
needuser
int
需求人数
必填
needtime
int
计划用时
必填
realtime
int
实际用时
必填
errormax
int
正偏差
必填
errormin
int
负偏差
必填
checkteam
string
巡检队
必填
code
string
巡检任务编码
必填
status
string
任务执行状态,0未开始 1进行中 2已完成
必填
itemtotals
int
巡检项总数
必填
itemfinisheds
int
巡检项完成时间
必填
itemanomalys
int
巡检想异常数
必填
confirmresult
string
确认结果
必填
confirmuserid
string
确认人id
必填
confirmtime
date
确认时间
必填
confirmmsg
string
确认描述
必填
files
string
文件
必填
taskstarttime
date
任务开始时间
必填
taskendtime
date
任务结束时间
必填
endearly
int
是否提前生成
必填
endearlydesc
string
提前生成描述
必填
creatoruserid_name
string
示例:管理员
必填
creatortime_name
date
示例:2023-08-30 14:54:01
必填
lastmodifyuserid_name
string
示例:
必填
lastmodifytime_name
string
示例:null
必填
plancode_name
string
示例:CP20230830000006
必填
planname_name
string
示例:巡检计划一
必填
needuser_name
int
示例:3
必填
needtime_name
int
示例:50
必填
realtime_name
int
示例:50
必填
errormax_name
int
示例:5
必填
errormin_name
int
示例:5
必填
checkteam_name
string
示例:一期
必填
code_name
string
示例:CT20230830000003
必填
status_name
int
示例:未开始
必填
itemtotals_name
int
示例:2
必填
itemfinisheds_name
int
示例:0
必填
itemanomalys_name
int
示例:0
必填
confirmresult_name
string
示例:null
必填
confirmuserid_name
string
示例:null
必填
confirmtime_name
date
示例:null
必填
confirmmsg_name
string
示例:null
必填
files_name
string
示例:[]
必填
taskstarttime_name
string
示例:2023-08-30 14:52
必填
taskendtime_name
string
示例:2023-08-30 21:53
必填
endearly_name
string
示例:否
必填
endearlydesc_name
string
示例:null
必填
checkTaskItemList
array
巡检项
必填
id
string
巡检项ID
必填
assetstype
string
资产类型
必填
assetscode
string
资产编码
必填
name
string
名称
必填
standard
string
标准
必填
way
string
方法
必填
max
int
最大值
必填
min
int
最小值
必填
value
int
巡检结果值
必填
unit
string
单位
必填
nfccode
string
NFC编码
必填
nfcname
string
NFC名称
必填
nfcdesc
string
NFC描述
必填
nfcscantime
date
NFC扫描时间
必填
result
string
巡检结果
必填
anomalylevel
string
异常等级
必填
anomalyfinished
string
是否已解决
必填
anomalydesc
string
异常描述
必填
images
string
图片
必填
creatortime
date
创建时间
必填
creatoruserid
string
创建用户ID
必填
lastmodifytime
date
修改时间
必填
lastmodifyuserid
string
修改用户ID
必填
sortcode
int
排序码
必填
pagination
object
分页数据
必填
currentPage
int
当前页
必填
pageSize
int
当前页记录数
必填
total
int
总记录数
必填

说明 / 示例

{ "code": 200, "msg": "Success", "data": { "list": [ { "id": "467323306811337157", "flowtaskid": null, "creatoruserid": "349057407209541", "creatortime": "2023-09-01 15:56:00", "source": "1", "assetsinfoid": "463315201182142981", "selectteam": "9E998490-40B2-45EF-A82E-E225BF2109E1", "enabledmark": "1", "question": "1111", "files": "[]", "handleuserid": "", "handletime": null, "handleresult": "", "prevent": "", "images": "[]", "confirmuserid": "", "confirmtime": null, "creatoruserid_name": "管理员", "creatortime_name": "2023-09-01 15:56:00", "source_name": "手动创建", "assetsinfoid_name": "高压配电柜AH01", "selectteam_name": "3A", "enabledmark_name": "是", "question_name": "1111", "files_name": "[]", "handleuserid_name": "", "handletime_name": null, "handleresult_name": "", "prevent_name": "", "images_name": "[]", "confirmuserid_name": "", "confirmtime_name": null, "workEncode": "GD-202309001", "workencode_name": "GD-202309001", "happenDate": "2023-09-01", "happendate_name": null, "pds": "B2 配电室", "pds_name": "B2 配电室", "field02": "", "field02_name": "", "field03": null, "field03_name": null, "field04": null, "field04_name": null } ] }, "pagination": { "currentPage": 1, "pageSize": 20, "total": 25 } }