|  |  | @ -6,6 +6,10 @@ | 
			
		
	
		
			
				
					|  |  |  |       <el-button type="danger" size="small" @click="handleDelete">删除</el-button> | 
			
		
	
		
			
				
					|  |  |  |     </div> | 
			
		
	
		
			
				
					|  |  |  |     <div id="eyesFunc" style="width: 840px;padding-right: 8px" class="printBox"> | 
			
		
	
		
			
				
					|  |  |  |       <div class="flex j-c"> | 
			
		
	
		
			
				
					|  |  |  |         <img width="450" src="@/assets/img/xianganlogo.png"> | 
			
		
	
		
			
				
					|  |  |  |       </div> | 
			
		
	
		
			
				
					|  |  |  |       <hr> | 
			
		
	
		
			
				
					|  |  |  |       <p style="color:#000000;font-size:32px;margin:0 0 30px 0;text-align:center;"> | 
			
		
	
		
			
				
					|  |  |  |         双眼视功能检查报告单 | 
			
		
	
		
			
				
					|  |  |  |       </p> | 
			
		
	
	
		
			
				
					|  |  | @ -15,7 +19,7 @@ | 
			
		
	
		
			
				
					|  |  |  |         <span>性别:<el-input v-model="dataForm.patientSex" style="width: 120px" size="small" clearable placeholder="" /></span> | 
			
		
	
		
			
				
					|  |  |  |         <span>年龄:<el-input v-model="dataForm.patientAge" style="width: 120px" size="small" clearable placeholder="" /></span> | 
			
		
	
		
			
				
					|  |  |  |       </div> | 
			
		
	
		
			
				
					|  |  |  |       <div class="operation-record-table"> | 
			
		
	
		
			
				
					|  |  |  |       <div class="operation-record-table eyesTable"> | 
			
		
	
		
			
				
					|  |  |  |         <el-table :data="tableData" :span-method="objectSpanMethod" border style="width: 100%; margin-top: 20px"> | 
			
		
	
		
			
				
					|  |  |  |           <el-table-column label="" width="" align="center" :resizable="false"> | 
			
		
	
		
			
				
					|  |  |  |             <template slot-scope="scope"> | 
			
		
	
	
		
			
				
					|  |  | @ -194,17 +198,17 @@ | 
			
		
	
		
			
				
					|  |  |  |                     </div> | 
			
		
	
		
			
				
					|  |  |  |                   </div> | 
			
		
	
		
			
				
					|  |  |  |                   <div v-if="scope.row.a.length" style="display: flex"> | 
			
		
	
		
			
				
					|  |  |  |                     <div style="width: 220px;">聚散功能异常:</div> | 
			
		
	
		
			
				
					|  |  |  |                     <div style="display: flex;flex-wrap: wrap"> | 
			
		
	
		
			
				
					|  |  |  |                     <div style="width: 200px;word-break: keep-all">聚散功能异常:</div> | 
			
		
	
		
			
				
					|  |  |  |                     <div style="display: flex;flex-wrap: wrap;line-height: 30px"> | 
			
		
	
		
			
				
					|  |  |  |                       <div v-for="(item,index) in scope.row.a" :key="index" class="check" @click="item.isSelect = !item.isSelect"> | 
			
		
	
		
			
				
					|  |  |  |                         <input type="checkbox" :checked="item.isSelect"> | 
			
		
	
		
			
				
					|  |  |  |                         <div>{{ item.name }}</div> | 
			
		
	
		
			
				
					|  |  |  |                       </div> | 
			
		
	
		
			
				
					|  |  |  |                   </div> | 
			
		
	
		
			
				
					|  |  |  |                     </div> | 
			
		
	
		
			
				
					|  |  |  |                   </div> | 
			
		
	
		
			
				
					|  |  |  |                   <div style="display: flex"> | 
			
		
	
		
			
				
					|  |  |  |                     <p style="width: 140px;">调节功能异常:</p> | 
			
		
	
		
			
				
					|  |  |  |                     <div style="display: flex;flex-wrap: wrap"> | 
			
		
	
		
			
				
					|  |  |  |                     <p style="width: 135px;;word-break: keep-all">调节功能异常:</p> | 
			
		
	
		
			
				
					|  |  |  |                     <div style="display: flex;flex-wrap: wrap;line-height: 30px"> | 
			
		
	
		
			
				
					|  |  |  |                       <div v-for="(item,index) in scope.row.b" :key="index" class="check" @click="item.isSelect = !item.isSelect"> | 
			
		
	
		
			
				
					|  |  |  |                         <input type="checkbox" :checked="item.isSelect"> | 
			
		
	
		
			
				
					|  |  |  |                         <div>{{ item.name }}</div> | 
			
		
	
	
		
			
				
					|  |  | @ -529,7 +533,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |   created() { | 
			
		
	
		
			
				
					|  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |   mounted() { | 
			
		
	
		
			
				
					|  |  |  |   this.originTableData = JSON.parse(JSON.stringify(this.tableData)) | 
			
		
	
		
			
				
					|  |  |  |     this.originTableData = JSON.parse(JSON.stringify(this.tableData)) | 
			
		
	
		
			
				
					|  |  |  |     this.getPatientData() | 
			
		
	
		
			
				
					|  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |   methods: { | 
			
		
	
	
		
			
				
					|  |  | @ -552,12 +556,12 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |     async getPatientData() { | 
			
		
	
		
			
				
					|  |  |  |       const { data: res } = await this.$http.get( | 
			
		
	
		
			
				
					|  |  |  |           '/patient/view/getPatientData', | 
			
		
	
		
			
				
					|  |  |  |           { | 
			
		
	
		
			
				
					|  |  |  |             params: { | 
			
		
	
		
			
				
					|  |  |  |               patientId: this.patientId | 
			
		
	
		
			
				
					|  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |         '/patient/view/getPatientData', | 
			
		
	
		
			
				
					|  |  |  |         { | 
			
		
	
		
			
				
					|  |  |  |           params: { | 
			
		
	
		
			
				
					|  |  |  |             patientId: this.patientId | 
			
		
	
		
			
				
					|  |  |  |           } | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |       ) | 
			
		
	
		
			
				
					|  |  |  |       if (res.code === 0) { | 
			
		
	
		
			
				
					|  |  |  |         this.dataForm = res.data | 
			
		
	
	
		
			
				
					|  |  | @ -617,6 +621,15 @@ export default { | 
			
		
	
		
			
				
					|  |  |  | </script> | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | <style lang="scss"> | 
			
		
	
		
			
				
					|  |  |  | .flex{ | 
			
		
	
		
			
				
					|  |  |  |   display: flex; | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
		
			
				
					|  |  |  | .j-c{ | 
			
		
	
		
			
				
					|  |  |  |   justify-content: center; | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
		
			
				
					|  |  |  | .el-table__cell{ | 
			
		
	
		
			
				
					|  |  |  |   padding: 7px 0 !important; | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
		
			
				
					|  |  |  | .check { | 
			
		
	
		
			
				
					|  |  |  |   cursor: pointer; | 
			
		
	
		
			
				
					|  |  |  |   user-select: none; | 
			
		
	
	
		
			
				
					|  |  | 
 |