清道夫 App 在 V21-SOP 原型验证过程中暴露出 5 个影响体验的 UI/交互问题:tab 页面 TopBar 出现多余的返回按钮、任务页发布按钮仍被微信胶囊遮挡、排班页无法新增排班、自定义 tabBar 高亮切换滞后、退出登录无动画且卡顿。本次变更一次性修复这 5 个问题,并严格以后端现有接口为准,缺失接口则在后端补全。
TopBar 默认 showBack 改为 false;仅非 tab 页面显式开启返回按钮。TaskListView 在 TopBar 右侧插槽的按钮布局,确保胶囊安全区计算生效。ScheduleView 中新增排班表单弹窗/页面,调用 /schedule POST 接口;前端车辆下拉调用后端接口,缺失 /vehicle/simple-list 时后端补全该接口。onShow 中显式调用 setData({ selected }) 刷新自定义 tabBar 高亮状态。ProfileView 登出顺序,先 uni.reLaunch 跳转登录页,再处理清理与提示,避免阻塞主线程。schedule-creation: 排班页新增排班功能,包含表单、后端接口调用、原型交互映射。src/components/common/TopBar.vue、src/components/task/TaskListView.vue、src/components/dispatch/ScheduleView.vue、src/custom-tab-bar/index.js、src/components/my/ProfileView.vue、src/api/schedule.ts、src/api/vehicle.ts。VehicleController.java、VehicleService.java(新增 /vehicle/simple-list)。npm run build:mp-weixin 与 npm run type-check 通过。