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