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/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/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 new file mode 100644 index 0000000..4f52347 --- /dev/null +++ b/src/views/system/InformationCategory/index.vue @@ -0,0 +1,548 @@ + + + + + + + + + + + + 搜索 + 重置 + + + + + + 新增 + + + 修改 + + + 删除 + + + + + + + + + + + + + {{ + 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..6834fdc --- /dev/null +++ b/src/views/system/hospital/index.vue @@ -0,0 +1,357 @@ + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + 新增 + + + 修改 + + + 删除 + + + + + + + + + + + + + + + + + 修改 + 删除 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/system/hospitalDepartment/index.vue b/src/views/system/hospitalDepartment/index.vue new file mode 100644 index 0000000..c35a8fd --- /dev/null +++ b/src/views/system/hospitalDepartment/index.vue @@ -0,0 +1,811 @@ + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + 新增 + + + 修改 + + + 删除 + + + + + + + + + + + + + + + + + + + 修改 + 删除 + + + + + + + + + + + + {{ item.hospitalName }} + {{ item.hospitalName }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/system/informationInfo/index.vue b/src/views/system/informationInfo/index.vue new file mode 100644 index 0000000..65a8d27 --- /dev/null +++ b/src/views/system/informationInfo/index.vue @@ -0,0 +1,697 @@ + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + 新增 + + + 修改 + + + 删除 + + + + + + + + + + + + + + + + 修改 + 删除 + + + + + + + + + + + + + + {{ form.informationCategoryName }} + {{ form.informationCategoryName }} + + + + + + + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + + + + + + + + + + + + + + + + + +