root
|
5c582b092e
|
fix: 修复审批弹框按钮不显示的问题
- 使用 actions 属性自定义弹框按钮
- 添加按钮点击事件的日志
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-02-26 00:39:03 +08:00 |
|
root
|
2a5c335cdd
|
debug: 增加审批弹框的调试日志
- 添加按钮点击和API调用的日志
- 添加弹框关闭的日志
- 添加 closeOnMaskClick 和 closeOnAction 配置
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-02-26 00:37:09 +08:00 |
|
root
|
ba919d2cdc
|
debug: 增加更详细的调试日志来排查审批按钮不显示问题
- 添加类型检查日志(userId、approvers类型)
- 添加多种匹配方式尝试
- 显示操作按钮状态
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-02-26 00:24:48 +08:00 |
|
root
|
a5a148d57e
|
style: 审批流程样式优化
- 审批人标签:蓝色 (#1890ff)
- 抄送人标签:橙色 (#faad14)
- 已审批:绿色对号 ✓
- 待审批:蓝色时钟图标 ⏱ + 脉动动画
- 未开始:灰色序号
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-02-26 00:21:45 +08:00 |
|
root
|
76c6e93e36
|
feat: 审批流程改为时间轴样式,增加审批人/抄送人标识
- 审批流程使用时间轴样式显示
- 增加"审批人"和"抄送人"标签
- 已审批节点显示审批人姓名和审批时间
- 未审批节点显示节点名称(人名)
- 当前审批节点高亮显示
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-02-26 00:19:37 +08:00 |
|
root
|
be5dea1d24
|
fix: 将审批节点名称改为直接显示人名
- 数据库:将节点名称从"经理审批"、"主管审批"等改为直接显示人名
- 前端:未审批时显示节点名称(人名),而非"待审批"
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-02-26 00:16:55 +08:00 |
|
root
|
349b6c9fe3
|
fix: 审批流程节点只显示人名,不显示职务前缀
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-02-26 00:16:14 +08:00 |
|
root
|
dad47d8df5
|
fix: 修复审批详情页多余的闭合标签导致白屏
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-02-26 00:15:29 +08:00 |
|
root
|
4c48b01144
|
fix: 修改审批流程显示格式为"审批人-姓名"或"抄送人-姓名"
- 添加 getNodeApproversNames 函数获取审批人姓名
- 添加 getNodeDisplayName 函数生成节点显示名称
- 更新审批流程和当前审批的显示逻辑
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-02-26 00:14:11 +08:00 |
|
root
|
09ccc05b83
|
fix: 审批详情页表单字段标签显示中文
- 添加表单字段映射表(formFieldLabelMap)
- 将英文key(如reason)翻译成中文标签(如"出差事由")
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-02-26 00:06:19 +08:00 |
|
root
|
71a9ec2eda
|
fix: 修复审批详情页审批按钮不显示的问题
- 在 ApprovalRecord 接口中添加 node_id 和 approver_id 字段
- 添加调试日志帮助排查问题
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-02-26 00:05:43 +08:00 |
|
root
|
04953b22dc
|
feat: 完善审批功能
- 新增通用审批列表页面(我发起的/待我审批/我已审批)
- 新增通用审批详情页面(支持审批通过/拒绝操作)
- 修复审批列表过滤逻辑("我已审批"只显示已完成订单)
- 修复登录页面未设置 Zustand store 的问题
- 修复 User 类型定义(id 改为 number 类型)
- 修复草稿恢复时的日期转换问题
- 创建测试数据脚本(test_data.php)
- 安装 webman 官方依赖包(database, redis, pagination 等)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-02-25 23:54:38 +08:00 |
|