diff --git a/src/api/system/hospitalPerson.js b/src/api/system/hospitalPerson.js new file mode 100644 index 0000000..04391d7 --- /dev/null +++ b/src/api/system/hospitalPerson.js @@ -0,0 +1,59 @@ +import request from '@/utils/request' + +// 查询健康咨询-科室人员信息列表 +export function listHospitalPerson(query) { + return request({ + url: '/system/hospitalPerson/list', + method: 'get', + params: query + }) +} +// 查询科室信息管理列表 +export function listHospitalDepartment(query) { + return request({ + url: '/system/hospitalDepartment/list', + + method: 'get', + params: query + }) +} +// 查询健康咨询-科室人员信息详细 +export function getHospitalPerson(id) { + return request({ + url: '/system/hospitalPerson/' + id, + method: 'get' + }) +} + +// 新增健康咨询-科室人员信息 +export function addHospitalPerson(data) { + return request({ + url: '/system/hospitalPerson/add', + method: 'post', + data: data + }) +} +export function list(query) { + return request({ + url: '/system/hospital/list', + method: 'get', + params: query + }) +} + +// 修改健康咨询-科室人员信息 +export function updateHospitalPerson(data) { + return request({ + url: '/system/hospitalPerson/edit', + method: 'post', + data: data + }) +} + +// 删除健康咨询-科室人员信息 +export function delHospitalPerson(id) { + return request({ + url: '/system/hospitalPerson/' + id, + method: 'delete' + }) +} diff --git a/src/views/system/hospitalDepartment/index.vue b/src/views/system/hospitalDepartment/index.vue index 383ae89..e2cf539 100644 --- a/src/views/system/hospitalDepartment/index.vue +++ b/src/views/system/hospitalDepartment/index.vue @@ -8,7 +8,7 @@ v-show="showSearch" label-width="68px" > - + - + 删除 - + @@ -400,8 +391,8 @@ @@ -412,7 +403,7 @@ @@ -492,7 +483,7 @@ export default { loading: true, // 选中数组 ids: [], - nurseStationqueryParams: { + hospitalqueryParams: { pageNum: 1, pageSize: 10, hospitalCode:"", @@ -697,7 +688,7 @@ export default { this.innerVisible = true; }, addresetQuery() { - this.nurseStationqueryParams = { + this.hospitalqueryParams = { pageNum: 1, pageSize: 10, hospitalCode:"", @@ -715,7 +706,7 @@ export default { }); }, info() { - list(this.nurseStationqueryParams,).then((response) => { + list(this.hospitalqueryParams,).then((response) => { this.infolist = response.rows; console.log(this.infolist) this.total2 = response.total; diff --git a/src/views/system/hospitalPerson/index.vue b/src/views/system/hospitalPerson/index.vue new file mode 100644 index 0000000..d770d9e --- /dev/null +++ b/src/views/system/hospitalPerson/index.vue @@ -0,0 +1,1174 @@ + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + 新增 + + + 修改 + + + 删除 + + + 导出 + + + + + + + + + + + + + + + + + {{ scope.row.academicTitle == "CHIEF_PHYSICIAN" ? "主任医师" : "" }} + {{ + scope.row.academicTitle == "DEPUTY_CHIEF_PHYSICIAN" + ? "副主任医师" + : "" + }} + {{ scope.row.academicTitle == "ATTENDING_DOCTOR" ? "主治医师" : "" }} + {{ scope.row.academicTitle == "PHYSICIAN" ? "医师" : "" }} + {{ scope.row.academicTitle == "HEALER" ? "医士" : "" }} + + + + + + + + 修改 + 删除 + + + + + + + + + + + + {{ item.hospitalName }} + {{ item.hospitalName }} + + + {{ item.departmentName }} + {{ item.departmentName }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/system/informationInfo/index.vue b/src/views/system/informationInfo/index.vue index 0e9084e..42da695 100644 --- a/src/views/system/informationInfo/index.vue +++ b/src/views/system/informationInfo/index.vue @@ -8,14 +8,7 @@ v-show="showSearch" label-width="100px" > - + - - - - + + @@ -322,7 +253,7 @@ label-width="120" > @@ -404,8 +335,8 @@ @@ -436,7 +367,7 @@ export default { // 非多个禁用 multiple: true, innerVisible: false, - nurseStationqueryParams: { + informationqueryParams: { pageNum: 1, pageSize: 10, informationCategoryCode: "", @@ -534,16 +465,16 @@ export default { }, //重置 addresetQuery() { - this.nurseStationqueryParams = { + this.queryParams = { pageNum: 1, pageSize: 10, informationCategoryCode: "", - informationCategoryName: "", + informationTitle: "", }; this.getList(); }, addresetQuerylist() { - this.nurseStationqueryParams = { + this.informationqueryParams = { pageNum: 1, pageSize: 10, informationCategoryCode: "", @@ -552,7 +483,7 @@ export default { this.informationInfoinfo(); }, informationInfoinfo() { - listInformationCategory(this.nurseStationqueryParams).then((response) => { + listInformationCategory(this.informationqueryParams).then((response) => { this.infolist = response.rows; console.log(this.infolist); this.total2 = response.total; @@ -634,6 +565,13 @@ export default { /** 重置按钮操作 */ resetQuery() { this.resetForm("queryForm"); + this.queryParams = { + pageNum: 1, + pageSize: 10, + informationCategoryCode: "", + informationCategoryName: "", + }; + this.informationInfoinfo(); this.handleQuery(); }, // 多选框选中数据