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