修改查询条件

This commit is contained in:
Euni4U 2025-04-15 15:17:54 +08:00
parent d05f0eb2ba
commit 2d036816bc
2 changed files with 10 additions and 4 deletions

View File

@ -790,7 +790,7 @@ const loadPatientData = async (patient) => {
ultrasound: { finding: '未见异常', diagnosis: '未见异常' }, ultrasound: { finding: '未见异常', diagnosis: '未见异常' },
ecg: { finding: '详见报告单', diagnosis: '详见报告单' }, ecg: { finding: '详见报告单', diagnosis: '详见报告单' },
blood: { summary: '' }, blood: { summary: '' },
urine: { summary: '' }, urine: { summary: '未见异常' },
biochemical: { summary: '' } biochemical: { summary: '' }
} }
@ -965,7 +965,7 @@ const handlePatientSelect = async (patient) => {
ultrasound: { finding: '未见异常', diagnosis: '未见异常' }, ultrasound: { finding: '未见异常', diagnosis: '未见异常' },
ecg: { finding: '详见报告单', diagnosis: '详见报告单' }, ecg: { finding: '详见报告单', diagnosis: '详见报告单' },
blood: { summary: '' }, blood: { summary: '' },
urine: { summary: '' }, urine: { summary: '未见异常' },
biochemical: { summary: '' }, biochemical: { summary: '' },
summary: { summary: '' } summary: { summary: '' }
} }
@ -1685,7 +1685,7 @@ const handleRefresh = async (e) => {
ultrasound: { finding: '未见异常', diagnosis: '未见异常' }, ultrasound: { finding: '未见异常', diagnosis: '未见异常' },
ecg: { finding: '详见报告单', diagnosis: '详见报告单' }, ecg: { finding: '详见报告单', diagnosis: '详见报告单' },
blood: { summary: '' }, blood: { summary: '' },
urine: { summary: '' }, urine: { summary: '未见异常' },
biochemical: { summary: '' } biochemical: { summary: '' }
} }

View File

@ -33,6 +33,7 @@
end-placeholder="结束日期" end-placeholder="结束日期"
value-format="YYYY-MM-DD HH:mm:ss" 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-time="[new Date(2000, 1, 1, 0, 0, 0), new Date(2000, 1, 1, 23, 59, 59)]"
:default-value="[new Date(), new Date()]"
clearable clearable
class="!w-320px" class="!w-320px"
/> />
@ -121,6 +122,8 @@
import { PatientApi, type PatientVO } from '@/api/inspect/inspectpatient' import { PatientApi, type PatientVO } from '@/api/inspect/inspectpatient'
// 使 // 使
import ReportPreview from './components/ReportPreview.vue' import ReportPreview from './components/ReportPreview.vue'
import dayjs from 'dayjs'
defineOptions({ name: 'ReportPrint' }) defineOptions({ name: 'ReportPrint' })
// //
const printDialogVisible = ref(false) const printDialogVisible = ref(false)
@ -136,7 +139,10 @@ const queryParams = reactive({
pageSize: 10, pageSize: 10,
medicalSn: undefined as string | undefined, medicalSn: undefined as string | undefined,
pname: 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 status: 1
}) })
const queryFormRef = ref() // const queryFormRef = ref() //