文档
测试

任务详情查询

POST
/api/programs/projectJoint/task/selectOne

接口描述

列表查询 排序规则:进行中>未开始>已完成>结束时间>开始时间

请求头

参数名
类型
描述
必填
token
string
示例:e3a95a8eba5ae698f54394f7f3a7fb95
必填

请求参数

参数名
类型
描述
必填
college_id
string
示例:61d77baabc27cbc818fcf8bf9bcc57f8
必填
id
string
任务id
必填
getNames
string
是否获取内容名称(子任务、前置任务、验收标准、文件)
可选

响应参数

参数名
类型
描述
必填
flag
int
示例:0
必填
msg
string
示例:success
必填
abid
string
示例:
必填
val
array
数据列表
必填
id
string
任务id
必填
name
string
任务名称
必填
introduction
string
任务描述
必填
no
string
任务编号
必填
level
int
任务层级
必填
parent_id
string
父级任务id
必填
project_id
string
项目id
必填
status
string
任务状态 0未开始 1进行中 2已完成
必填
check_type
string
查看类型 0私有任务 1公开任务
必填
principal_id
string
负责人id
必填
principal_name
string
负责人姓名
必填
phone
string
负责人电话
必填
head_path
string
负责人头像
必填
checker_id
string
验收人id
必填
checker_name
string
验收人姓名
必填
check_status
int
验收状态 0未验收 1验收中 2验收通过 3验收不通过
必填
plan_begin_date
string
计划开始时间
必填
plan_end_date
string
计划结束时间
必填
real_begin_date
string
实际开始时间
必填
real_end_date
string
实际结束时间
必填
c_date
string
创建时间
必填
check_num
int
验收标准总数量
必填
check_completed_num
int
验收标准完成数量
必填
children_num
int
子任务总数量
必填
children_completed_num
int
子任务完成数量
必填
premise_num
int
前置任务总数量
必填
premise_completed_num
int
前置任务完成数量
必填
file_num
int
附件数量
必填
children
array
子任务列表,暂停使用
可选
id
string
id
必填
name
string
任务名称
必填
introduction
string
任务描述
必填
no
string
任务编号
必填
level
string
任务层级
必填
parent_id
string
父级任务id
必填
status
string
任务状态 0未开始 1进行中 2已完成
必填
check_type
string
查看类型 0私有任务 1公开任务
必填
principal_id
string
负责人id
必填
principal_name
string
负责人姓名
必填
checker_id
string
验收人id
必填
check_status
string
验收状态 0未验收 1验收中 2验收通过 3验收不通过
必填
plan_begin_date
string
计划开始时间
必填
plan_end_date
string
计划结束时间
必填
real_begin_date
string
实际开始时间
必填
real_end_date
string
实际结束时间
必填
c_date
string
创建时间
必填
progress_rate
string
任务进度
必填
premiseList
array
前置任务列表,暂停使用
可选
id
string
任务id
必填
name
string
任务名称
必填
introduction
string
任务描述
必填
no
string
任务编号
必填
level
string
任务层级
必填
parent_id
string
父级任务id
必填
status
string
任务状态 0未开始 1进行中 2已完成
必填
check_type
string
查看类型 0私有任务 1公开任务
必填
principal_id
string
负责人id
必填
checker_id
string
验收人id
必填
check_status
string
验收状态 0未验收 1验收中 2验收通过 3验收不通过
必填
plan_begin_date
string
计划开始时间
必填
plan_end_date
string
计划结束时间
必填
real_begin_date
string
实际开始时间
必填
real_end_date
string
实际结束时间
必填
c_date
string
创建时间
必填
progress_rate
string
任务进度
必填
fileList
array
附件列表,暂停使用
可选
id
string
id
必填
file_id
string
附件id
必填
file_url
string
附件地址
必填
file_name
string
附件名称
必填
c_date
string
创建时间
必填
checkList
array
验收标准列表,暂停使用
可选
id
string
验收标准id
必填
task_id
string
任务id
必填
struct_id
string
表单id
必填
struct_name
string
表单名
必填
record_id
string
表格id
必填
status
int
状态 0未开始 1进行中 2验收通过 3验收不通过
必填
c_date
string
创建时间
必填
b_date
string
开始验收时间
必填
e_date
string
完成验收时间
必填
progress_rate
string
进度
必填
children_names
string
getNames=1时返回,子任务列表名称字符串
可选
premise_names
string
getNames=1时返回,前置任务列表名称字符串
可选
file_names
string
getNames=1时返回,文件列表名称字符串
可选
check_names
string
getNames=1时返回,验收标准列表名称字符串
可选
superiorUserType
int
任务与当前用户的上级关系。0:没有上级关系;1:上级任务负责人;99:项目负责人
必填
is_bePremise
int
任务与当前用户是否有被前置。0:没有关系;1:有某个任务的前置任务是该任务
必填
is_template
int
任务是否为项目模板内任务。0:否;1:是
必填