token: ********************
{
"plan_id": 1, // 施工计划id
"project_id": 1, // 项目id
"start_date": 1740758400, // 实际开始日期
"end_date": 1742745600, // 实际完成日期
"status": 1, // 计划执行状态: 1=按计划施工,2=滞后,3=提前完成,4=按期完成,5=逾期完成
"workload": 310, // 填报工作量
"execution": "计划执行情况2222222", // 计划执行情况
"measures": "情况措施说明", // 情况措施说明
"reporter_id": 3, // 填报人id
"reporter_group_id": 8, // 填报部门id
"report_date": 1742745600, // 填报日期
"file_list": [
{
"name": "一个附件", // 附件名称
"md5": null, //
"origin_name": "一个附件.pdf", // 源文件名
"path": "contract/aabbcc.pdf", // 云端存储路径
"ext": "pdf", // 文件后缀
"size": 2345, // 文件大小,单位为B
"duration": null, //
"width": null, //
"height": null, //
}
]
}
curl --location --request PUT 'http://cmi-api.gleg.site/api/construction-plan-reports/2' \
--header 'Content-Type: application/json' \
--header 'token;' \
--data-raw '{
"plan_id": 1, // 施工计划id
"project_id": 1, // 项目id
"start_date": 1740758400, // 实际开始日期
"end_date": 1742745600, // 实际完成日期
"status": 1, // 计划执行状态: 1=按计划施工,2=滞后,3=提前完成,4=按期完成,5=逾期完成
"workload": 310, // 填报工作量
"execution": "计划执行情况2222222", // 计划执行情况
"measures": "情况措施说明", // 情况措施说明
"reporter_id": 3, // 填报人id
"reporter_group_id": 8, // 填报部门id
"report_date": 1742745600, // 填报日期
"file_list": [
{
"name": "一个附件", // 附件名称
"md5": null, //
"origin_name": "一个附件.pdf", // 源文件名
"path": "contract/aabbcc.pdf", // 云端存储路径
"ext": "pdf", // 文件后缀
"size": 2345, // 文件大小,单位为B
"duration": null, //
"width": null, //
"height": null, //
}
]
}'
{
"code": 0,
"msg": "string",
"data": [
{
"id": 0,
"company_id": 0,
"plan_id": 0,
"project_id": 0,
"project_name": "string",
"project_code": "string",
"start_date": 0,
"end_date": 0,
"status": 0,
"execution": null,
"measures": null,
"reporter_id": 0,
"reporter_group_id": 0,
"report_date": 0,
"created_at": "string",
"created_by": 0,
"updated_at": "string",
"updated_by": 0,
"deleted_at": null,
"deleted_by": null
}
]
}