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: '',