接单工单新增流转记录(订单详情时间线)

- 后端:新增工单事件查询接口(管理端 + 打手端),事件带操作人显示名(管理员用户名 / 打手昵称 / 系统)
- 补齐关键节点事件:抢单接手(grabbed)、验收通过(accepted 带操作人)
- 管理端/打手端事件写入操作人(admin session username 贯通至事件)
- 前端:订单详情新增「流转记录」时间线,按订单生命周期节点展示(创建/发单/接手/资料/验收/问题/取消),时间+操作人+状态流转
This commit is contained in:
yml2213
2026-08-16 19:25:20 +08:00
parent 81ae04dae0
commit 950c4fd578
13 changed files with 699 additions and 92 deletions
+34
View File
@@ -168,6 +168,40 @@
gap: 16px;
}
/* ===== 工单流转记录时间线 ===== */
.work-order-event-timeline {
margin-top: 4px;
}
.work-order-event-item {
display: grid;
gap: 4px;
}
.work-order-event-head {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 12px;
}
.work-order-event-head .ant-typography {
margin: 0;
}
.work-order-event-time {
font-size: 12px;
white-space: nowrap;
}
.work-order-event-actor .ant-tag {
margin-inline-end: 0;
}
.work-order-event-desc {
font-size: 12px;
}
.worker-order-actions {
display: grid;
justify-items: start;