Files
suixinkan_uikit/docs/9.9.1/shooting-integration-2026-10-29/shooting-success-redacted.json
T
lujiuyin 1173207756 feat(drone-dock): 接通任务召唤与状态页并固定拍摄布局
接入 plane-status、tasks/create、shoot 与 shooting,保持同一任务 ID 串接、重复提交保护和只读单次刷新。拍摄任务页固定顶部参数与底部安全控制,中间状态区域适配小屏且不滚动;同步接口记录、脱敏响应及相关测试。
2026-10-29 17:06:49 +08:00

219 lines
5.4 KiB
JSON

{
"code": 100000,
"data": {
"air_line": {
"estimated_fly_time": 376,
"fly_type": 1,
"id": 302,
"line_video_duration": 25,
"name": "天门寻梦",
"scenic_spot_id": 412
},
"airport_sn": "",
"airport_status": {
"sn": "TEST-PLANE-58",
"status": 1,
"task_type": null,
"work_status_label": "空闲"
},
"current_plane": {
"battery_label": "电量 93%",
"battery_percent": 93,
"can_fly": true,
"id": 58,
"is_receive_order": 1,
"name": "测试设备 58",
"online_status": 1,
"sn_number": "TEST-PLANE-58",
"status_text": "空闲 · 电量 93%",
"task_type": null,
"work_status": 1,
"work_status_label": "空闲"
},
"execute_gate": {
"can_execute": false,
"code": "wayline_missing",
"message": "航线任务未关联,请先完成召唤起飞",
"primary_action": "blocked",
"primary_action_label": "航线任务未关联,请先完成召唤起飞"
},
"header": {
"order_number": "TEST-ORDER-004",
"package_name": "单次航拍 · 含 1 次拍摄",
"shot_remain": 1,
"shot_total": 1,
"title": "天门寻梦 · 天门寻梦",
"tourist_label": "游客 130****0004",
"tourist_phone_mask": "130****0004"
},
"metrics": [
{
"key": "battery",
"label": "电池电量",
"raw": 93,
"value": "93%"
},
{
"key": "env_temp",
"label": "环境温度",
"raw": null,
"value": "—"
},
{
"key": "wind_speed",
"label": "风速",
"raw": 0,
"value": "0m/s"
},
{
"key": "rainfall",
"label": "雨量",
"raw": null,
"value": "—"
},
{
"key": "signal",
"label": "信号状态",
"raw": null,
"value": "—"
},
{
"key": "satellite",
"label": "搜星状态",
"raw": 32,
"value": "32颗"
}
],
"order_flight_task": {
"air_line_id": 302,
"airport_sn": "",
"deducted": 0,
"finished_at": null,
"id": 1,
"medias": [],
"order_id": 0,
"order_number": "TEST-ORDER-004",
"plane_id": 0,
"result_code": "",
"result_message": "",
"scenic_id": 271,
"scenic_spot_id": 412,
"seq": 1,
"spot_attempt": 1,
"started_at": null,
"status": 10,
"status_label": "待执行",
"store_id": 38,
"store_user_id": 51,
"task_uuid": "",
"wayline_task_id": 0
},
"order_type": 25,
"order_type_label": "多点位航拍",
"plane_id": 0,
"plane_status": {
"connected": true,
"has_idle": true,
"has_shooting": false,
"planes": [
{
"battery_label": "",
"battery_percent": null,
"can_fly": true,
"id": 58,
"is_receive_order": 1,
"name": "测试设备 58",
"online_status": 1,
"sn_number": "TEST-PLANE-58",
"status_text": "空闲",
"task_type": null,
"work_status": 1,
"work_status_label": "空闲"
},
{
"battery_label": "",
"battery_percent": null,
"can_fly": false,
"id": 61,
"is_receive_order": 1,
"name": "测试设备 61",
"online_status": 2,
"sn_number": "TEST-PLANE-61",
"status_text": "离线",
"task_type": null,
"work_status": 0,
"work_status_label": "离线"
},
{
"battery_label": "",
"battery_percent": null,
"can_fly": false,
"id": 57,
"is_receive_order": 2,
"name": "测试设备 57",
"online_status": 2,
"sn_number": "TEST-PLANE-57",
"status_text": "离线",
"task_type": null,
"work_status": 0,
"work_status_label": "离线"
}
],
"poll_hint_ms": 5000,
"recommend": {
"battery_label": "电量 93%",
"battery_percent": 93,
"can_fly": true,
"id": 58,
"is_receive_order": 1,
"name": "测试设备 58",
"online_status": 1,
"sn_number": "TEST-PLANE-58",
"status_text": "空闲 · 电量 93%",
"task_type": null,
"work_status": 1,
"work_status_label": "空闲"
},
"scenic_id": 271
},
"scenic": {
"id": 271,
"name": "北大科技园"
},
"scenic_spot": {
"id": 412,
"name": "天门寻梦"
},
"task": {
"id": 1,
"status": 10,
"status_label": "待执行",
"task_uuid": "",
"wayline_status": 0,
"wayline_status_label": "",
"wayline_task_id": 0
},
"ui": {
"commands": [
{
"command": "flighttask_pause",
"label": "紧急暂停",
"sub": "悬停待命"
},
{
"command": "return_home",
"label": "立即返航",
"sub": "中断任务"
}
],
"message": "航线任务未关联,请先完成召唤起飞",
"phase": "blocked",
"primary_action": "blocked",
"primary_action_label": "航线任务未关联,请先完成召唤起飞",
"title": "航线任务未关联,请先完成召唤起飞"
}
},
"msg": "success",
"time": "2026-10-29 15:07:25"
}