|  | @ -54,16 +54,16 @@ | 
		
	
		
			
				|  |  |             <el-table-column prop="brand" label="品牌" header-align="center" align="center"> |  |  |             <el-table-column prop="brand" label="品牌" header-align="center" align="center"> | 
		
	
		
			
				|  |  |               <template slot-scope="scope"> |  |  |               <template slot-scope="scope"> | 
		
	
		
			
				|  |  |                 <div v-if="scope.row.brandEyeTypeList && scope.row.brandEyeTypeList.length"> |  |  |                 <div v-if="scope.row.brandEyeTypeList && scope.row.brandEyeTypeList.length"> | 
		
	
		
			
				|  |  |                   <span class="odType">{{ scope.row.brandEyeTypeList[0]. brand }}</span>/ |  |  |  | 
		
	
		
			
				|  |  |                   <span class="osType">{{ scope.row.brandEyeTypeList[1].brand }}</span> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |                   <span class="odType">{{ scope.row.brandEyeTypeList[0]. brand }}</span> | 
		
	
		
			
				|  |  |  |  |  |                   <span class="osType">{{ scope.row.brandEyeTypeList[1] ? '/' + scope.row.brandEyeTypeList[1].brand : '' }}</span> | 
		
	
		
			
				|  |  |                 </div> |  |  |                 </div> | 
		
	
		
			
				|  |  |               </template> |  |  |               </template> | 
		
	
		
			
				|  |  |             </el-table-column> |  |  |             </el-table-column> | 
		
	
		
			
				|  |  |             <el-table-column prop="eyeType" label="眼别" header-align="center" align="center"> |  |  |             <el-table-column prop="eyeType" label="眼别" header-align="center" align="center"> | 
		
	
		
			
				|  |  |               <template slot-scope="scope"> |  |  |               <template slot-scope="scope"> | 
		
	
		
			
				|  |  |                 <div v-if="scope.row.brandEyeTypeList && scope.row.brandEyeTypeList.length"> |  |  |                 <div v-if="scope.row.brandEyeTypeList && scope.row.brandEyeTypeList.length"> | 
		
	
		
			
				|  |  |                   <span class="odType">{{ scope.row.brandEyeTypeList[0].eyeType }}</span>/ |  |  |  | 
		
	
		
			
				|  |  |                   <span class="osType">{{ scope.row.brandEyeTypeList[1].eyeType }}</span> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |                   <span class="odType">{{ scope.row.brandEyeTypeList[0].eyeType }}</span> | 
		
	
		
			
				|  |  |  |  |  |                   <span class="osType">{{ scope.row.brandEyeTypeList[1] ? '/' + scope.row.brandEyeTypeList[1].eyeType : ''}}</span> | 
		
	
		
			
				|  |  |                 </div> |  |  |                 </div> | 
		
	
		
			
				|  |  |               </template> |  |  |               </template> | 
		
	
		
			
				|  |  |             </el-table-column> |  |  |             </el-table-column> | 
		
	
	
		
			
				|  | @ -100,10 +100,15 @@ | 
		
	
		
			
				|  |  |             <el-table-column prop="operation" label="操作" header-align="center" align="center"> |  |  |             <el-table-column prop="operation" label="操作" header-align="center" align="center"> | 
		
	
		
			
				|  |  |               <template slot-scope="scope"> |  |  |               <template slot-scope="scope"> | 
		
	
		
			
				|  |  |                 <span |  |  |                 <span | 
		
	
		
			
				|  |  |                   style="color: #1890ff; padding-right: 8px" |  |  |  | 
		
	
		
			
				|  |  |  |  |  |                   style="color: #1890ff; padding-right: 16px" | 
		
	
		
			
				|  |  |                   class="operation-details" |  |  |                   class="operation-details" | 
		
	
		
			
				|  |  |                   @click="browseClick(scope.row)" |  |  |                   @click="browseClick(scope.row)" | 
		
	
		
			
				|  |  |                 >离焦眼镜</span> |  |  |                 >离焦眼镜</span> | 
		
	
		
			
				|  |  |  |  |  |                 <span | 
		
	
		
			
				|  |  |  |  |  |                   style="color: #ff183b;" | 
		
	
		
			
				|  |  |  |  |  |                   class="operation-details" | 
		
	
		
			
				|  |  |  |  |  |                   @click="handleDel(scope.row)" | 
		
	
		
			
				|  |  |  |  |  |                 >删除</span> | 
		
	
		
			
				|  |  |               </template> |  |  |               </template> | 
		
	
		
			
				|  |  |             </el-table-column> |  |  |             </el-table-column> | 
		
	
		
			
				|  |  |           </el-table> |  |  |           </el-table> | 
		
	
	
		
			
				|  | @ -186,21 +191,39 @@ export default { | 
		
	
		
			
				|  |  |       this.detailViewVisible = true |  |  |       this.detailViewVisible = true | 
		
	
		
			
				|  |  |       this.patientId = scopeRow.patientId |  |  |       this.patientId = scopeRow.patientId | 
		
	
		
			
				|  |  |       this.patientIdNumber = scopeRow.patientIdNumber |  |  |       this.patientIdNumber = scopeRow.patientIdNumber | 
		
	
		
			
				|  |  |       // this.$router.push({ |  |  |  | 
		
	
		
			
				|  |  |       //   path: '/patientInfo', |  |  |  | 
		
	
		
			
				|  |  |       //   query: { |  |  |  | 
		
	
		
			
				|  |  |       //     info: this.$Base64.encode(JSON.stringify({ |  |  |  | 
		
	
		
			
				|  |  |       //       patientIdNumber: scopeRow.patientIdNumber, |  |  |  | 
		
	
		
			
				|  |  |       //       patientId: scopeRow.patientId |  |  |  | 
		
	
		
			
				|  |  |       //     })) |  |  |  | 
		
	
		
			
				|  |  |       //   } |  |  |  | 
		
	
		
			
				|  |  |       // }) |  |  |  | 
		
	
		
			
				|  |  |     }, |  |  |     }, | 
		
	
		
			
				|  |  |     handleType(value, index) { |  |  |     handleType(value, index) { | 
		
	
		
			
				|  |  |       this.curIndex = index |  |  |       this.curIndex = index | 
		
	
		
			
				|  |  |       this.dataForm.nextCheckFlag = value |  |  |       this.dataForm.nextCheckFlag = value | 
		
	
		
			
				|  |  |       this.getDataListInitial() |  |  |       this.getDataListInitial() | 
		
	
		
			
				|  |  |     }, |  |  |     }, | 
		
	
		
			
				|  |  |  |  |  |     // 删除 | 
		
	
		
			
				|  |  |  |  |  |     handleDel(row) { | 
		
	
		
			
				|  |  |  |  |  |       this.$confirm('此操作将永久删除该数据, 是否继续?', '提示', { | 
		
	
		
			
				|  |  |  |  |  |         confirmButtonText: '确定', | 
		
	
		
			
				|  |  |  |  |  |         cancelButtonText: '取消', | 
		
	
		
			
				|  |  |  |  |  |         type: 'warning' | 
		
	
		
			
				|  |  |  |  |  |       }).then(() => { | 
		
	
		
			
				|  |  |  |  |  |         this.deletePatient(row.id) | 
		
	
		
			
				|  |  |  |  |  |       }).catch(() => { | 
		
	
		
			
				|  |  |  |  |  |         this.$message({ | 
		
	
		
			
				|  |  |  |  |  |           type: 'info', | 
		
	
		
			
				|  |  |  |  |  |           message: '已取消删除' | 
		
	
		
			
				|  |  |  |  |  |         }) | 
		
	
		
			
				|  |  |  |  |  |       }) | 
		
	
		
			
				|  |  |  |  |  |     }, | 
		
	
		
			
				|  |  |  |  |  |     async deletePatient(id) { | 
		
	
		
			
				|  |  |  |  |  |       const params = { | 
		
	
		
			
				|  |  |  |  |  |         id: id | 
		
	
		
			
				|  |  |  |  |  |       } | 
		
	
		
			
				|  |  |  |  |  |       const { data: res } = await this.$http.post('/defocused/delPatientInfo', params) | 
		
	
		
			
				|  |  |  |  |  |       if (res.code === 0) { | 
		
	
		
			
				|  |  |  |  |  |         this.$message.success('删除成功') | 
		
	
		
			
				|  |  |  |  |  |         await this.pageCurrentChangeHandle(this.page) | 
		
	
		
			
				|  |  |  |  |  |       } else { | 
		
	
		
			
				|  |  |  |  |  |         this.$message.error(res.msg) | 
		
	
		
			
				|  |  |  |  |  |       } | 
		
	
		
			
				|  |  |  |  |  |     }, | 
		
	
		
			
				|  |  |     // 下拉选择医生 |  |  |     // 下拉选择医生 | 
		
	
		
			
				|  |  |     changeDoctor(value, scopeRow, type) { |  |  |     changeDoctor(value, scopeRow, type) { | 
		
	
		
			
				|  |  |       const params = {} |  |  |       const params = {} | 
		
	
	
		
			
				|  | 
 |