diff --git a/src/views/Department-entry/Medical-examination-vehicle.vue b/src/views/Department-entry/Medical-examination-vehicle.vue index 5a8e1d7..13ad9f9 100644 --- a/src/views/Department-entry/Medical-examination-vehicle.vue +++ b/src/views/Department-entry/Medical-examination-vehicle.vue @@ -790,7 +790,7 @@ const loadPatientData = async (patient) => { ultrasound: { finding: '未见异常', diagnosis: '未见异常' }, ecg: { finding: '详见报告单', diagnosis: '详见报告单' }, blood: { summary: '' }, - urine: { summary: '' }, + urine: { summary: '未见异常' }, biochemical: { summary: '' } } @@ -965,7 +965,7 @@ const handlePatientSelect = async (patient) => { ultrasound: { finding: '未见异常', diagnosis: '未见异常' }, ecg: { finding: '详见报告单', diagnosis: '详见报告单' }, blood: { summary: '' }, - urine: { summary: '' }, + urine: { summary: '未见异常' }, biochemical: { summary: '' }, summary: { summary: '' } } @@ -1685,7 +1685,7 @@ const handleRefresh = async (e) => { ultrasound: { finding: '未见异常', diagnosis: '未见异常' }, ecg: { finding: '详见报告单', diagnosis: '详见报告单' }, blood: { summary: '' }, - urine: { summary: '' }, + urine: { summary: '未见异常' }, biochemical: { summary: '' } } diff --git a/src/views/summary/reprot-print/report-print.vue b/src/views/summary/reprot-print/report-print.vue index 0df7487..0bc1479 100644 --- a/src/views/summary/reprot-print/report-print.vue +++ b/src/views/summary/reprot-print/report-print.vue @@ -33,6 +33,7 @@ end-placeholder="结束日期" value-format="YYYY-MM-DD HH:mm:ss" :default-time="[new Date(2000, 1, 1, 0, 0, 0), new Date(2000, 1, 1, 23, 59, 59)]" + :default-value="[new Date(), new Date()]" clearable class="!w-320px" /> @@ -121,6 +122,8 @@ import { PatientApi, type PatientVO } from '@/api/inspect/inspectpatient' // 使用相对路径导入组件 import ReportPreview from './components/ReportPreview.vue' +import dayjs from 'dayjs' + defineOptions({ name: 'ReportPrint' }) //打印预览相关变量 const printDialogVisible = ref(false) @@ -136,7 +139,10 @@ const queryParams = reactive({ pageSize: 10, medicalSn: undefined as string | undefined, pname: undefined as string | undefined, - medicalDateTime: [], + medicalDateTime: [ + dayjs().startOf('day').format('YYYY-MM-DD HH:mm:ss'), + dayjs().endOf('day').format('YYYY-MM-DD HH:mm:ss') + ], status: 1 }) const queryFormRef = ref() // 搜索的表单