| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -438,7 +438,7 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          <el-button type="primary" class="commonbutton" @click="labelPrint(false)" :disabled="printing">条码打印</el-button> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        </div> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <div v-show="checkPagePriv(pagePriv.privs, '条码补打')" class="btn"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          <el-button type="danger" class="commonbutton" @click="reLisRequest">条码补打</el-button> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          <el-button type="danger" class="commonbutton" @click="btnLabel">条码补打</el-button> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        </div> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <div v-show="checkPagePriv(pagePriv.privs, '指引单打印')" class="btn"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          <el-button type="primary" class="commonbutton" @click="guidePrint('0001', false)" | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -449,6 +449,9 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          <el-button type="primary" class="commonbutton" @click="guidePrint('0001', true)">指引单预览</el-button> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        </div> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        --> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <div v-show="checkPagePriv(pagePriv.privs, '条码合并')" class="btn"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          <el-button type="danger" class="commonbutton" @click="reLisRequest">条码合并</el-button> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        </div> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <div v-show="checkPagePriv(pagePriv.privs, '手动合并项目')" class="btn"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          <el-button type="danger" class="commonbutton" @click="reMergeAsbitem">手动合并项目</el-button> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        </div> | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -559,12 +562,26 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      <Camera :id="form.id" />     | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    </el-dialog> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    --> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      <!-- 检验条码补打 --> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      <el-dialog title="检验条码补打" :visible.sync="patientRegister.lisRequestVisble" width="600px" height="400" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      <!-- 合并条码 --> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      <el-dialog title="合并条码" :visible.sync="patientRegister.lisRequestVisble" width="600px" height="400" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        :show-close="false" :close-on-click-modal="false" :append-to-body="true"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <LisRequest :id="form.id" :brushTimes="brushTimes" /> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      </el-dialog> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      <!-- 条码补打 --> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      <el-dialog title="条码补打" :visible.sync="dialogWin.Label" width="800px" height="400"  | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        :close-on-click-modal="false" :append-to-body="true"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <el-tabs v-model="tabChoosed" style="height:320px;margin-top: -22px;"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          <!-- 组合项目 --> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          <el-tab-pane label="检验条码" name="1"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            <PatientLisRequest :isDialog="true"/> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          </el-tab-pane> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          <el-tab-pane label="检查条码" name="2"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            <PatientPacsRequest :isDialog="true"/> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          </el-tab-pane> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        </el-tabs> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      </el-dialog> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      <!-- 手动合并项目 --> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      <el-dialog title="手动合并项目" :visible.sync="patientRegister.mergeAsbitemVisble" width="600px" height="400" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        :show-close="false" :close-on-click-modal="false" :append-to-body="true"> | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -609,6 +626,10 @@ import Charge from "../../views/charge/charge.vue"; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import PatientRegisterEditQuery from "../../components/patientRegister/PatientRegisterEditQuery.vue"; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import OccDisease from "../../components/occDisease/OccDisease.vue" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import PatientLisRequest from "../../components/patientRegister/PatientLisRequest.vue"; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import PatientPacsRequest from "../../components/patientRegister/PatientPacsRequest.vue"; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  components: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    Camera, | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -618,16 +639,18 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    Charge, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    AsbChargeRequest, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    PatientRegisterEditQuery, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    OccDisease | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    OccDisease, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    PatientLisRequest, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    PatientPacsRequest, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  // isDoctor: '0:标准人员登记/1:医生诊台登记(可修改单位)'  | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  props: ['isDoctor', 'patientRegisterId', 'editTimes', 'refreshRegister', 'refFuncSetData'], | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  data() { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    var validateMobileTelephone = (rule, value, callback) => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      if (value) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (!isValidMobileNumber(value)){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (!isValidMobileNumber(value)) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          callback(new Error('请填写正确的手机号!')); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        }else{ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } else { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          callback(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      } else { | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -713,7 +736,7 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        qztlIsFj: 'N',  // 复检 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        isQztlImport: 'N',  // 导入 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        uploadQztlFlag: 'N',  // 上传 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        planuserid: '',  // 计划人 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        planuserid: '',  // 计划人        | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }, //单位 记录 目前新增与更新是一致 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      formInit: {}, //表单初始化 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -776,6 +799,8 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      printing: false, // 是否打印中,控制一次只能有一个任务 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      completeFlag: '0', // 默认预登记,首次正式登记或者预登记转正式登记,提示打印条码与指引单 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      tabChoosed:"1", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -1479,14 +1504,14 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    //提交 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    btnSubmit(formName, msgTip) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      console.log('btnSubmit',formName) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      console.log('btnSubmit', formName) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      this.$refs[formName].validate((valid, fields) => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        // console.log('fields', fields) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (!valid) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          this.$message.warning({ showClose: true, message: fields[Object.keys(fields)[0]][0].message }); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          return false | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        console.log('btnSubmit1',formName) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        console.log('btnSubmit1', formName) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (this.form.customerOrgId != this.dict.personOrgId) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          if (!this.form.customerOrgRegisterId) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            this.$message.warning({ showClose: true, message: "请填写单位体检次数!" }); | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -1498,7 +1523,7 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          this.$message.warning({ showClose: true, message: "身份证号填写不合法!" }); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          return false | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        console.log('btnSubmit2',formName) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        console.log('btnSubmit2', formName) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        let body = this.madePrBody() | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        // console.log('madePrBody',body) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        body.registerCheckAsbitems = deepCopy(this.dataTransOpts.tableM.register_check_asbitem) | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -1510,7 +1535,7 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } else { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          delete body.id; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        console.log('btnSubmit3',formName) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        console.log('btnSubmit3', formName) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        // // console.log(`/api/patientregister/createreturninfo`, body); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        postapi(`/api/PatientRegister/CreatePatientRegister`, body) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          .then(async (res) => { | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -2099,6 +2124,16 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      this.dialogWin.OccDisease = true | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    btnLabel() { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      if (!this.form.id) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        this.$message.warning({ showClose: true, message: '人员信息尚未保存!' }) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        return | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      this.dataTransOpts.refresh.lis_request.M++ //触发检验条码刷新       | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      this.dataTransOpts.refresh.register_check.M++ //触发检查条码刷新 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      this.dialogWin.Label = true | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    //回车替代tab键 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    enterToTab() { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      this.$nextTick(() => { | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |