fix: 审核添加附件时导致流程图显示评论错误的问题

saber
ssc 4 years ago
parent bd3023927d
commit fa52600a03
  1. 4
      src/views/plugin/workflow/mixins/ex-form.js

@ -385,7 +385,7 @@ export default {
if (comments && comments.length > 0) {
let comment
let { type, fullMessage } = comments[0]
let { type, fullMessage } = comments.find(c => c.action == 'AddComment') || {}
if (type == 'assigneeComment') {
comment = '变更审核人:' + fullMessage
@ -427,7 +427,7 @@ export default {
comment = '审批:' + fullMessage
ff.class = 'nodeSuccess'
}
tooltip += `<span title='${comment}'>${comment}</span>`
if (comment) tooltip += `<span title='${comment}'>${comment}</span>`
}
ff.tooltip = tooltip
}

Loading…
Cancel
Save