|  |  | @ -37,16 +37,16 @@ | 
			
		
	
		
			
				
					|  |  |  |               <overView :patient-id="patientId||$route.query.patientId" /> | 
			
		
	
		
			
				
					|  |  |  |             </el-tab-pane> | 
			
		
	
		
			
				
					|  |  |  |             <el-tab-pane name="门诊病历" label="门诊病历" style="height: 100%"> | 
			
		
	
		
			
				
					|  |  |  |               <medicalRecord :type-name="timeAxisType" :patient-id="patientId || $route.query.patientId" :is-search="isSearch || $route.query.isSearch" :only-read="onlyRead || JSON.parse($route.query.onlyRead)" /> | 
			
		
	
		
			
				
					|  |  |  |               <medicalRecord :type-name="timeAxisType" :patient-id="patientId || $route.query.patientId" :is-search="isSearch || $route.query.isSearch" :only-read="readOnly" /> | 
			
		
	
		
			
				
					|  |  |  |             </el-tab-pane> | 
			
		
	
		
			
				
					|  |  |  |             <el-tab-pane name="常规检查" label="常规检查" style="height: 100%"> | 
			
		
	
		
			
				
					|  |  |  |               <routine :patient-id="patientId||$route.query.patientId" :date="date" :only-read="onlyRead || JSON.parse($route.query.onlyRead)" /> | 
			
		
	
		
			
				
					|  |  |  |               <routine :patient-id="patientId||$route.query.patientId" :date="date" :only-read="readOnly" /> | 
			
		
	
		
			
				
					|  |  |  |             </el-tab-pane> | 
			
		
	
		
			
				
					|  |  |  |             <el-tab-pane name="特殊检查" label="特殊检查" style="height: 100%"> | 
			
		
	
		
			
				
					|  |  |  |               <special :patient-id="patientId||$route.query.patientId" :only-read="onlyRead || JSON.parse($route.query.onlyRead)" /> | 
			
		
	
		
			
				
					|  |  |  |               <special :patient-id="patientId||$route.query.patientId" :only-read="readOnly" /> | 
			
		
	
		
			
				
					|  |  |  |             </el-tab-pane> | 
			
		
	
		
			
				
					|  |  |  |             <el-tab-pane name="视光档案" label="视光档案" style="height: 100%"> | 
			
		
	
		
			
				
					|  |  |  |               <opticalFile :patient-id="patientId||$route.query.patientId" :is-search="isSearch || $route.query.isSearch" :only-read="onlyRead || JSON.parse($route.query.onlyRead)" /> | 
			
		
	
		
			
				
					|  |  |  |               <opticalFile :patient-id="patientId||$route.query.patientId" :is-search="isSearch || $route.query.isSearch" :only-read="readOnly" /> | 
			
		
	
		
			
				
					|  |  |  |             </el-tab-pane> | 
			
		
	
		
			
				
					|  |  |  |             <el-tab-pane name="诊断" label="诊断" style="height: 100%"> | 
			
		
	
		
			
				
					|  |  |  |               <el-table | 
			
		
	
	
		
			
				
					|  |  | @ -205,7 +205,7 @@ | 
			
		
	
		
			
				
					|  |  |  |               </el-table> | 
			
		
	
		
			
				
					|  |  |  |             </el-tab-pane> | 
			
		
	
		
			
				
					|  |  |  |             <el-tab-pane name="随访记录" label="随访记录" style="height: 100%"> | 
			
		
	
		
			
				
					|  |  |  |               <followUpRecord :patient-id="patientId||$route.query.patientId" :only-read="onlyRead || JSON.parse($route.query.onlyRead)" /> | 
			
		
	
		
			
				
					|  |  |  |               <followUpRecord :patient-id="patientId||$route.query.patientId" :only-read="readOnly" /> | 
			
		
	
		
			
				
					|  |  |  |             </el-tab-pane> | 
			
		
	
		
			
				
					|  |  |  |           </el-tabs> | 
			
		
	
		
			
				
					|  |  |  |         </div> | 
			
		
	
	
		
			
				
					|  |  | @ -294,6 +294,15 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |       dataForm: {} | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |   computed: { | 
			
		
	
		
			
				
					|  |  |  |     readOnly() { | 
			
		
	
		
			
				
					|  |  |  |       if (this.$route.query.onlyRead) { | 
			
		
	
		
			
				
					|  |  |  |         return JSON.parse(this.$route.query.onlyRead) | 
			
		
	
		
			
				
					|  |  |  |       } else { | 
			
		
	
		
			
				
					|  |  |  |         return this.onlyRead | 
			
		
	
		
			
				
					|  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |   watch: { | 
			
		
	
		
			
				
					|  |  |  |     display(val) { | 
			
		
	
		
			
				
					|  |  |  |       if (val) { | 
			
		
	
	
		
			
				
					|  |  | 
 |