|  |  | @ -186,7 +186,7 @@ | 
			
		
	
		
			
				
					|  |  |  |               </div> | 
			
		
	
		
			
				
					|  |  |  |               <div v-if="scope.row.name == '眼位'"> | 
			
		
	
		
			
				
					|  |  |  |                 <div class="width-180 center"> | 
			
		
	
		
			
				
					|  |  |  |                   <el-input v-model="formData.ywFar" placeholder=""> | 
			
		
	
		
			
				
					|  |  |  |                   <el-input v-model="formData.ywYuan" placeholder=""> | 
			
		
	
		
			
				
					|  |  |  |                     <template slot="prepend">远:</template> | 
			
		
	
		
			
				
					|  |  |  |                   </el-input> | 
			
		
	
		
			
				
					|  |  |  |                 </div> | 
			
		
	
	
		
			
				
					|  |  | @ -326,7 +326,7 @@ | 
			
		
	
		
			
				
					|  |  |  |                       </div> | 
			
		
	
		
			
				
					|  |  |  |                     </div> | 
			
		
	
		
			
				
					|  |  |  |                     <div style="display: flex"> | 
			
		
	
		
			
				
					|  |  |  |                       <span style="width: 160px;">斜              视:</span> | 
			
		
	
		
			
				
					|  |  |  |                       <span style="width: 160px;">斜               视:</span> | 
			
		
	
		
			
				
					|  |  |  |                       <div style="width: 100%;display: flex;flex-wrap: wrap;"> | 
			
		
	
		
			
				
					|  |  |  |                         <div v-for="(item,index) in strabismusList" :key="index" class="check" style="margin-left: 22px;font-size: 14px" @click="item.isSelect = !item.isSelect"> | 
			
		
	
		
			
				
					|  |  |  |                           <input type="checkbox" :checked="item.isSelect"> | 
			
		
	
	
		
			
				
					|  |  | @ -503,6 +503,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |   data() { | 
			
		
	
		
			
				
					|  |  |  |     return { | 
			
		
	
		
			
				
					|  |  |  |       formData: { | 
			
		
	
		
			
				
					|  |  |  |         idList: [], | 
			
		
	
		
			
				
					|  |  |  |         patientId: '', | 
			
		
	
		
			
				
					|  |  |  |         patientName: '', | 
			
		
	
		
			
				
					|  |  |  |         patientSex: '', | 
			
		
	
	
		
			
				
					|  |  | @ -701,7 +702,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |           name: '散开过度', | 
			
		
	
		
			
				
					|  |  |  |           isSelect: false | 
			
		
	
		
			
				
					|  |  |  |         }, { | 
			
		
	
		
			
				
					|  |  |  |           name: `内隐科`, | 
			
		
	
		
			
				
					|  |  |  |           name: '内隐科', | 
			
		
	
		
			
				
					|  |  |  |           isSelect: false | 
			
		
	
		
			
				
					|  |  |  |         }, { | 
			
		
	
		
			
				
					|  |  |  |           name: '外隐科', | 
			
		
	
	
		
			
				
					|  |  | @ -814,6 +815,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |         const form = data.data.data | 
			
		
	
		
			
				
					|  |  |  |         this.formData = form | 
			
		
	
		
			
				
					|  |  |  |         if (!this.formData.id) { | 
			
		
	
		
			
				
					|  |  |  |           this.queryProject() | 
			
		
	
		
			
				
					|  |  |  |           this.formData.ctYuan = this.formData.ctJin = '正位' | 
			
		
	
		
			
				
					|  |  |  |           this.formData.ctYqyd = '正常' | 
			
		
	
		
			
				
					|  |  |  |           this.formData.worth1 = this.formData.worth3 = '4个' | 
			
		
	
	
		
			
				
					|  |  | @ -859,6 +861,35 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |         this.$message.error(res.msg) | 
			
		
	
		
			
				
					|  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |     // 获取报告单id | 
			
		
	
		
			
				
					|  |  |  |     async queryProject() { | 
			
		
	
		
			
				
					|  |  |  |       const project = window.localStorage.getItem('projectItem') ? JSON.parse(window.localStorage.getItem('projectItem')) : [] | 
			
		
	
		
			
				
					|  |  |  |       const { data: res } = await this.$http.get( | 
			
		
	
		
			
				
					|  |  |  |         '/patient/getZlItemDict', | 
			
		
	
		
			
				
					|  |  |  |         { | 
			
		
	
		
			
				
					|  |  |  |           params: { | 
			
		
	
		
			
				
					|  |  |  |             caseName: '双眼视功能检查报告单' | 
			
		
	
		
			
				
					|  |  |  |           } | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |       ) | 
			
		
	
		
			
				
					|  |  |  |       if (res.code === 0) { | 
			
		
	
		
			
				
					|  |  |  |         const data = res.data || [] | 
			
		
	
		
			
				
					|  |  |  |         const list = [] | 
			
		
	
		
			
				
					|  |  |  |         if (data.length) { | 
			
		
	
		
			
				
					|  |  |  |           for (let i = 0; i < data.length; i++) { | 
			
		
	
		
			
				
					|  |  |  |             for (let j = 0; j < project.length; j++) { | 
			
		
	
		
			
				
					|  |  |  |               if (data[i].itemId === project[j].porjectCode) { | 
			
		
	
		
			
				
					|  |  |  |                 list.push(project[j].id) | 
			
		
	
		
			
				
					|  |  |  |               } | 
			
		
	
		
			
				
					|  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |           } | 
			
		
	
		
			
				
					|  |  |  |           console.log('list', list) | 
			
		
	
		
			
				
					|  |  |  |           this.formData.idList = list | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |       } else { | 
			
		
	
		
			
				
					|  |  |  |         this.$message.error(res.msg) | 
			
		
	
		
			
				
					|  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |     // 处理字符串 | 
			
		
	
		
			
				
					|  |  |  |     handleStr(string, array) { | 
			
		
	
		
			
				
					|  |  |  |       if (string) { | 
			
		
	
	
		
			
				
					|  |  | @ -1001,7 +1032,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  |   .center { | 
			
		
	
		
			
				
					|  |  |  |     text-align: center; | 
			
		
	
		
			
				
					|  |  |  |     text-align: left; | 
			
		
	
		
			
				
					|  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  |   .left { | 
			
		
	
		
			
				
					|  |  |  |     text-align: left; | 
			
		
	
	
		
			
				
					|  |  | @ -1034,7 +1065,23 @@ export default { | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
		
			
				
					|  |  |  | </style> | 
			
		
	
		
			
				
					|  |  |  | <style lang="scss"> | 
			
		
	
		
			
				
					|  |  |  | #operation-record{ | 
			
		
	
		
			
				
					|  |  |  | #eyesFunc{ | 
			
		
	
		
			
				
					|  |  |  |   .operation-record-table{ | 
			
		
	
		
			
				
					|  |  |  |     .center { | 
			
		
	
		
			
				
					|  |  |  |       text-align: left; | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  |   .el-table th { | 
			
		
	
		
			
				
					|  |  |  |     border-color: #8e8c8c !important; | 
			
		
	
		
			
				
					|  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  |   .el-table td { | 
			
		
	
		
			
				
					|  |  |  |     border-color: #8e8c8c !important; | 
			
		
	
		
			
				
					|  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  |   .el-table--group, | 
			
		
	
		
			
				
					|  |  |  |   .el-table--border { | 
			
		
	
		
			
				
					|  |  |  |     border: 1px solid #8e8c8c !important; | 
			
		
	
		
			
				
					|  |  |  |     border-bottom: none !important; | 
			
		
	
		
			
				
					|  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  |   .el-icon-arrow-up{ | 
			
		
	
		
			
				
					|  |  |  |     display: none; | 
			
		
	
		
			
				
					|  |  |  |   } | 
			
		
	
	
		
			
				
					|  |  | 
 |