From dcb81ccedcda106210816c7a9f8fefcd2b6cd903 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Mon, 13 Feb 2023 18:32:33 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E7=A7=91=E5=AE=A4=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/hospitalDepartment.js | 53 ++ src/views/system/hospitalDepartment/index.vue | 859 ++++++++++++++++++ 2 files changed, 912 insertions(+) create mode 100644 src/api/system/hospitalDepartment.js create mode 100644 src/views/system/hospitalDepartment/index.vue diff --git a/src/api/system/hospitalDepartment.js b/src/api/system/hospitalDepartment.js new file mode 100644 index 0000000..4ea36c8 --- /dev/null +++ b/src/api/system/hospitalDepartment.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询科室信息管理列表 +export function listHospitalDepartment(query) { + return request({ + url: '/system/hospitalDepartment/list', + + method: 'get', + params: query + }) +} + +export function list(query) { + return request({ + url: '/system/hospital/list', + method: 'get', + params: query + }) +} + +// 查询科室信息管理详细 +export function getHospitalDepartment(id) { + return request({ + url: '/system/hospitalDepartment/' + id, + method: 'get' + }) +} + +// 新增科室信息管理 +export function addHospitalDepartment(data) { + return request({ + url: '/system/hospitalDepartment/add', + method: 'post', + data: data + }) +} + +// 修改科室信息管理 +export function updateHospitalDepartment(data) { + return request({ + url: '/system/hospitalDepartment/edit', + method: 'post', + data: data + }) +} + +// 删除科室信息管理 +export function delHospitalDepartment(id) { + return request({ + url: '/system/hospitalDepartment/' + id, + method: 'delete' + }) +} diff --git a/src/views/system/hospitalDepartment/index.vue b/src/views/system/hospitalDepartment/index.vue new file mode 100644 index 0000000..4adaedf --- /dev/null +++ b/src/views/system/hospitalDepartment/index.vue @@ -0,0 +1,859 @@ + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + 新增 + + + 修改 + + + 删除 + + + + + + + + + + + + + + + + + + + 修改 + 删除 + + + + + + + + + + + + {{ item.hospitalName }} + {{ item.hospitalName }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 215f3a9c67c6d9a7e6b8f079657956395f0d3716 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Tue, 14 Feb 2023 11:48:08 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=8C=BB=E9=99=A2=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E7=AE=A1=E7=90=86+=E7=A7=91=E5=AE=A4=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E7=AE=A1=E7=90=86+=E8=B5=84=E8=AE=AF=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/InformationCategory.js | 44 ++ src/api/system/hospital.js | 44 ++ .../system/InformationCategory/index.vue | 441 ++++++++++++++++++ src/views/system/hospital/index.vue | 372 +++++++++++++++ src/views/system/hospitalDepartment/index.vue | 20 +- 5 files changed, 914 insertions(+), 7 deletions(-) create mode 100644 src/api/system/InformationCategory.js create mode 100644 src/api/system/hospital.js create mode 100644 src/views/system/InformationCategory/index.vue create mode 100644 src/views/system/hospital/index.vue diff --git a/src/api/system/InformationCategory.js b/src/api/system/InformationCategory.js new file mode 100644 index 0000000..003f095 --- /dev/null +++ b/src/api/system/InformationCategory.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询资讯分类列表 +export function listInformationCategory(query) { + return request({ + url: '/system/InformationCategory/list', + method: 'get', + params: query + }) +} + +// 查询资讯分类详细 +export function getInformationCategory(id) { + return request({ + url: '/system/InformationCategory/' + id, + method: 'get' + }) +} + +// 新增资讯分类 +export function addInformationCategory(data) { + return request({ + url: '/system/InformationCategory/add', + method: 'post', + data: data + }) +} + +// 修改资讯分类 +export function updateInformationCategory(data) { + return request({ + url: '/system/InformationCategory/edit', + method: 'post', + data: data + }) +} + +// 删除资讯分类 +export function delInformationCategory(id) { + return request({ + url: '/system/InformationCategory/' + id, + method: 'delete' + }) +} diff --git a/src/api/system/hospital.js b/src/api/system/hospital.js new file mode 100644 index 0000000..dbd06ed --- /dev/null +++ b/src/api/system/hospital.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询医院信息管理列表 +export function listHospital(query) { + return request({ + url: '/system/hospital/list', + method: 'get', + params: query + }) +} + +// 查询医院信息管理详细 +export function getHospital(id) { + return request({ + url: '/system/hospital/' + id, + method: 'get' + }) +} + +// 新增医院信息管理 +export function addHospital(data) { + return request({ + url: '/system/hospital/add', + method: 'post', + data: data + }) +} + +// 修改医院信息管理 +export function updateHospital(data) { + return request({ + url: '/system/hospital/edit', + method: 'post', + data: data + }) +} + +// 删除医院信息管理 +export function delHospital(id) { + return request({ + url: '/system/hospital/' + id, + method: 'delete' + }) +} diff --git a/src/views/system/InformationCategory/index.vue b/src/views/system/InformationCategory/index.vue new file mode 100644 index 0000000..aa94aab --- /dev/null +++ b/src/views/system/InformationCategory/index.vue @@ -0,0 +1,441 @@ + + + + + + + + + + + + 搜索 + 重置 + + + + + + 新增 + + + 修改 + + + 删除 + + + + + + + + + + + + + {{ scope.row.informationCategoryType == "HEALTH_NOUS" ? "健康咨询" : "" }} + {{ scope.row.informationCategoryType == "OTHER" ? "其他" : "" }} + + + + + + + 修改 + 删除 + + + + + + + + + + + + + + + + + + + + + 健康咨询 + 其他 + + + + + + + + + + + + + + + + + + + + + + 健康咨询 + 其他 + + + + + + + + diff --git a/src/views/system/hospital/index.vue b/src/views/system/hospital/index.vue new file mode 100644 index 0000000..6e90208 --- /dev/null +++ b/src/views/system/hospital/index.vue @@ -0,0 +1,372 @@ + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + 新增 + + + 修改 + + + 删除 + + + + + + + + + + + + + + + + + 修改 + 删除 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/system/hospitalDepartment/index.vue b/src/views/system/hospitalDepartment/index.vue index 4adaedf..4c41c0f 100644 --- a/src/views/system/hospitalDepartment/index.vue +++ b/src/views/system/hospitalDepartment/index.vue @@ -365,9 +365,9 @@ label-width="80px" :inline="true" > - + @@ -435,16 +435,16 @@ align="center" > - - + --> @@ -541,6 +541,8 @@ export default { nurseStationqueryParams: { pageNum: 1, pageSize: 10, + hospitalCode:"", + hospitalName:"", }, infolist: [], // 非单个禁用 @@ -567,6 +569,7 @@ export default { parentId: null, hospitalId: null, hospitalName: null, + hospitalCode: null, departmentCode: null, departmentName: null, departmentPhone: null, @@ -722,7 +725,7 @@ export default { this.nnerVisibleindex = index; console.log(this.nnerVisibleindex); this.innerVisible = true; - this.homenumber = item; + // this.homenumber = item; }, //修改医院按钮 clickitem() { @@ -734,6 +737,8 @@ export default { this.nurseStationqueryParams = { pageNum: 1, pageSize: 10, + hospitalCode:"", + hospitalName:"", }; this.info(); }, @@ -747,8 +752,9 @@ export default { }); }, info() { - list(this.queryParams).then((response) => { + list(this.nurseStationqueryParams,).then((response) => { this.infolist = response.rows; + console.log(this.infolist) this.total2 = response.total; this.loading = false; }); From 6b38a3154e07926402a29d1fb457b87665d27845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Tue, 14 Feb 2023 17:04:38 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E8=B5=84=E8=AE=AF=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E7=AE=A1=E7=90=86+=E8=B5=84=E8=AE=AF=E5=88=86=E7=B1=BB?= =?UTF-8?q?=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/informationInfo.js | 52 ++ .../system/InformationCategory/index.vue | 331 ++++++--- src/views/system/hospital/index.vue | 17 +- src/views/system/hospitalDepartment/index.vue | 58 +- src/views/system/informationInfo/index.vue | 697 ++++++++++++++++++ 5 files changed, 971 insertions(+), 184 deletions(-) create mode 100644 src/api/system/informationInfo.js create mode 100644 src/views/system/informationInfo/index.vue diff --git a/src/api/system/informationInfo.js b/src/api/system/informationInfo.js new file mode 100644 index 0000000..1fe7f74 --- /dev/null +++ b/src/api/system/informationInfo.js @@ -0,0 +1,52 @@ +import request from '@/utils/request' + +// 查询资讯信息管理列表 +export function listInformationInfo(query) { + return request({ + url: '/system/informationInfo/list', + method: 'get', + params: query + }) +} + +// 查询资讯信息管理详细 +export function getInformationInfo(id) { + return request({ + url: '/system/informationInfo/' + id, + method: 'get' + }) +} + +// 新增资讯信息管理 +export function addInformationInfo(data) { + return request({ + url: '/system/informationInfo/add', + method: 'post', + data: data + }) +} + +// 修改资讯信息管理 +export function updateInformationInfo(data) { + return request({ + url: '/system/informationInfo/edit', + method: 'post', + data: data + }) +} +// 查询资讯分类列表 +export function listInformationCategory(query) { + return request({ + url: '/system/InformationCategory/list', + method: 'get', + params: query + }) +} + +// 删除资讯信息管理 +export function delInformationInfo(id) { + return request({ + url: '/system/informationInfo/' + id, + method: 'delete' + }) +} diff --git a/src/views/system/InformationCategory/index.vue b/src/views/system/InformationCategory/index.vue index aa94aab..4f52347 100644 --- a/src/views/system/InformationCategory/index.vue +++ b/src/views/system/InformationCategory/index.vue @@ -1,6 +1,13 @@ - + --> - 搜索 - 重置 + 搜索 + 重置 @@ -40,7 +55,8 @@ size="mini" @click="handleAdd" v-hasPermi="['system:InformationCategory:add']" - >新增 + >新增 修改 + >修改 删除 + >删除 - + - + - - - + + - - {{ scope.row.informationCategoryType == "HEALTH_NOUS" ? "健康咨询" : "" }} - {{ scope.row.informationCategoryType == "OTHER" ? "其他" : "" }} - + + {{ + scope.row.informationCategoryType == "HEALTH_NOUS" ? "健康咨询" : "" + }} + {{ scope.row.informationCategoryType == "OTHER" ? "其他" : "" }} + - + - + 修改 + >修改 删除 + >删除 - + - - + + - - - - - + + + - - - + + + + - - - 健康咨询 - 其他 - - - + + + + - + - - + + - + - - 健康咨询 - 其他 - + + + + + +