diff --git a/api/reception.js b/api/reception.js index ab77a2c..ad9a689 100644 --- a/api/reception.js +++ b/api/reception.js @@ -521,7 +521,7 @@ export function clearMedicalRecordApi(data) { }) } -/** 引用最近病历 */ +/** 引用最近病历(兼容旧入口,优先用列表抽屉) */ export function latestMedicalRecordApi(data) { return req.request({ url: '/newApi/doctor-reception-wx/latest-medical-record', @@ -530,6 +530,15 @@ export function latestMedicalRecordApi(data) { }) } +/** 按就诊人拉取病历列表(引用历史抽屉) */ +export function listMedicalRecordByPatientApi(data) { + return req.request({ + url: '/newApi/doctor-reception-wx/list-medical-record-by-patient', + method: 'GET', + data + }) +} + /** 病历词条检索 */ export function searchMedicalRecordEntryApi(data) { return req.request({ diff --git a/subPackages/sub_workbench/prescription_v2/components/MedicalRecordPanel.vue b/subPackages/sub_workbench/prescription_v2/components/MedicalRecordPanel.vue index 833e1eb..3fbc8dc 100644 --- a/subPackages/sub_workbench/prescription_v2/components/MedicalRecordPanel.vue +++ b/subPackages/sub_workbench/prescription_v2/components/MedicalRecordPanel.vue @@ -6,12 +6,6 @@ 模板禁止 ?? ?. 与 :class 方法调用 --> - - - 清空病历 - 引用历史 - 保存病历 - @@ -114,28 +108,68 @@ 选择{{ item.label }}词条 - - - 体温 - + + + + 体温(°C) + - - 身高 - + + 身高(cm) + - - 体重 - + + 体重(KG) + - - 呼吸 - + + 呼吸(次/分) + - - 血压 - - / - + + 高压 mmHg + + + / + + 低压 mmHg + - - + + + 清空 + 引用历史 + + + 保存病历 + + + + + + + 引用历史病历 + 共 {{ citeList.length }} 条 + + + 加载中… + + 暂无历史病历 + + + {{ row._title }} + + 挂号 #{{ row.register_id || '-' }} + 本次挂号 + {{ row.created_at || '—' }} + + 主诉:{{ row.chief_complaint }} + + + + + + 诊断 + {{ citeActiveRecord.diagnosis || '—' }} + 医嘱 + {{ citeActiveRecord.doctor_order || '—' }} + 当前选中的是本次挂号病历,引用后会覆盖编辑区内容 + + + + 引用此病历 + + + + + @@ -168,39 +283,41 @@ :custom-style="entrySearchStyle" @input="onEntryKeywordInput" /> - - - - + + + + + + {{ p.text }} + {{ p.text }} + + + {{ row.match_score || 0 }}% + + + 首拼(全拼): + {{ p.text }} {{ p.text }} - {{ row.match_score || 0 }}% + + + {{ p.text }} + {{ p.text }} + + + {{ row.remark }} - - 首拼(全拼): - - {{ p.text }} - {{ p.text }} - - - - - {{ p.text }} - {{ p.text }} - - - {{ row.remark }} - - 暂无词条 + 暂无词条 + - +