From eef905fd4141197d8c25e2d89c80e7a9620985ad Mon Sep 17 00:00:00 2001 From: hezi66677 <847517741@qq.com> Date: Sat, 21 Dec 2024 22:24:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/mydrug1.js | 44 +++ src/api/system/mylesion.js | 44 +++ src/api/system/mypatient.js | 44 +++ src/api/system/mysmell.js | 44 +++ .../historical_prescription/index.vue | 114 +++++- .../index.vue | 64 ++-- src/views/system/drug/index.vue | 281 ++++++++++++++ src/views/system/mydrug/index.vue | 12 +- src/views/system/mydrug1/index.vue | 283 ++++++++++++++ src/views/system/mylesion/index.vue | 259 +++++++++++++ src/views/system/mymedicalcard/index.vue | 13 +- src/views/system/mypatient/index.vue | 362 ++++++++++++++++++ src/views/system/mysmell/index.vue | 289 ++++++++++++++ 13 files changed, 1788 insertions(+), 65 deletions(-) create mode 100644 src/api/system/mydrug1.js create mode 100644 src/api/system/mylesion.js create mode 100644 src/api/system/mypatient.js create mode 100644 src/api/system/mysmell.js rename src/views/system/{myprescription1 => doctorhidden}/index.vue (78%) create mode 100644 src/views/system/drug/index.vue create mode 100644 src/views/system/mydrug1/index.vue create mode 100644 src/views/system/mylesion/index.vue create mode 100644 src/views/system/mypatient/index.vue create mode 100644 src/views/system/mysmell/index.vue diff --git a/src/api/system/mydrug1.js b/src/api/system/mydrug1.js new file mode 100644 index 0000000..aab4f1e --- /dev/null +++ b/src/api/system/mydrug1.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询药品管理列表 +export function listMydrug1(query) { + return request({ + url: '/system/mydrug1/list', + method: 'get', + params: query + }) +} + +// 查询药品管理详细 +export function getMydrug1(id) { + return request({ + url: '/system/mydrug1/' + id, + method: 'get' + }) +} + +// 新增药品管理 +export function addMydrug1(data) { + return request({ + url: '/system/mydrug1', + method: 'post', + data: data + }) +} + +// 修改药品管理 +export function updateMydrug1(data) { + return request({ + url: '/system/mydrug1', + method: 'put', + data: data + }) +} + +// 删除药品管理 +export function delMydrug1(id) { + return request({ + url: '/system/mydrug1/' + id, + method: 'delete' + }) +} diff --git a/src/api/system/mylesion.js b/src/api/system/mylesion.js new file mode 100644 index 0000000..14f224b --- /dev/null +++ b/src/api/system/mylesion.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询病症图片管理列表 +export function listMylesion(query) { + return request({ + url: '/system/mylesion/list', + method: 'get', + params: query + }) +} + +// 查询病症图片管理详细 +export function getMylesion(id) { + return request({ + url: '/system/mylesion/' + id, + method: 'get' + }) +} + +// 新增病症图片管理 +export function addMylesion(data) { + return request({ + url: '/system/mylesion', + method: 'post', + data: data + }) +} + +// 修改病症图片管理 +export function updateMylesion(data) { + return request({ + url: '/system/mylesion', + method: 'put', + data: data + }) +} + +// 删除病症图片管理 +export function delMylesion(id) { + return request({ + url: '/system/mylesion/' + id, + method: 'delete' + }) +} diff --git a/src/api/system/mypatient.js b/src/api/system/mypatient.js new file mode 100644 index 0000000..1707d9d --- /dev/null +++ b/src/api/system/mypatient.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询患者管理列表 +export function listMypatient(query) { + return request({ + url: '/system/mypatient/list', + method: 'get', + params: query + }) +} + +// 查询患者管理详细 +export function getMypatient(id) { + return request({ + url: '/system/mypatient/' + id, + method: 'get' + }) +} + +// 新增患者管理 +export function addMypatient(data) { + return request({ + url: '/system/mypatient', + method: 'post', + data: data + }) +} + +// 修改患者管理 +export function updateMypatient(data) { + return request({ + url: '/system/mypatient', + method: 'put', + data: data + }) +} + +// 删除患者管理 +export function delMypatient(id) { + return request({ + url: '/system/mypatient/' + id, + method: 'delete' + }) +} diff --git a/src/api/system/mysmell.js b/src/api/system/mysmell.js new file mode 100644 index 0000000..990aefe --- /dev/null +++ b/src/api/system/mysmell.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询患者描述记录列表 +export function listMysmell(query) { + return request({ + url: '/system/mysmell/list', + method: 'get', + params: query + }) +} + +// 查询患者描述记录详细 +export function getMysmell(id) { + return request({ + url: '/system/mysmell/' + id, + method: 'get' + }) +} + +// 新增患者描述记录 +export function addMysmell(data) { + return request({ + url: '/system/mysmell', + method: 'post', + data: data + }) +} + +// 修改患者描述记录 +export function updateMysmell(data) { + return request({ + url: '/system/mysmell', + method: 'put', + data: data + }) +} + +// 删除患者描述记录 +export function delMysmell(id) { + return request({ + url: '/system/mysmell/' + id, + method: 'delete' + }) +} diff --git a/src/views/prescription/historical_prescription/index.vue b/src/views/prescription/historical_prescription/index.vue index 1d73f47..d0b3d38 100644 --- a/src/views/prescription/historical_prescription/index.vue +++ b/src/views/prescription/historical_prescription/index.vue @@ -7,8 +7,7 @@ 历史处方 - - + @@ -19,8 +18,7 @@ - - +