| 
					
				 | 
			
			
				@@ -1,5 +1,4 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  <button @click="getOperationGuide"></button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <div style="overflow: auto"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <div style="color:#000; height: 947px;width:2063px "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div class="yz__header"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -24,6 +23,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  @click="item.func? item.func(index) :  handleClick(item.path)"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <span> {{ item.title }}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <div @click="downloadGuide" style="background-color: red;color: white"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <span>操作指南 {{ fileName }}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <router-view v-slot="{ Component }"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <keep-alive> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -48,8 +50,8 @@ import { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import PatientList from "@/components/zhu-yuan-yi-sheng/public/PatientList"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import {getDrgIntelligentGrouping} from "@/api/zhu-yuan-yi-sheng/emr-patient"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import {getJyJcZdTree} from "@/api/zhu-yuan-yi-sheng/jian-yan-jian-cha-shen-qing"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import {getOperationGuide} from "@/api/public-api"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import {ElMessageBox} from "element-plus"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import {getOperationGuide} from "@/api/public-api"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const windowSize = computed(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   return store.state.app.windowSize 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -60,7 +62,14 @@ const width = store.state.app.windowSize.w - 158 + 'px' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const xianShiLieBiao = ref(true) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const basicPatientInformation = ref(true) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+let fileName = $ref('v1.1.0') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 watch(() => router.currentRoute.value.path, () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  getOperationGuide().then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    fileName = res 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }).catch(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    fileName = 'v1.1.0' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   let path = router.currentRoute.value.path 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   if (path === '/inpatient/zhuYuanYiSheng/dianZiBingLi') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     xianShiLieBiao.value = false 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -108,12 +117,6 @@ let pathList = $ref([ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         window.open(res) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    title: '操作指南 v1.1.1', func: (index) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      window.open(`http://webhis.thyy.cn:8080/download/操作指南/住院医生${pathList[index].title}.docx`, '_blank') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    path: 'download' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 ]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -131,7 +134,10 @@ const currentPagePosition = (val) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       color: '#fff' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+const downloadGuide = () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  window.open(`http://webhis.thyy.cn:8080/download/操作指南/住院医生操作指南 ${fileName}.docx`, '_blank') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |