Repository navigation
fix(frontend): 区分差账工单流程并保留暂时故障时的会话 - #39
Merged
Merged
Conversation
…ry-refresh-availability Signed-off-by: Emrys <219520811+Emryswu@users.noreply.github.com> # Conflicts: # frontend/app/lib/types.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
差账工单按分类走管理员直接处理流程:已提交时显示「开始处理」,支持解决、关闭、重开和取消,不再出现维修员派单;状态请求只带 targetStatus,与后端 WorkOrderService 的流转规则一致。
差账工单已提交时显示「待处理」,管理员说明补充「差账单由管理员直接处理」。
refresh 仅在 204(无 refresh cookie)和 401(token 无效)时清除会话,403、502 等暂时故障保留登录;同步更新 page.tsx 中会话结束路径的注释。
新增差账工单流转和 refresh 各状态码的回归用例,修复前失败、修复后通过。
验证:lint、类型检查、npm test(97 项,含生产构建)。