fixed: 操作日志显示不正确替换

This commit is contained in:
yystopf 2025-07-30 15:07:53 +08:00
parent 5a386910c6
commit 139773c466
1 changed files with 6 additions and 4 deletions

View File

@ -368,13 +368,15 @@ class Journal < ApplicationRecord
end
case self.issue.pm_issue_type.to_i
when 1
content.gsub!('关闭', '实现中')
content.gsub!('拒绝', '测试中')
content.gsub!('新增', '待评审')
content.gsub!('待实现', '已发版')
content.gsub!('实现中', '已关闭')
content.gsub!('已解决', '待实现')
content.gsub!('新增', '待评审')
content.gsub!('正在解决', '已拒绝')
content.gsub!('已解决', '待实现')
content.gsub!('关闭', '实现中')
content.gsub!("已实现中", '已关闭')
content.gsub!('拒绝', '测试中')
content.gsub!("已测试中", '已拒绝')
when 2
content.gsub!('新增', '待处理')
content.gsub!('正在解决', '进行中')