From d5adcd7ef8339cd4b82a1c57b40e2aa9d81e6f10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8F=B2=E8=8F=B2?= <12704587+yvwen@user.noreply.gitee.com> Date: Fri, 28 Mar 2025 17:28:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BE=93=E6=B6=B2=EF=BC=8C=E5=8F=91=E8=8D=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../clinicmanagement/infusionrecord/index.vue | 11 - .../patientmanagement/index.vue | 2 + .../westernmedicine/components/api.js | 43 +++ .../westernmedicine/index.vue | 324 ++++++++++++++++++ 4 files changed, 369 insertions(+), 11 deletions(-) create mode 100644 openhis-ui-vue3/src/views/pharmacymanagement/westernmedicine/components/api.js create mode 100644 openhis-ui-vue3/src/views/pharmacymanagement/westernmedicine/index.vue diff --git a/openhis-ui-vue3/src/views/clinicmanagement/infusionrecord/index.vue b/openhis-ui-vue3/src/views/clinicmanagement/infusionrecord/index.vue index f5f8cc94..b6ef881c 100644 --- a/openhis-ui-vue3/src/views/clinicmanagement/infusionrecord/index.vue +++ b/openhis-ui-vue3/src/views/clinicmanagement/infusionrecord/index.vue @@ -227,16 +227,6 @@ -
- - - -
@@ -252,7 +242,6 @@ import { } from "./component/api"; const showSearch = ref(true); -const showPrescription = ref(false); const total = ref(1); const selectedItems = ref(new Set()); diff --git a/openhis-ui-vue3/src/views/patientmanagement/patientmanagement/index.vue b/openhis-ui-vue3/src/views/patientmanagement/patientmanagement/index.vue index 04179261..9ffa4a08 100644 --- a/openhis-ui-vue3/src/views/patientmanagement/patientmanagement/index.vue +++ b/openhis-ui-vue3/src/views/patientmanagement/patientmanagement/index.vue @@ -608,6 +608,8 @@ function submitForm() { if (addressCom.value !== newAddress) { form.value.address = getAddress(form); } + console.log("/***/*/*/*/*/*/*/*/*/",form.value) + return; updatePatient(form.value).then((response) => { proxy.$modal.msgSuccess("修改成功"); open.value = false; diff --git a/openhis-ui-vue3/src/views/pharmacymanagement/westernmedicine/components/api.js b/openhis-ui-vue3/src/views/pharmacymanagement/westernmedicine/components/api.js new file mode 100644 index 00000000..605267cf --- /dev/null +++ b/openhis-ui-vue3/src/views/pharmacymanagement/westernmedicine/components/api.js @@ -0,0 +1,43 @@ +import request from '@/utils/request' + +export function listPatient(query) { + return request({ + url: '/pharmacy-manage/western-medicine-dispense/encounter-list', + method: 'get', + params: query + }) +} + +export function listInit(query) { + return request({ + url: '/pharmacy-manage/western-medicine-dispense/init', + method: 'get', + params: query + }) +} + +export function listWesternmedicine(query) { + return request({ + url: '/pharmacy-manage/western-medicine-dispense/prescription-list', + method: 'get', + params: query + }) +} + + +export function updateMedicion(data) { + return request({ + url: '/pharmacy-manage/western-medicine-dispense/medicine-dispense', + method: 'put', + data: data + }) + } + + + export function backMedicion(data) { + return request({ + url: '/pharmacy-manage/western-medicine-dispense/medicine-cancel', + method: 'put', + data: data + }) + } \ No newline at end of file diff --git a/openhis-ui-vue3/src/views/pharmacymanagement/westernmedicine/index.vue b/openhis-ui-vue3/src/views/pharmacymanagement/westernmedicine/index.vue new file mode 100644 index 00000000..5b151109 --- /dev/null +++ b/openhis-ui-vue3/src/views/pharmacymanagement/westernmedicine/index.vue @@ -0,0 +1,324 @@ + + + + + \ No newline at end of file