@@ -106,6 +106,7 @@
import { listDoctorRecord, getDoctorRecord, delDoctorRecord, addDoctorRecord, updateDoctorRecord } from '@/api/health/doctorRecord'
import { listPerson, getPerson } from '@/api/health/person'
import { listHealthRecord } from '@/api/health/healthRecord'
+import dayjs from 'dayjs'
// eslint-disable-next-line no-unused-vars
import { require } from '@/utils/require'
const { proxy } = getCurrentInstance()
@@ -135,7 +136,7 @@ const data = reactive({
departments: null,
doctor: null,
healthRecordId: null,
- visitingTime: null,
+ time: '',
personId: null
},
queryPersonParams: {
@@ -189,6 +190,15 @@ const handlePersonChange = (personId) => {
/** 查询就医记录列表 */
function getList() {
loading.value = true
+ const timeRange = queryParams.value.time
+ let st = ''
+ let et = ''
+ if (timeRange && timeRange.length === 2) {
+ st = dayjs(timeRange[0]).format('YYYY-MM-DD')
+ et = dayjs(timeRange[1]).format('YYYY-MM-DD')
+ }
+ queryParams.value.startTime = st
+ queryParams.value.endTime = et
listDoctorRecord(queryParams.value).then((response) => {
doctorRecordList.value = response.rows
total.value = response.total
diff --git a/src/views/health/healthRecord/index.vue b/src/views/health/healthRecord/index.vue
index 62c8222..ab0daeb 100644
--- a/src/views/health/healthRecord/index.vue
+++ b/src/views/health/healthRecord/index.vue
@@ -26,6 +26,9 @@
+
+
+
搜索
@@ -103,7 +106,7 @@
-
+
@@ -132,17 +135,142 @@
+
+
+ 基本信息
+ 就医信息
+ 用药记录
+ 体温记录
+
+
+
+
+ 人员姓名:{{ basicInformation.personName }}
+
+
+ 档案名称:{{ basicInformation.name }}
+
+
+ 类型:
+
+
+
+
+
+ 档案状态:
+
+
+
+ 发生时间:{{ basicInformation.occurTime }}
+
+
+ 发生原因:
+
+
+
+
+
+ 康复时间:{{ basicInformation.rehabilitationTime }}
+
+
+
+
+ 初期症状:{{ basicInformation.initialSymptoms }}
+
+
+
+
+ 中期症状:{{ basicInformation.mediumTermSymptoms }}
+
+
+
+
+ 后期症状:{{ basicInformation.laterStageSymptoms }}
+
+
+
+
+ 备注:{{ basicInformation.remark }}
+
+
+
+
+
+
+
+