src/views/patient/patient/behospitalized.vue
@@ -598,10 +598,10 @@ getList() { this.loading = true; if (this.queryParams.searchscope == 3) { this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map( this.queryParams.leaveldeptcodes = store.getters.belongDepts.map( (obj) => obj.deptCode ); this.topqueryParams.leavehospitaldistrictcodes = this.queryParams.leavehospitaldistrictcodes = store.getters.belongWards.map((obj) => obj.districtCode); } listpatient(this.queryParams).then((response) => {