|
|
@ -3302,10 +3302,21 @@ export default { |
|
|
pushDate(item.oldActualDate) |
|
|
pushDate(item.oldActualDate) |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
if (dateList.length === 0) { |
|
|
|
|
|
|
|
|
if (dateList.length <= 1) { |
|
|
return '' |
|
|
return '' |
|
|
} |
|
|
} |
|
|
return dateList.join('\n') |
|
|
|
|
|
|
|
|
// tooltip 只展示历史日期,不展示最近一次日期(当前值)以避免重复。 |
|
|
|
|
|
const latestDate = dateList.reduce((max, currentDate) => { |
|
|
|
|
|
if (!max || currentDate > max) { |
|
|
|
|
|
return currentDate |
|
|
|
|
|
} |
|
|
|
|
|
return max |
|
|
|
|
|
}, '') |
|
|
|
|
|
const historyDateList = dateList.filter(item => item !== latestDate) |
|
|
|
|
|
if (historyDateList.length === 0) { |
|
|
|
|
|
return '' |
|
|
|
|
|
} |
|
|
|
|
|
return historyDateList.join('\n') |
|
|
}, |
|
|
}, |
|
|
isProcessComplete (row, processCol) { |
|
|
isProcessComplete (row, processCol) { |
|
|
if (!row || !processCol) { |
|
|
if (!row || !processCol) { |
|
|
|