| 
														
															@@ -44,8 +44,8 @@ import { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } from "@/api/zhu-yuan-yi-sheng/emr-patient"; 
														 | 
														
														 | 
														
															 } from "@/api/zhu-yuan-yi-sheng/emr-patient"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import {BizException, ExceptionEnum} from "@/utils/BizException"; 
														 | 
														
														 | 
														
															 import {BizException, ExceptionEnum} from "@/utils/BizException"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import {emrConfig} from '@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-init' 
														 | 
														
														 | 
														
															 import {emrConfig} from '@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-init' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-import {getWardsApi} from "@/api/login"; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import {stringIsBlank} from "@/utils/blank-utils"; 
														 | 
														
														 | 
														
															 import {stringIsBlank} from "@/utils/blank-utils"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import {getAllWards} from "@/api/zhu-yuan-yi-sheng/resident-doctor"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 const props = defineProps({ 
														 | 
														
														 | 
														
															 const props = defineProps({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   maxHeight: { 
														 | 
														
														 | 
														
															   maxHeight: { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -234,7 +234,7 @@ const nullToEmpty = (val) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 onMounted(() => { 
														 | 
														
														 | 
														
															 onMounted(() => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   queryData() 
														 | 
														
														 | 
														
															   queryData() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   if (editor) { 
														 | 
														
														 | 
														
															   if (editor) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    getWardsApi().then((res) => { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    getAllWards().then((res) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       if (res.length > 0) { 
														 | 
														
														 | 
														
															       if (res.length > 0) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         for (let i = 0, len = res.length; i < len; i++) { 
														 | 
														
														 | 
														
															         for (let i = 0, len = res.length; i < len; i++) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           wardList.push(res[i].code) 
														 | 
														
														 | 
														
															           wardList.push(res[i].code) 
														 |