diff --git a/src/views/manage/manualReview/index.vue b/src/views/manage/manualReview/index.vue index b4394ff..d04cc5b 100644 --- a/src/views/manage/manualReview/index.vue +++ b/src/views/manage/manualReview/index.vue @@ -348,7 +348,13 @@ export default { //清空科室 cleardepartment() { this.queryParams.wardId = null - this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId) + if (this.queryParams.departmentId) { + this.getAgencyListinfo('DEPARTMENT', this.queryParams.departmentId) + } else if (this.queryParams.campusAgencyId) { + this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId) + } else if (this.queryParams.hospitalAgencyId) { + this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId) + } }, } }; diff --git a/src/views/manage/patientInfo/index.vue b/src/views/manage/patientInfo/index.vue index 4bafb27..4014617 100644 --- a/src/views/manage/patientInfo/index.vue +++ b/src/views/manage/patientInfo/index.vue @@ -381,7 +381,13 @@ export default { //清空科室 cleardepartment() { this.queryParams.wardId = null - this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId) + if (this.queryParams.departmentId) { + this.getAgencyListinfo('DEPARTMENT', this.queryParams.departmentId) + } else if (this.queryParams.campusAgencyId) { + this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId) + } else if (this.queryParams.hospitalAgencyId) { + this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId) + } }, } }; diff --git a/src/views/manage/preHospitalized/index.vue b/src/views/manage/preHospitalized/index.vue index ee6e890..5beab4b 100644 --- a/src/views/manage/preHospitalized/index.vue +++ b/src/views/manage/preHospitalized/index.vue @@ -844,10 +844,22 @@ export default { cleardepartment(type) { if (type) { this.form.wardId = null - this.getAgencyListinfo('CAMPUS', this.form.campusAgencyId, type) + if (this.form.departmentId) { + this.getAgencyListinfo('DEPARTMENT', this.form.departmentId, type) + } else if (this.form.campusAgencyId) { + this.getAgencyListinfo('CAMPUS', this.form.campusAgencyId, type) + } else if (this.form.hospitalAgencyId) { + this.getAgencyListinfo('HOSPITAL', this.form.hospitalAgencyId, type) + } } else { this.queryParams.wardId = null - this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId) + if (this.queryParams.departmentId) { + this.getAgencyListinfo('DEPARTMENT', this.queryParams.departmentId) + } else if (this.queryParams.campusAgencyId) { + this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId) + } else if (this.queryParams.hospitalAgencyId) { + this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId) + } } }, /** 下载模板操作 */ diff --git a/src/views/manage/signRecord/index.vue b/src/views/manage/signRecord/index.vue index 301c38e..5c16d57 100644 --- a/src/views/manage/signRecord/index.vue +++ b/src/views/manage/signRecord/index.vue @@ -633,7 +633,13 @@ export default { //清空科室 cleardepartment() { this.queryParams.wardId = null - this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId) + if (this.queryParams.departmentId) { + this.getAgencyListinfo('DEPARTMENT', this.queryParams.departmentId) + } else if (this.queryParams.campusAgencyId) { + this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId) + } else if (this.queryParams.hospitalAgencyId) { + this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId) + } }, //续约 handleContinue(row) { diff --git a/src/views/manage/visitin/index.vue b/src/views/manage/visitin/index.vue index ed9c929..60afdfe 100644 --- a/src/views/manage/visitin/index.vue +++ b/src/views/manage/visitin/index.vue @@ -864,10 +864,22 @@ export default { cleardepartment(type) { if (type) { this.form.wardId = null - this.getAgencyListinfo('CAMPUS', this.form.campusAgencyId, type) + if (this.form.departmentId) { + this.getAgencyListinfo('DEPARTMENT', this.form.departmentId, type) + } else if (this.form.campusAgencyId) { + this.getAgencyListinfo('CAMPUS', this.form.campusAgencyId, type) + } else if (this.form.hospitalAgencyId) { + this.getAgencyListinfo('HOSPITAL', this.form.hospitalAgencyId, type) + } } else { this.queryParams.wardId = null - this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId) + if (this.queryParams.departmentId) { + this.getAgencyListinfo('DEPARTMENT', this.queryParams.departmentId) + } else if (this.queryParams.campusAgencyId) { + this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId) + } else if (this.queryParams.hospitalAgencyId) { + this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId) + } } }, /** 下载模板操作 */ diff --git a/src/views/manage/visitout/index.vue b/src/views/manage/visitout/index.vue index d1cd728..edd0972 100644 --- a/src/views/manage/visitout/index.vue +++ b/src/views/manage/visitout/index.vue @@ -1001,10 +1001,22 @@ export default { cleardepartment(type) { if (type) { this.form.wardId = null - this.getAgencyListinfo('CAMPUS', this.form.campusAgencyId, type) + if (this.form.departmentId) { + this.getAgencyListinfo('DEPARTMENT', this.form.departmentId, type) + } else if (this.form.campusAgencyId) { + this.getAgencyListinfo('CAMPUS', this.form.campusAgencyId, type) + } else if (this.form.hospitalAgencyId) { + this.getAgencyListinfo('HOSPITAL', this.form.hospitalAgencyId, type) + } } else { this.queryParams.wardId = null - this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId) + if (this.queryParams.departmentId) { + this.getAgencyListinfo('DEPARTMENT', this.queryParams.departmentId) + } else if (this.queryParams.campusAgencyId) { + this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId) + } else if (this.queryParams.hospitalAgencyId) { + this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId) + } } }, /** 下载模板操作 */ diff --git a/src/views/system/followup/index.vue b/src/views/system/followup/index.vue index ecc40c8..fa1c0d9 100644 --- a/src/views/system/followup/index.vue +++ b/src/views/system/followup/index.vue @@ -387,7 +387,13 @@ export default { //清空科室 cleardepartment() { this.queryParams.wardId = null - this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId) + if (this.queryParams.departmentId) { + this.getAgencyListinfo('DEPARTMENT', this.queryParams.departmentId) + } else if (this.queryParams.campusAgencyId) { + this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId) + } else if (this.queryParams.hospitalAgencyId) { + this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId) + } }, //获取医院list selectAgencyinfo() {