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 @@ + + + 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; });