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] =?UTF-8?q?=E8=B5=84=E8=AE=AF=E4=BF=A1=E6=81=AF=E7=AE=A1?= =?UTF-8?q?=E7=90=86+=E8=B5=84=E8=AE=AF=E5=88=86=E7=B1=BB=E7=AE=A1?= =?UTF-8?q?=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 @@ diff --git a/src/views/system/hospital/index.vue b/src/views/system/hospital/index.vue index 6e90208..6834fdc 100644 --- a/src/views/system/hospital/index.vue +++ b/src/views/system/hospital/index.vue @@ -25,22 +25,7 @@ @keyup.enter.native="handleQuery" /> - - + 搜索 重置 diff --git a/src/views/system/hospitalDepartment/index.vue b/src/views/system/hospitalDepartment/index.vue index 4c41c0f..c35a8fd 100644 --- a/src/views/system/hospitalDepartment/index.vue +++ b/src/views/system/hospitalDepartment/index.vue @@ -8,22 +8,7 @@ v-show="showSearch" label-width="68px" > - - + - + +
+ + + + + + + + + + + + + + 搜索 + 重置 + + + + + + 新增 + + + 修改 + + + 删除 + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ form.informationCategoryName }} + {{ form.informationCategoryName }} + + + + + + + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + + + + + + + + + + + +
+ + +