|  | @ -7,13 +7,13 @@ | 
		
	
		
			
				|  |  |   > |  |  |   > | 
		
	
		
			
				|  |  |     <el-form ref="dataFormHis" :inline="true" :model="dataFormHis" class="demo-form-inline" :rules="dataRule" @keyup.enter.native="findHandle(2)"> |  |  |     <el-form ref="dataFormHis" :inline="true" :model="dataFormHis" class="demo-form-inline" :rules="dataRule" @keyup.enter.native="findHandle(2)"> | 
		
	
		
			
				|  |  |       <el-form-item prop="patientId"> |  |  |       <el-form-item prop="patientId"> | 
		
	
		
			
				|  |  |         <el-input v-model="dataFormHis.patientId" placeholder="请输入登记号" clearable @clear="findHandle(1)" /> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |         <el-input v-model="dataFormHis.patientId" placeholder="请输入登记号" clearable /> | 
		
	
		
			
				|  |  |       </el-form-item> |  |  |       </el-form-item> | 
		
	
		
			
				|  |  |       <el-form-item prop="patientName"> |  |  |       <el-form-item prop="patientName"> | 
		
	
		
			
				|  |  |         <el-input v-model="dataFormHis.patientName" placeholder="请输入姓名" clearable @clear="findHandle(1)" /> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |         <el-input v-model="dataFormHis.patientName" placeholder="请输入姓名" clearable /> | 
		
	
		
			
				|  |  |       </el-form-item> |  |  |       </el-form-item> | 
		
	
		
			
				|  |  |       <el-form-item prop="patientIdNumber"> |  |  |       <el-form-item prop="patientIdNumber"> | 
		
	
		
			
				|  |  |         <el-input v-model="dataFormHis.patientIdNumber" placeholder="请输入身份证号" clearable @clear="findHandle(1)" /> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |         <el-input v-model="dataFormHis.patientIdNumber" placeholder="请输入身份证号" clearable /> | 
		
	
		
			
				|  |  |       </el-form-item> |  |  |       </el-form-item> | 
		
	
		
			
				|  |  |       <el-col :span="6"> |  |  |       <el-col :span="6"> | 
		
	
		
			
				|  |  |         <el-form-item> |  |  |         <el-form-item> | 
		
	
	
		
			
				|  | @ -60,9 +60,7 @@ export default { | 
		
	
		
			
				|  |  |       dataFormHis: { |  |  |       dataFormHis: { | 
		
	
		
			
				|  |  |         patientId: '', |  |  |         patientId: '', | 
		
	
		
			
				|  |  |         patientName: '', |  |  |         patientName: '', | 
		
	
		
			
				|  |  |         patientIdNumber: '', |  |  |  | 
		
	
		
			
				|  |  |         mzDoctorId: '', |  |  |  | 
		
	
		
			
				|  |  |         region: '' |  |  |  | 
		
	
		
			
				|  |  |  |  |  |         patientIdNumber: '' | 
		
	
		
			
				|  |  |       }, |  |  |       }, | 
		
	
		
			
				|  |  |       dataForm: {}, |  |  |       dataForm: {}, | 
		
	
		
			
				|  |  |       tableData: [], |  |  |       tableData: [], | 
		
	
	
		
			
				|  | @ -96,10 +94,10 @@ export default { | 
		
	
		
			
				|  |  |     }, |  |  |     }, | 
		
	
		
			
				|  |  |     // His查询按钮 |  |  |     // His查询按钮 | 
		
	
		
			
				|  |  |     async findHandle(flag) { |  |  |     async findHandle(flag) { | 
		
	
		
			
				|  |  |       this.loading = true |  |  |  | 
		
	
		
			
				|  |  |       if (flag === 2 && !this.dataFormHis.patientId && !this.dataFormHis.patientName && !this.dataFormHis.patientIdNumber) { |  |  |       if (flag === 2 && !this.dataFormHis.patientId && !this.dataFormHis.patientName && !this.dataFormHis.patientIdNumber) { | 
		
	
		
			
				|  |  |         return this.$message.error('搜索内容不能为空') |  |  |         return this.$message.error('搜索内容不能为空') | 
		
	
		
			
				|  |  |       } |  |  |       } | 
		
	
		
			
				|  |  |  |  |  |       this.loading = true | 
		
	
		
			
				|  |  |       const { data: res } = await this.$http.get('/patient/getHisPatient', { |  |  |       const { data: res } = await this.$http.get('/patient/getHisPatient', { | 
		
	
		
			
				|  |  |         params: this.dataFormHis |  |  |         params: this.dataFormHis | 
		
	
		
			
				|  |  |       }) |  |  |       }) | 
		
	
	
		
			
				|  | @ -119,7 +117,7 @@ export default { | 
		
	
		
			
				|  |  |     }, |  |  |     }, | 
		
	
		
			
				|  |  |     // 点击引入按钮 |  |  |     // 点击引入按钮 | 
		
	
		
			
				|  |  |     async introduceHandle(scopwRow) { |  |  |     async introduceHandle(scopwRow) { | 
		
	
		
			
				|  |  |       console.log(scopwRow) |  |  |  | 
		
	
		
			
				|  |  |  |  |  |       this.visible = false | 
		
	
		
			
				|  |  |       this.$parent.addOrUpdateHandle('', scopwRow, 'HIS引入') |  |  |       this.$parent.addOrUpdateHandle('', scopwRow, 'HIS引入') | 
		
	
		
			
				|  |  |     } |  |  |     } | 
		
	
		
			
				|  |  |   } |  |  |   } | 
		
	
	
		
			
				|  | 
 |