feat(drone-dock): 接入已购套餐快照并固定首页无人机占位
准备页改用 project-info 购买快照,校验订单与项目身份,并按可用性选择已购点位和航线。首页在加载、空数据及失败时保留等高无人机卡片。同步相关测试与接口联调记录、响应和截图。 验证:iPhone 18 Pro 模拟器上 81 项相关测试通过。
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 37 KiB |
@@ -0,0 +1,108 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"data": {
|
||||
"airports": [
|
||||
{
|
||||
"id": 61,
|
||||
"is_receive_order": 1,
|
||||
"metrics": [
|
||||
{
|
||||
"key": "battery",
|
||||
"label": "电池电量",
|
||||
"raw": null,
|
||||
"value": "—"
|
||||
},
|
||||
{
|
||||
"key": "env_temp",
|
||||
"label": "环境温度",
|
||||
"raw": null,
|
||||
"value": "—"
|
||||
},
|
||||
{
|
||||
"key": "wind_speed",
|
||||
"label": "风速",
|
||||
"raw": null,
|
||||
"value": "—"
|
||||
},
|
||||
{
|
||||
"key": "rainfall",
|
||||
"label": "雨量",
|
||||
"raw": null,
|
||||
"value": "—"
|
||||
},
|
||||
{
|
||||
"key": "signal",
|
||||
"label": "信号状态",
|
||||
"raw": null,
|
||||
"value": "—"
|
||||
},
|
||||
{
|
||||
"key": "satellite",
|
||||
"label": "搜星状态",
|
||||
"raw": null,
|
||||
"value": "—"
|
||||
}
|
||||
],
|
||||
"name": "河南嵩山",
|
||||
"online_status": 2,
|
||||
"scenic_area_id": 271,
|
||||
"sn_number": "8UUXN4200A04GF",
|
||||
"task_type": null,
|
||||
"work_status": 0,
|
||||
"work_status_label": "离线"
|
||||
},
|
||||
{
|
||||
"id": 57,
|
||||
"is_receive_order": 2,
|
||||
"metrics": [
|
||||
{
|
||||
"key": "battery",
|
||||
"label": "电池电量",
|
||||
"raw": null,
|
||||
"value": "—"
|
||||
},
|
||||
{
|
||||
"key": "env_temp",
|
||||
"label": "环境温度",
|
||||
"raw": null,
|
||||
"value": "—"
|
||||
},
|
||||
{
|
||||
"key": "wind_speed",
|
||||
"label": "风速",
|
||||
"raw": null,
|
||||
"value": "—"
|
||||
},
|
||||
{
|
||||
"key": "rainfall",
|
||||
"label": "雨量",
|
||||
"raw": null,
|
||||
"value": "—"
|
||||
},
|
||||
{
|
||||
"key": "signal",
|
||||
"label": "信号状态",
|
||||
"raw": null,
|
||||
"value": "—"
|
||||
},
|
||||
{
|
||||
"key": "satellite",
|
||||
"label": "搜星状态",
|
||||
"raw": null,
|
||||
"value": "—"
|
||||
}
|
||||
],
|
||||
"name": "那拉提M4D",
|
||||
"online_status": 2,
|
||||
"scenic_area_id": 271,
|
||||
"sn_number": "8UUXN4200A04GC",
|
||||
"task_type": null,
|
||||
"work_status": 0,
|
||||
"work_status_label": "离线"
|
||||
}
|
||||
],
|
||||
"scenic_id": 271
|
||||
},
|
||||
"msg": "success",
|
||||
"time": "2026-10-28 15:51:40"
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 36 KiB |
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"data": {
|
||||
"list": [
|
||||
{
|
||||
"can_confirm": false,
|
||||
"can_create_task": true,
|
||||
"can_upload_film": false,
|
||||
"confirm_status": 0,
|
||||
"confirmed_at": null,
|
||||
"created_at": "2026-10-27 17:39:10",
|
||||
"film_count": 0,
|
||||
"material_status": 0,
|
||||
"order_number": "261027271004",
|
||||
"order_status": 20,
|
||||
"project_id": 386,
|
||||
"project_name": "多点位航拍",
|
||||
"remaining_count": 5,
|
||||
"shoot_count": 5,
|
||||
"shoot_status": "pending",
|
||||
"shot_count": 0,
|
||||
"user_phone": "132****9413"
|
||||
},
|
||||
{
|
||||
"can_confirm": false,
|
||||
"can_create_task": true,
|
||||
"can_upload_film": false,
|
||||
"confirm_status": 0,
|
||||
"confirmed_at": null,
|
||||
"created_at": "2026-10-27 17:16:18",
|
||||
"film_count": 0,
|
||||
"material_status": 0,
|
||||
"order_number": "261027271001",
|
||||
"order_status": 20,
|
||||
"project_id": 386,
|
||||
"project_name": "多点位航拍",
|
||||
"remaining_count": 5,
|
||||
"shoot_count": 5,
|
||||
"shoot_status": "pending",
|
||||
"shot_count": 0,
|
||||
"user_phone": "183****5710"
|
||||
}
|
||||
],
|
||||
"page": 1,
|
||||
"page_size": 20,
|
||||
"total": 2
|
||||
},
|
||||
"msg": "success",
|
||||
"time": "2026-10-28 15:51:40"
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"data": {
|
||||
"cash_paid": "0.00",
|
||||
"cash_refund": "0.00",
|
||||
"completed_count": 0,
|
||||
"deal_amount": "0.00",
|
||||
"deal_count": 0,
|
||||
"points_net": 0,
|
||||
"points_paid": 0,
|
||||
"points_refund": 0
|
||||
},
|
||||
"msg": "success",
|
||||
"time": "2026-10-28 15:51:40"
|
||||
}
|
||||
Reference in New Issue
Block a user