feat(drone-dock): 接通任务召唤与状态页并固定拍摄布局
接入 plane-status、tasks/create、shoot 与 shooting,保持同一任务 ID 串接、重复提交保护和只读单次刷新。拍摄任务页固定顶部参数与底部安全控制,中间状态区域适配小屏且不滚动;同步接口记录、脱敏响应及相关测试。
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"order_flight_task": {
|
||||
"id": 6,
|
||||
"order_id": 0,
|
||||
"order_number": "TEST-ORDER-004",
|
||||
"scenic_id": 271,
|
||||
"store_id": 38,
|
||||
"store_user_id": 51,
|
||||
"scenic_spot_id": 412,
|
||||
"air_line_id": 302,
|
||||
"plane_id": 61,
|
||||
"airport_sn": "TEST-PLANE-61",
|
||||
"wayline_task_id": 1926,
|
||||
"task_uuid": "00000000-0000-4000-8000-000000001926",
|
||||
"seq": 6,
|
||||
"spot_attempt": 6,
|
||||
"status": 20,
|
||||
"status_label": "执行中",
|
||||
"result_code": "",
|
||||
"result_message": "",
|
||||
"deducted": 0,
|
||||
"started_at": "2026-10-29 16:03:30",
|
||||
"finished_at": null,
|
||||
"medias": []
|
||||
},
|
||||
"order_progress": {
|
||||
"order_number": "TEST-ORDER-004",
|
||||
"package_name": "单次航拍 · 含 1 次拍摄",
|
||||
"shot_total": 1,
|
||||
"shot_used": 0,
|
||||
"shot_remain": 1,
|
||||
"status_label": "待拍摄"
|
||||
},
|
||||
"task_id": 1926,
|
||||
"task_uuid": "00000000-0000-4000-8000-000000001926",
|
||||
"plane_id": 61,
|
||||
"airport_sn": "TEST-PLANE-61",
|
||||
"air_line_id": 302,
|
||||
"air_line_name": "天门寻梦",
|
||||
"ui": {
|
||||
"phase": "arrived_pending_start",
|
||||
"title": "无人机已到达",
|
||||
"message": "是否开始拍摄?确认游客站位与取景后开始",
|
||||
"primary_action": "start_shoot",
|
||||
"commands": [
|
||||
{
|
||||
"command": "flighttask_pause",
|
||||
"label": "紧急暂停",
|
||||
"sub": "悬停待命"
|
||||
},
|
||||
{
|
||||
"command": "return_home",
|
||||
"label": "立即返航",
|
||||
"sub": "中断任务"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"time": "2026-10-29 16:03:31"
|
||||
}
|
||||
Reference in New Issue
Block a user