简要描述:
- 项目管理-进度列表
请求域名:
- https://dev8.yunzmall.com/business/1/
请求URL:
POST/plugin/project-manager/developmentProgress/list
请求示例:
请求示例:
{
"task_id":"206",
"task_name":"你好",
"status" : 10,
"time_type":0,
"start_time":0,
"end_time" :0,
"principal":"xxxx"
}
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
task_id | 否 | int | 任务id |
task_name | 否 | string | 任务名称 |
status | 否 | int | 任务状态 |
time_type | 否 | int | 时间类型,0不搜索,1开始时间,2联调时间,3提测时间,4交付时间,5实际交付时间,6实际联调时间,7测试时间 |
start_time | 否 | int | 搜索开始时间 |
end_time | 否 | int | 搜索结束时间 |
principal | 否 | int | 负责人 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"current_page": 1,
"data": [
{
"id": 206, //任务id
"name": "你好", //任务名称
"status": 10, //任务状态
"project_id": 18, //项目id
"staff_uid": 222, //负责人id
"start_time": null, //开始时间,
"has_one_task_project": {
"id": 1,
"uniacid": 25,
"business_id": 11,
"task_id": 206,
"joint_debugging_start_time": 2147483647, //联调开始时间
"joint_debugging_end_time": 0, //联调结束时间
"reality_joint_debugging_start_time": 2147483647, //实际联调开始时间
"reality_joint_debugging_end_time": 7777,//实际结束时间
"testing_time": 0, //提测时间
"test_start_time": 0, //测试开始时间
"test_end_time": 2147483647, //测试结束时间
"deliver_time": 123456, //交付时间
"reality_deliver_time": 9999, //实际交付时间
"signing_day": null, //签约工作日
"estimate_day": null, //预估工作日
"reality_day": null, 实际工作日
"reality_joint_debugging_schedule": null, //联调进度
"sale_score": null, //销售评分
"remark": null, //备注
"created_at": "1970-01-10 08:02:57",
"updated_at": "2023-08-23 16:29:04",
"deleted_at": null
},
"has_one_staff": {
"id": 222,
"avatar": "https://wework.qpic.cn/wwpic/717887_NC43KLzyQqGFi1p_1656380347/0", //头像
"name": "谢梓杰", 负责人姓名
"userid": null,
"avatar_mediaid": "https://wework.qpic.cn/wwpic/717887_NC43KLzyQqGFi1p_1656380347/0" //头像
}
"plan": {
"ui": [ //uid
{
"id": 8, //计划id
"task_id": 206, //任务id
"type": 2, //计划类型
"schedule": 10, //进度
"type_name": "ui", //计划类型名称
"has_one_staff": {
"id": 222,
"avatar": "https://wework.qpic.cn/wwpic/717887_NC43KLzyQqGFi1p_1656380347/0", //头像
"name": "谢梓杰", 负责人姓名
"avatar_mediaid": "https://wework.qpic.cn/wwpic/717887_NC43KLzyQqGFi1p_1656380347/0" //头像
}
}
],
"backend": [ //后端
{
"id": 9,
"task_id": 206,
"type": 3,
"schedule": 20,
"type_name": "后端"
"has_one_staff": {
"id": 222,
"avatar": "https://wework.qpic.cn/wwpic/717887_NC43KLzyQqGFi1p_1656380347/0", //头像
"name": "谢梓杰", 负责人姓名
"avatar_mediaid": "https://wework.qpic.cn/wwpic/717887_NC43KLzyQqGFi1p_1656380347/0" //头像
}
}
},
{
"id": 9,
"task_id": 206,
"type": 3,
"schedule": 20,
"type_name": "后端",
"has_one_staff": {
"id": 222,
"avatar": "https://wework.qpic.cn/wwpic/717887_NC43KLzyQqGFi1p_1656380347/0", //头像
"name": "谢梓杰", 负责人姓名
"avatar_mediaid": "https://wework.qpic.cn/wwpic/717887_NC43KLzyQqGFi1p_1656380347/0" //头像
}
}
}
],
"prototype": [ //原型
{
"id": 9,
"task_id": 206,
"type": 1,
"schedule": 20,
"type_name": "原型"
"has_one_staff": {
"id": 222,
"avatar": "https://wework.qpic.cn/wwpic/717887_NC43KLzyQqGFi1p_1656380347/0", //头像
"name": "谢梓杰", 负责人姓名
"avatar_mediaid": "https://wework.qpic.cn/wwpic/717887_NC43KLzyQqGFi1p_1656380347/0" //头像
}
}
}
],
"frontend": [ //前端
{
"id": 9,
"task_id": 206,
"type": 4,
"schedule": 20,
"type_name": "前端",
"has_one_staff": {
"id": 222,
"avatar": "https://wework.qpic.cn/wwpic/717887_NC43KLzyQqGFi1p_1656380347/0", //头像
"name": "谢梓杰", 负责人姓名
"avatar_mediaid": "https://wework.qpic.cn/wwpic/717887_NC43KLzyQqGFi1p_1656380347/0" //头像
}
}
}
],
"test": [
{
"id": 9,
"task_id": 206,
"type": 5,
"schedule": 20,
"type_name": "测试",
"has_one_staff": {
"id": 222,
"avatar": "https://wework.qpic.cn/wwpic/717887_NC43KLzyQqGFi1p_1656380347/0", //头像
"name": "谢梓杰", 负责人姓名
"avatar_mediaid": "https://wework.qpic.cn/wwpic/717887_NC43KLzyQqGFi1p_1656380347/0" //头像
}
}
}
]
}
}
],
"first_page_url": "https://dev15.yunzmall.com/business/25/plugin/project-manager/developmentProgress/list?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "https://dev15.yunzmall.com/business/25/plugin/project-manager/developmentProgress/list?page=1",
"next_page_url": null,
"path": "https://dev15.yunzmall.com/business/25/plugin/project-manager/developmentProgress/list",
"per_page": 15,
"prev_page_url": null,
"to": 1,
"total": 1
}
}
错误时返回:
{
"result": 0,
"msg": "",
"data": []
}