Files
tms-erp-web/.workbuddy/memory/2026-08-30.md
gxwebsoft 3a08e12c65 fix(project-apply): 隐藏操作栏中的“作废”按钮
- 从操作配置中移除“作废”按钮相关条目
- 保留“作废”接口方法,避免影响现有接口调用
- 仅通过配置修改完成,不涉及组件代码变更
- 确保剩余操作项正常显示且菜单宽度保持不变
2026-08-30 13:27:20 +08:00

9 lines
740 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 2026-08-30
## 项目立项(/business/project-apply)操作栏隐藏「作废」按钮
- 需求:列表操作列不再展示「作废」。
- 实现:删除 `src/option/business/project-apply.js``config.operations``voidProject` 条目(原 status: ['approved','change_approved']permission: project_apply_void)。
- 操作列按钮由 `customOperations(row)``config.operations` 动态渲染,故仅改 option 配置即可,无需动 `project-apply.vue`
- 保留 `src/api/business/project-apply.js``voidProject` 接口方法(未被引用),如需彻底下线可一并删除。
- 遗留:剩余操作项为 提交 / 撤回 / 通过 / 审批驳回 / 变更;`menuWidth` 仍为 200,无需调整。