|
|
|
|
@ -372,10 +372,16 @@ export default { |
|
|
|
|
const flows = [] |
|
|
|
|
|
|
|
|
|
flow.forEach(f => { |
|
|
|
|
const { assigneeName, createTime, endTime, comments } = f |
|
|
|
|
let { assigneeName, createTime, endTime, comments } = f |
|
|
|
|
|
|
|
|
|
if ((/Safari/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent))) { // safari
|
|
|
|
|
createTime = createTime.replace(/-/g, '/') |
|
|
|
|
endTime = endTime.replace(/-/g, '/') |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const ff = { |
|
|
|
|
id: f.historyActivityId, |
|
|
|
|
class: (!endTime && f.historyActivityType != 'candidate') ? 'nodePrimary': '' |
|
|
|
|
class: (!endTime && f.historyActivityType != 'candidate') ? 'nodePrimary' : '' |
|
|
|
|
} |
|
|
|
|
let tooltip = '' |
|
|
|
|
if (assigneeName) { |
|
|
|
|
|