|  |  | @ -47,13 +47,11 @@ | 
			
		
	
		
			
				
					|  |  |  |         <eyesVision | 
			
		
	
		
			
				
					|  |  |  |           v-if="name === '双眼视功能检查报告单'" | 
			
		
	
		
			
				
					|  |  |  |           ref="eyes" | 
			
		
	
		
			
				
					|  |  |  |           :form-date="formDate" | 
			
		
	
		
			
				
					|  |  |  |           :case-id="id" | 
			
		
	
		
			
				
					|  |  |  |           :only-read="onlyRead" | 
			
		
	
		
			
				
					|  |  |  |           :patient-id="patientId" | 
			
		
	
		
			
				
					|  |  |  |           :is-search="isSearch" | 
			
		
	
		
			
				
					|  |  |  |           :form-content="eyesData" | 
			
		
	
		
			
				
					|  |  |  |           @save="updateForm" | 
			
		
	
		
			
				
					|  |  |  |           @del="deleteForm" | 
			
		
	
		
			
				
					|  |  |  |         /> | 
			
		
	
		
			
				
					|  |  |  |         <optometryForm v-if="name === '验光报告单'" ref="optome" :case-id="id" :only-read="onlyRead" :patient-id="patientId" :is-search="isSearch" @del="deleteForm" /> | 
			
		
	
	
		
			
				
					|  |  | @ -62,14 +60,12 @@ | 
			
		
	
		
			
				
					|  |  |  |           ref="three" | 
			
		
	
		
			
				
					|  |  |  |           :only-read="onlyRead" | 
			
		
	
		
			
				
					|  |  |  |           :case-id="id" | 
			
		
	
		
			
				
					|  |  |  |           :form-date="formDate" | 
			
		
	
		
			
				
					|  |  |  |           :patient-id="patientId" | 
			
		
	
		
			
				
					|  |  |  |           :is-search="isSearch" | 
			
		
	
		
			
				
					|  |  |  |           :form-content="threeData" | 
			
		
	
		
			
				
					|  |  |  |           @save="updateForm" | 
			
		
	
		
			
				
					|  |  |  |           @del="deleteForm" | 
			
		
	
		
			
				
					|  |  |  |         /> | 
			
		
	
		
			
				
					|  |  |  |         <deveopmentFile v-show="name === '屈光发育档案'" ref="deveope" :case-id="id" :only-read="onlyRead" :patient-id="patientId" :is-search="isSearch" :form-content="deveopData" @save="updateForm" @del="deleteForm" /> | 
			
		
	
		
			
				
					|  |  |  |         <deveopmentFile v-show="name === '屈光发育档案'" ref="deveope" :case-id="id" :only-read="onlyRead" :patient-id="patientId" :is-search="isSearch" :form-content="deveopData" @del="deleteForm" /> | 
			
		
	
		
			
				
					|  |  |  |       </div> | 
			
		
	
		
			
				
					|  |  |  |     </div> | 
			
		
	
		
			
				
					|  |  |  |   </div> | 
			
		
	
	
		
			
				
					|  |  | @ -119,8 +115,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |       threeData: {}, | 
			
		
	
		
			
				
					|  |  |  |       optomeData: {}, | 
			
		
	
		
			
				
					|  |  |  |       eyesData: {}, | 
			
		
	
		
			
				
					|  |  |  |       formType: '报告单', | 
			
		
	
		
			
				
					|  |  |  |       formDate: '' | 
			
		
	
		
			
				
					|  |  |  |       formType: '报告单' | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |   mounted() { | 
			
		
	
	
		
			
				
					|  |  | @ -131,7 +126,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |       this.curIndex = index | 
			
		
	
		
			
				
					|  |  |  |       this.id = item.id | 
			
		
	
		
			
				
					|  |  |  |       this.name = item.name | 
			
		
	
		
			
				
					|  |  |  |       this.formDate = item.createTime | 
			
		
	
		
			
				
					|  |  |  |       if (item.name === '验光报告单') { | 
			
		
	
		
			
				
					|  |  |  |         this.$nextTick(() => { | 
			
		
	
		
			
				
					|  |  |  |           this.$refs.optome.queryForm() | 
			
		
	
	
		
			
				
					|  |  | @ -164,10 +158,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |         this.$message.error(res.msg) | 
			
		
	
		
			
				
					|  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |     // 编辑保存表单内容 | 
			
		
	
		
			
				
					|  |  |  |     updateForm() { | 
			
		
	
		
			
				
					|  |  |  |       this.getFormList() | 
			
		
	
		
			
				
					|  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |     async deleteForm() { | 
			
		
	
		
			
				
					|  |  |  |       const params = { | 
			
		
	
		
			
				
					|  |  |  |         id: this.id | 
			
		
	
	
		
			
				
					|  |  | 
 |