文档
测试

获取筛选条件

POST
http://IP:17201/work/task/getFilterConditions

接口描述

获取筛选条件

请求参数

参数名
类型
描述
必填
filterType
String
条件类型,task 任务筛选条件,node 节点筛选条件
必填

响应参数

参数名
类型
描述
必填
code
int
示例:10000
必填
message
string
示例:
必填
data
array
数据列表
必填
detail
array
数据列表
必填
text
string
示例:仅显示主任务
必填
value
string
示例:1
必填
filterCode
string
示例:default
必填
filterName
string
示例:默认
必填

说明 / 示例

{ "code":10000, "data":[ { "detail":[ { "text":"仅显示主任务", "value":"1" } ], "filterCode":"default", "filterName":"默认" }, { "detail":[ { "text":"未开始", "value":"1" }, { "text":"进行中", "value":"2" }, { "text":"已逾期", "value":"3" }, { "text":"已完成", "value":"4" } ], "filterCode":"status", "filterName":"状态" }, { "detail":[ { "text":"新任务", "value":"new" }, { "text":"本周到期", "value":"week" }, { "text":"本月到期", "value":"month" } ], "filterCode":"date", "filterName":"时间" }, { "detail":[ { "text":"我执行的", "value":"te" }, { "text":"我负责的", "value":"pic" }, { "text":"我发起的", "value":"create" } ], "filterCode":"role", "filterName":"角色" }, { "detail":[ { "text":"项目任务", "value":"isPorject" } ], "filterCode":"tag", "filterName":"标签" } ], "message":"" }