From f0eae580ca96ed40f87821c6e82590020292152f Mon Sep 17 00:00:00 2001 From: Euni4U <958079825@qq.com> Date: Thu, 2 Jan 2025 13:43:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=A0=B7=E5=BC=8F=E4=BB=A5?= =?UTF-8?q?=E5=8F=8A=E4=BF=AE=E6=94=B9BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ECG/ECGModify/ECGApplyforRepair.vue | 4 +++- src/views/ECG/ECGWaring/ECGReport.vue | 14 +++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/views/ECG/ECGModify/ECGApplyforRepair.vue b/src/views/ECG/ECGModify/ECGApplyforRepair.vue index bb11f21a..0736babe 100644 --- a/src/views/ECG/ECGModify/ECGApplyforRepair.vue +++ b/src/views/ECG/ECGModify/ECGApplyforRepair.vue @@ -196,7 +196,9 @@ async function save() { formData.value.orgId = formData.value.orgId formData.value.applyDoctor = formData.value.applyDoctor formData.value.pname = rowinfo.value.pname - formData.value.applyDateTime = new Date().toLocaleString().replace(/\//g, '-') + formData.value.applyDateTime = formData.value.applyDateTime + ? formData.value.applyDateTime.toLocaleString().replace(/\//g, '-') + : new Date().toLocaleString().replace(/\//g, '-') const savedata = formData.value as unknown as ProcessManageVO ProcessManageApi.create(savedata).then((data) => { if (data) { diff --git a/src/views/ECG/ECGWaring/ECGReport.vue b/src/views/ECG/ECGWaring/ECGReport.vue index f5d1eb44..2944f806 100644 --- a/src/views/ECG/ECGWaring/ECGReport.vue +++ b/src/views/ECG/ECGWaring/ECGReport.vue @@ -67,14 +67,14 @@ - - + + - - + + @@ -92,13 +92,13 @@ - + - - + +