- PmHub介绍
- 项目管理
- 系统管理
- 流程管理
- 代码生成
- 定时任务
- 认证中心
- 技术派
- 通用文件上传接口POST
- 通用文件下载接口GET
- 通用文件下载接口POST
- 审批设置查询GET
- 审批人审批通过POST
- 本地登录-全局token获取POST
任务列表
POST
project/task/list
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Body 参数application/json
createdBy
string
创建人
executeStatus
integer
必需
executor
string
执行人
pageNum
integer
页码 1
pageSize
integer
页数 10
projectId
string
项目id
stageCode
integer
阶段代码
status
integer
必需
taskName
string
任务名称
taskPriority
integer
必需
taskId
string
任务id
示例
{
"createdBy": "邓新疆",
"executeStatus": 1,
"executor": "邓新疆",
"pageNum": 1,
"pageSize": 10,
"projectId": "abc",
"stageCode": 1,
"status": 1,
"taskName": "sss",
"taskPriority": 1,
"taskId": "www"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:6880/project/task/list' \
--header 'Content-Type: application/json' \
--data-raw '{
"createdBy": "邓新疆",
"executeStatus": 1,
"executor": "邓新疆",
"pageNum": 1,
"pageSize": 10,
"projectId": "abc",
"stageCode": 1,
"status": 1,
"taskName": "sss",
"taskPriority": 1,
"taskId":"www"
}'
返回响应
🟢200成功
application/json
Body
msg
string
必需
code
integer
必需
data
object
必需
endRow
integer
必需
hasNextPage
boolean
必需
hasPreviousPage
boolean
必需
isFirstPage
boolean
必需
isLastPage
boolean
必需
list
array [object {16}]
必需
navigateFirstPage
integer
必需
navigateLastPage
integer
必需
navigatePages
integer
必需
navigatepageNums
array[integer]
必需
nextPage
integer
必需
pageNum
integer
必需
pageSize
integer
必需
pages
integer
页数
prePage
integer
必需
size
integer
必需
startRow
integer
必需
total
integer
总数
示例
{
"msg": "操作成功",
"code": 200,
"data": {
"endRow": 0,
"hasNextPage": false,
"hasPreviousPage": false,
"isFirstPage": true,
"isLastPage": true,
"list": [
{
"taskId": "dddd",
"createdBy": "邓新疆",
"createdTime": "2022-12-19 14:57:40.681",
"executeStatus": 1,
"executeStatusName": "进行中",
"executor": "邓新疆",
"projectId": "abc",
"projectName": "项目",
"stageName": "计划阶段",
"status": 1,
"statusName": "进行中",
"taskName": "sss",
"taskPriority": 1,
"taskPriorityName": "较高",
"taskProcess": 99.66,
"workflowable": {
"approved": "0,1,null",
"definitionId": "111",
"procInsId": "wwww",
"deployId": "eeee",
"taskId": "dddddd"
}
}
],
"navigateFirstPage": 1,
"navigateLastPage": 1,
"navigatePages": 8,
"navigatepageNums": [
1
],
"nextPage": 0,
"pageNum": 1,
"pageSize": 1,
"pages": 1,
"prePage": 0,
"size": 1,
"startRow": 0,
"total": 1
}
}
修改于 2024-03-02 16:00:16