|  | @ -34,19 +34,19 @@ | 
		
	
		
			
				|  |  |         <div class="rightBox"> |  |  |         <div class="rightBox"> | 
		
	
		
			
				|  |  |           <el-tabs type="border-card" :value="timeAxisType" style="height: 100%" @tab-click="tabClick"> |  |  |           <el-tabs type="border-card" :value="timeAxisType" style="height: 100%" @tab-click="tabClick"> | 
		
	
		
			
				|  |  |             <el-tab-pane name="病史总览" label="病史总览" style="height: 100%"> |  |  |             <el-tab-pane name="病史总览" label="病史总览" style="height: 100%"> | 
		
	
		
			
				|  |  |               <overView v-if="timeAxisType==='病史总览'" :patient-id="patientId||$route.query.patientId" /> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |               <overView v-if="timeAxisType==='病史总览'" :patient-id="patientId||routePatientId" /> | 
		
	
		
			
				|  |  |             </el-tab-pane> |  |  |             </el-tab-pane> | 
		
	
		
			
				|  |  |             <el-tab-pane name="门诊病历" label="门诊病历" style="height: 100%"> |  |  |             <el-tab-pane name="门诊病历" label="门诊病历" style="height: 100%"> | 
		
	
		
			
				|  |  |               <medicalRecord :is-dev="isDev" :type-name="timeAxisType" :patient-id="patientId || $route.query.patientId" :is-search="isSearch || $route.query.isSearch" :only-read="readOnly" /> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |               <medicalRecord :is-dev="isDev" :type-name="timeAxisType" :patient-id="patientId || routePatientId" :is-search="isSearch || $route.query.isSearch" :only-read="readOnly" /> | 
		
	
		
			
				|  |  |             </el-tab-pane> |  |  |             </el-tab-pane> | 
		
	
		
			
				|  |  |             <el-tab-pane name="常规检查" label="常规检查" style="height: 100%"> |  |  |             <el-tab-pane name="常规检查" label="常规检查" style="height: 100%"> | 
		
	
		
			
				|  |  |               <routine v-if="timeAxisType==='常规检查'" :patient-id="patientId||$route.query.patientId" :date="date" :only-read="readOnly" /> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |               <routine v-if="timeAxisType==='常规检查'" :patient-id="patientId||routePatientId" :date="date" :only-read="readOnly" /> | 
		
	
		
			
				|  |  |             </el-tab-pane> |  |  |             </el-tab-pane> | 
		
	
		
			
				|  |  |             <el-tab-pane name="特殊检查" label="特殊检查" style="height: 100%"> |  |  |             <el-tab-pane name="特殊检查" label="特殊检查" style="height: 100%"> | 
		
	
		
			
				|  |  |               <special v-if="timeAxisType==='特殊检查'" :patient-id="patientId||$route.query.patientId" :only-read="readOnly" /> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |               <special v-if="timeAxisType==='特殊检查'" :patient-id="patientId||routePatientId" :only-read="readOnly" /> | 
		
	
		
			
				|  |  |             </el-tab-pane> |  |  |             </el-tab-pane> | 
		
	
		
			
				|  |  |             <el-tab-pane name="视光档案" label="视光档案" style="height: 100%"> |  |  |             <el-tab-pane name="视光档案" label="视光档案" style="height: 100%"> | 
		
	
		
			
				|  |  |               <opticalFile v-if="timeAxisType==='视光档案'" :is-dev="isDev" :patient-id="patientId||$route.query.patientId" :is-search="isSearch || $route.query.isSearch" :only-read="readOnly" /> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |               <opticalFile v-if="timeAxisType==='视光档案'" :is-dev="isDev" :patient-id="patientId||routePatientId" :is-search="isSearch || $route.query.isSearch" :only-read="readOnly" /> | 
		
	
		
			
				|  |  |             </el-tab-pane> |  |  |             </el-tab-pane> | 
		
	
		
			
				|  |  |             <el-tab-pane name="诊断" label="诊断" style="height: 100%"> |  |  |             <el-tab-pane name="诊断" label="诊断" style="height: 100%"> | 
		
	
		
			
				|  |  |               <el-table |  |  |               <el-table | 
		
	
	
		
			
				|  | @ -209,7 +209,7 @@ | 
		
	
		
			
				|  |  |               </el-table> |  |  |               </el-table> | 
		
	
		
			
				|  |  |             </el-tab-pane> |  |  |             </el-tab-pane> | 
		
	
		
			
				|  |  |             <el-tab-pane name="随访记录" label="随访记录" style="height: 100%"> |  |  |             <el-tab-pane name="随访记录" label="随访记录" style="height: 100%"> | 
		
	
		
			
				|  |  |               <followUpRecord v-if="timeAxisType==='随访记录'" :patient-id="patientId||$route.query.patientId" :only-read="readOnly" /> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |               <followUpRecord v-if="timeAxisType==='随访记录'" :patient-id="patientId||routePatientId" :only-read="readOnly" /> | 
		
	
		
			
				|  |  |             </el-tab-pane> |  |  |             </el-tab-pane> | 
		
	
		
			
				|  |  |           </el-tabs> |  |  |           </el-tabs> | 
		
	
		
			
				|  |  |         </div> |  |  |         </div> | 
		
	
	
		
			
				|  | @ -312,6 +312,13 @@ export default { | 
		
	
		
			
				|  |  |       } else { |  |  |       } else { | 
		
	
		
			
				|  |  |         return this.onlyRead |  |  |         return this.onlyRead | 
		
	
		
			
				|  |  |       } |  |  |       } | 
		
	
		
			
				|  |  |  |  |  |     }, | 
		
	
		
			
				|  |  |  |  |  |     routePatientId() { | 
		
	
		
			
				|  |  |  |  |  |       let pid = '' | 
		
	
		
			
				|  |  |  |  |  |       if (this.$route.query.patientId) { | 
		
	
		
			
				|  |  |  |  |  |         pid = this.$route.query.patientId.replace(/^0+/, '') | 
		
	
		
			
				|  |  |  |  |  |       } | 
		
	
		
			
				|  |  |  |  |  |       return pid | 
		
	
		
			
				|  |  |     } |  |  |     } | 
		
	
		
			
				|  |  |   }, |  |  |   }, | 
		
	
		
			
				|  |  |   watch: { |  |  |   watch: { | 
		
	
	
		
			
				|  | @ -442,7 +449,7 @@ export default { | 
		
	
		
			
				|  |  |         '/patient/view/getPatientData', |  |  |         '/patient/view/getPatientData', | 
		
	
		
			
				|  |  |         { |  |  |         { | 
		
	
		
			
				|  |  |           params: { |  |  |           params: { | 
		
	
		
			
				|  |  |             patientId: this.patientId || this.$route.query.patientId |  |  |  | 
		
	
		
			
				|  |  |  |  |  |             patientId: this.patientId || this.routePatientId | 
		
	
		
			
				|  |  |           } |  |  |           } | 
		
	
		
			
				|  |  |         } |  |  |         } | 
		
	
		
			
				|  |  |       ) |  |  |       ) | 
		
	
	
		
			
				|  | @ -458,7 +465,7 @@ export default { | 
		
	
		
			
				|  |  |         '/patient/view/getTimeAxisData', |  |  |         '/patient/view/getTimeAxisData', | 
		
	
		
			
				|  |  |         { |  |  |         { | 
		
	
		
			
				|  |  |           params: { |  |  |           params: { | 
		
	
		
			
				|  |  |             patientId: this.patientId || this.$route.query.patientId |  |  |  | 
		
	
		
			
				|  |  |  |  |  |             patientId: this.patientId || this.routePatientId | 
		
	
		
			
				|  |  |           } |  |  |           } | 
		
	
		
			
				|  |  |         } |  |  |         } | 
		
	
		
			
				|  |  |       ) |  |  |       ) | 
		
	
	
		
			
				|  | @ -481,7 +488,7 @@ export default { | 
		
	
		
			
				|  |  |         params: { |  |  |         params: { | 
		
	
		
			
				|  |  |           date: this.date, |  |  |           date: this.date, | 
		
	
		
			
				|  |  |           groupName: this.timeAxisType, |  |  |           groupName: this.timeAxisType, | 
		
	
		
			
				|  |  |           patientId: this.patientId || this.$route.query.patientId |  |  |  | 
		
	
		
			
				|  |  |  |  |  |           patientId: this.patientId || this.routePatientId | 
		
	
		
			
				|  |  |         } |  |  |         } | 
		
	
		
			
				|  |  |       }) |  |  |       }) | 
		
	
		
			
				|  |  |       if (res.code === 0) { |  |  |       if (res.code === 0) { | 
		
	
	
		
			
				|  | 
 |