refactor(plan): 提取计划书查看规则为统一工具函数
消除 plan/index.vue 与 message-detail/index.vue 之间重复的 order_status 映射和可查看判断逻辑,新增 proposalView 工具模块 统一管理 canViewProposal / getProposalFiles 等规则,同时支持 "处理中但已有文件"的业务场景。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Showing
8 changed files
with
163 additions
and
149 deletions
src/utils/__tests__/proposalView.test.js
0 → 100644
src/utils/proposalView.js
0 → 100644
-
Please register or login to post a comment