From 4364415bddef97c78cca181dc67708abf354eb2b Mon Sep 17 00:00:00 2001 From: "han\\hanst" Date: Mon, 17 Aug 2026 10:23:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E6=89=93=E6=A0=B7=E8=87=B3NP?= =?UTF-8?q?I=E5=8A=9F=E8=83=BD=E4=B8=8D=E9=9C=80=E8=A6=81=E5=B8=AE?= =?UTF-8?q?=E5=BF=99=E4=B8=8B=E8=BE=BE=E6=89=93=E6=A0=B7=E5=8D=95=EF=BC=8C?= =?UTF-8?q?=E4=BA=BA=E5=B7=A5=E4=B8=8B=E8=BE=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sampleTracking/projectProofTracking.vue | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/views/modules/sampleTracking/projectProofTracking.vue b/src/views/modules/sampleTracking/projectProofTracking.vue index dcfa1a4..2d8f115 100644 --- a/src/views/modules/sampleTracking/projectProofTracking.vue +++ b/src/views/modules/sampleTracking/projectProofTracking.vue @@ -3302,10 +3302,21 @@ export default { pushDate(item.oldActualDate) }) - if (dateList.length === 0) { + if (dateList.length <= 1) { 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) { if (!row || !processCol) {