|
|
|
|
@ -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 |
|
|
|
|
} |
|
|
|
|
|