From 296285b57781d056c1249f8360c9d88b44d080dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E4=BA=91?= <赵云@gentronhealth.com> Date: Sun, 10 May 2026 23:53:08 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20Bug=20#479:=20[=E4=BD=8F=E9=99=A2?= =?UTF-8?q?=E6=8A=A4=E5=A3=AB=E7=AB=99-=E4=B8=89=E6=B5=8B=E5=8D=95]=20?= =?UTF-8?q?=E4=BD=93=E5=BE=81=E5=BD=95=E5=85=A5=E6=A8=A1=E5=9D=97=E7=BC=BA?= =?UTF-8?q?=E5=B0=91"=E5=BD=95=E5=85=A5=E6=97=A5=E6=9C=9F"=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=EF=BC=8C=E5=AF=BC=E8=87=B4=E6=97=A0=E6=B3=95=E8=A1=A5?= =?UTF-8?q?=E5=BD=95=E5=8E=86=E5=8F=B2=E4=BD=93=E5=BE=81=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 --- .../tprChart/components/addTprDialog.vue | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/openhis-ui-vue3/src/views/inpatientNurse/tprChart/components/addTprDialog.vue b/openhis-ui-vue3/src/views/inpatientNurse/tprChart/components/addTprDialog.vue index 1384b5b3..02ec01be 100755 --- a/openhis-ui-vue3/src/views/inpatientNurse/tprChart/components/addTprDialog.vue +++ b/openhis-ui-vue3/src/views/inpatientNurse/tprChart/components/addTprDialog.vue @@ -112,6 +112,19 @@
+ + + + +
@@ -766,6 +779,7 @@ const receptionTime = ref(null); // 表单数据 - 体征录入 const formData = ref({ + recordingDate: '', timePoint: '', temperature: '', systolicPressure: '', @@ -872,6 +886,7 @@ function getPatientDetial() { // 默认查询今天的数据 const today = moment().format('YYYY-MM-DD'); receptionTime.value = [today, today]; + formData.value.recordingDate = today; // 自动加载数据 getPatientList(); listPatient(queryParams.value).then((res) => { @@ -920,6 +935,7 @@ function handleRowClick(row) { formData.value = { ...formData.value, id: row.id, + recordingDate: row.recordingDate || '', timePoint: convertTimePoint(row.timePoint) || '', temperature: row.temperature || '', systolicPressure: row.systolicPressure || '', @@ -1038,7 +1054,7 @@ function confirmCharge() { params.vitalSignsCode = vitalSignsCode; params.vitalSignsValues = vitalSignsValues; - params.recordingDate = moment(new Date()).format('YYYY-MM-DD'); + params.recordingDate = formData.value.recordingDate || moment(new Date()).format('YYYY-MM-DD'); addVitalSigns(params).then(res => { console.log('保存成功:', res); @@ -1047,6 +1063,7 @@ function confirmCharge() { getPatientList(); // 清空表单 formData.value = { + recordingDate: '', timePoint: '', temperature: '', systolicPressure: '',