fix:工单样式兼容移动端
Build and Deploy Vue3 / build (push) Successful in 1m12s
Build and Deploy Vue3 / deploy (push) Successful in 1m19s

This commit is contained in:
2026-01-23 14:24:29 +08:00
parent 5b5e0f62ec
commit ead7c5bba5
6 changed files with 1094 additions and 59 deletions
+1 -10
View File
@@ -1,16 +1,6 @@
✅已完成、⚠️部分完成、❌未完成这样显示
-----------------------------------------------------------------------------------------------需要解决
1.点击仪表盘的最近工单中的其中一项跳转到工单详情需要请求对应接口数据进行赋值/api/v1/admin/work_order/detail这个接口,传递work_id参数,在src/api/ticket.js文件下的getTicketDetail函数
### TODO List
- [x] ✅ TicketDetail.vue兼容work_id参数(原来只支持id参数)
- [x] ✅ fetchTicketDetail函数使用 route.query.id || route.query.work_id
- [x] ✅ sendMessage函数使用 route.query.id || route.query.work_id
- [x] ✅ handleStatusChange函数使用 route.query.id || route.query.work_id
- [x] ✅ handleComplete函数使用 route.query.id || route.query.work_id
- [x] ✅ 定时刷新和watch监听兼容work_id参数
-----------------------------------------------------------------------------------------------需要解决
规则限制:
@@ -23,6 +13,7 @@
- 提交时转换为秒级时间戳
4.后续每次写的页面,组件都需要兼容移动端
5.只要是关于选择用户,文件,优惠卷,代金卷的都使用组件
6.只要是弹窗需要使用选择组件的都参照用户列表的编辑用户的推介人的选择样式在弹窗中