From 57a6a1833f1bb31010a0f4784ab479912eae78dd Mon Sep 17 00:00:00 2001 From: lucky Date: Mon, 1 Feb 2021 19:59:22 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E9=80=89=E6=8B=A9=E6=82=A3=E8=80=85?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PatientInfo/PatientTable.vue | 137 ++++++++++++++++++++ src/components/PatientInfo/Search.vue | 60 +++++++++ src/config/api.js | 3 + src/views/SelectPatient/SelectPatient.vue | 54 +++++++- 4 files changed, 251 insertions(+), 3 deletions(-) create mode 100644 src/components/PatientInfo/PatientTable.vue create mode 100644 src/components/PatientInfo/Search.vue diff --git a/src/components/PatientInfo/PatientTable.vue b/src/components/PatientInfo/PatientTable.vue new file mode 100644 index 0000000..89d1f47 --- /dev/null +++ b/src/components/PatientInfo/PatientTable.vue @@ -0,0 +1,137 @@ + + + diff --git a/src/components/PatientInfo/Search.vue b/src/components/PatientInfo/Search.vue new file mode 100644 index 0000000..47cdcb6 --- /dev/null +++ b/src/components/PatientInfo/Search.vue @@ -0,0 +1,60 @@ + + + diff --git a/src/config/api.js b/src/config/api.js index c05d49c..bfc084d 100644 --- a/src/config/api.js +++ b/src/config/api.js @@ -10,6 +10,9 @@ export const saveCaseMes = params => axios.post(`${patient}/saveCaseMes`, params // 添加患者基本信息 export const savePatientMes = params => axios.post(`${patient}/savePatientMes`, params); +// 查询患者基本信息 +export const selPatientMes = params => axios.post(`${patient}/selPatientMes`, params); + // 通过搜索条件查询患者病例的信息 export const selPatientMesList = params => axios.post(`${patient}/selPatientMesList`, params); diff --git a/src/views/SelectPatient/SelectPatient.vue b/src/views/SelectPatient/SelectPatient.vue index 2a58519..ae2b609 100644 --- a/src/views/SelectPatient/SelectPatient.vue +++ b/src/views/SelectPatient/SelectPatient.vue @@ -1,15 +1,63 @@ From 2da872b75db66f6b5e983a60385eefa6ea2d2dbd Mon Sep 17 00:00:00 2001 From: lucky Date: Mon, 1 Feb 2021 20:00:06 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E9=80=89=E6=8B=A9=E6=82=A3=E8=80=85?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PatientInfo/Search.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/PatientInfo/Search.vue b/src/components/PatientInfo/Search.vue index 47cdcb6..f5dc826 100644 --- a/src/components/PatientInfo/Search.vue +++ b/src/components/PatientInfo/Search.vue @@ -13,7 +13,6 @@ {{ item.name }} From 1c37affb6c760bd8814fc62aaf505d12982131c9 Mon Sep 17 00:00:00 2001 From: lucky Date: Tue, 2 Feb 2021 09:38:43 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PatientInfo/PatientTable.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/PatientInfo/PatientTable.vue b/src/components/PatientInfo/PatientTable.vue index 89d1f47..f0bd25e 100644 --- a/src/components/PatientInfo/PatientTable.vue +++ b/src/components/PatientInfo/PatientTable.vue @@ -16,7 +16,7 @@ {{ index + 1 }} -