| 
					
					
						
							
						
					
					
				 | 
				@ -42,24 +42,20 @@ | 
			
		
		
	
		
			
				 | 
				 | 
				    <div> | 
				 | 
				 | 
				    <div> | 
			
		
		
	
		
			
				 | 
				 | 
				      <el-table :data="tableData" border style="width: 100%" row-key="id" height="300" highlight-current-row | 
				 | 
				 | 
				      <el-table :data="tableData" border style="width: 100%" row-key="id" height="300" highlight-current-row | 
			
		
		
	
		
			
				 | 
				 | 
				        size="small" @row-click="rowClick"> | 
				 | 
				 | 
				        size="small" @row-click="rowClick"> | 
			
		
		
	
		
			
				 | 
				 | 
				        <el-table-column label="组合项目" width="120" prop="asbitemName" /> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				        <el-table-column label="操作" width="130" prop="operate"> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        <el-table-column label="姓名" width="80" prop="personName" align="center"/> | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        <el-table-column label="身份证号" width="150" prop="idNo" align="center"/> | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        <el-table-column label="预约时间" width="150" prop="appointDate" align="center"/> | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        <el-table-column label="性别" width="40" prop="sexName" align="center"/> | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        <el-table-column label="婚姻" width="40" prop="maritalStatusName" align="center"/> | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        <el-table-column label="单位" width="150" prop="customerOrgName" align="center"/> | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        <el-table-column label="分组/套餐" width="120" prop="customerOrgGroupName" align="center"> | 
			
		
		
	
		
			
				 | 
				 | 
				          <template slot-scope="scope"> | 
				 | 
				 | 
				          <template slot-scope="scope"> | 
			
		
		
	
		
			
				 | 
				 | 
				            <el-select v-model="scope.row.operate" placeholder="请操作方式" size="small" :disabled="scope.row.disabled" | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				              @change="changeOperate(scope.row)"> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				              <el-option v-for="(item, index) in options" :key="index" :label="item.label" :value="item.value" /> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				            </el-select> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				          </template> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				        </el-table-column> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				        <el-table-column label="条码分组" width="120" prop="sampleGroupName" /> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				        <el-table-column label="检验申请号" width="180" prop="lisRequestNo"> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				          <template slot-scope="scope"> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				            <el-select v-model="scope.row.lisRequestNo" size="small" :disabled="scope.row.disabled"> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				              <el-option v-for="(item, index) in lisRequestNos" :key="index" :label="item.lisRequestNo" | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				                :value="item.lisRequestId" /> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				            </el-select> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				            <div>{{ scope.row.customerOrgGroupName ? scope.row.customerOrgGroupName:scope.row.medicalPackageName }}</div> | 
			
		
		
	
		
			
				 | 
				 | 
				          </template> | 
				 | 
				 | 
				          </template> | 
			
		
		
	
		
			
				 | 
				 | 
				        </el-table-column> | 
				 | 
				 | 
				        </el-table-column> | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        <el-table-column label="怀孕" width="40" prop="pregnantFlagName" align="center"/> | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        <el-table-column label="身高" width="40" prop="height" align="center"/> | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        <el-table-column label="体重" width="40" prop="weight" align="center"/>         | 
			
		
		
	
		
			
				 | 
				 | 
				      </el-table> | 
				 | 
				 | 
				      </el-table> | 
			
		
		
	
		
			
				 | 
				 | 
				    </div> | 
				 | 
				 | 
				    </div> | 
			
		
		
	
		
			
				 | 
				 | 
				    <div style="margin-top: 10px; display: flex;justify-content: space-between;"> | 
				 | 
				 | 
				    <div style="margin-top: 10px; display: flex;justify-content: space-between;"> | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -99,9 +95,9 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				        completeFlag: "0" | 
				 | 
				 | 
				        completeFlag: "0" | 
			
		
		
	
		
			
				 | 
				 | 
				      }, | 
				 | 
				 | 
				      }, | 
			
		
		
	
		
			
				 | 
				 | 
				      pickerOptions: { | 
				 | 
				 | 
				      pickerOptions: { | 
			
		
		
	
		
			
				 | 
				 | 
				        disabledDate(time) { | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				          return time.getTime() > Date.now(); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				        }, | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        // disabledDate(time) { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        //   return time.getTime() > Date.now(); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        // }, | 
			
		
		
	
		
			
				 | 
				 | 
				        shortcuts: [{ | 
				 | 
				 | 
				        shortcuts: [{ | 
			
		
		
	
		
			
				 | 
				 | 
				          text: '今天', | 
				 | 
				 | 
				          text: '今天', | 
			
		
		
	
		
			
				 | 
				 | 
				          onClick(picker) { | 
				 | 
				 | 
				          onClick(picker) { | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -187,7 +183,6 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				        if (lres.code >= -1) { | 
				 | 
				 | 
				        if (lres.code >= -1) { | 
			
		
		
	
		
			
				 | 
				 | 
				          let idNos = parsIcCardtoLocal(lres.data, this.dict.sex, this.dict.nation) | 
				 | 
				 | 
				          let idNos = parsIcCardtoLocal(lres.data, this.dict.sex, this.dict.nation) | 
			
		
		
	
		
			
				 | 
				 | 
				          this.query.idNo = idNos.IDCode | 
				 | 
				 | 
				          this.query.idNo = idNos.IDCode | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				          // this.form.patientName = idNos.Name | 
				 | 
				 | 
				          // this.form.patientName = idNos.Name | 
			
		
		
	
		
			
				 | 
				 | 
				          // this.form.birthDate = idNos.birthDate | 
				 | 
				 | 
				          // this.form.birthDate = idNos.birthDate | 
			
		
		
	
		
			
				 | 
				 | 
				          // this.form.sexId = idNos.sexId | 
				 | 
				 | 
				          // this.form.sexId = idNos.sexId | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -207,14 +202,25 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				    // 查询 | 
				 | 
				 | 
				    // 查询 | 
			
		
		
	
		
			
				 | 
				 | 
				    btnQuery() { | 
				 | 
				 | 
				    btnQuery() { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      if(!(this.query.appointStartDate && this.query.appointStopDate)){ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        this.$message.error({ showClose: true, message: "必须选择日期段!" }) | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        return | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      } | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      if(!(this.query.idNo || this.query.mobilePhone)){ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        this.$message.error({ showClose: true, message: "手机号或身份证号必须填写一项!" }) | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        return | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      } | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				      this.currRowData = {} | 
				 | 
				 | 
				      this.currRowData = {} | 
			
		
		
	
		
			
				 | 
				 | 
				      this.tableData = [] | 
				 | 
				 | 
				      this.tableData = [] | 
			
		
		
	
		
			
				 | 
				 | 
				      this.tableDataDetails = [] | 
				 | 
				 | 
				      this.tableDataDetails = [] | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				      this.query.appointStartDate = "2024-01-01 00:00:00" | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				      this.query.appointStopDate = "2024-07-01 00:00:00" | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      let body = deepCopy(this.query) | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				      postapi('/api/app/AppointPatientRegister/GetListByFilter', this.query) | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      body.appointStartDate =  this.query.appointStartDate + " 00:00:00" | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      body.appointStopDate = this.query.appointStopDate + " 23:59:59" | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      postapi('/api/app/AppointPatientRegister/GetListByFilter', body) | 
			
		
		
	
		
			
				 | 
				 | 
				        .then(res => { | 
				 | 
				 | 
				        .then(res => { | 
			
		
		
	
		
			
				 | 
				 | 
				          if (res.code > -1) { | 
				 | 
				 | 
				          if (res.code > -1) { | 
			
		
		
	
		
			
				 | 
				 | 
				            this.tableData = res.data | 
				 | 
				 | 
				            this.tableData = res.data | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -232,20 +238,33 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				    rowClick(row) { | 
				 | 
				 | 
				    rowClick(row) { | 
			
		
		
	
		
			
				 | 
				 | 
				      this.currRowData = row | 
				 | 
				 | 
				      this.currRowData = row | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      this.tableDataDetails = [] | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      postapi('/api/app/AppointPatientRegister/GetAppointRegisterAsbitemListById', { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        thirdInterFaceId: this.query.thirdInterfaceId, | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        appointPatientRegisterId: row.appointPatientRegisterId | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      }).then(res => { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        if(res.code > -1){ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				          this.tableDataDetails = res.data | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        }         | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      }) | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				    }, | 
				 | 
				 | 
				    }, | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				    // 点击确定 | 
				 | 
				 | 
				    // 点击确定 | 
			
		
		
	
		
			
				 | 
				 | 
				    btnOk() { | 
				 | 
				 | 
				    btnOk() { | 
			
		
		
	
		
			
				 | 
				 | 
				      if (!this.currRowData.id) { | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      if (!this.currRowData.appointPatientRegisterId) { | 
			
		
		
	
		
			
				 | 
				 | 
				        this.$message.warning({ showClose: true, message: "请选择预约的记录" }) | 
				 | 
				 | 
				        this.$message.warning({ showClose: true, message: "请选择预约的记录" }) | 
			
		
		
	
		
			
				 | 
				 | 
				        return | 
				 | 
				 | 
				        return | 
			
		
		
	
		
			
				 | 
				 | 
				      } | 
				 | 
				 | 
				      } | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      this.dataTransOpts.tableS.appoint_patient_register = deepCopy(this.currRowData) | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      this.dataTransOpts.tableM.appoint_register_asbitem = deepCopy(this.tableDataDetails) | 
			
		
		
	
		
			
				 | 
				 | 
				      this.dialogWin.WebBooking = false | 
				 | 
				 | 
				      this.dialogWin.WebBooking = false | 
			
		
		
	
		
			
				 | 
				 | 
				    }, | 
				 | 
				 | 
				    }, | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				    // 点击关闭 | 
				 | 
				 | 
				    // 点击关闭 | 
			
		
		
	
		
			
				 | 
				 | 
				    btnClose() { | 
				 | 
				 | 
				    btnClose() { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      this.dataTransOpts.tableS.appoint_patient_register = {} | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      this.dataTransOpts.tableM.appoint_register_asbitem = [] | 
			
		
		
	
		
			
				 | 
				 | 
				      this.dialogWin.WebBooking = false | 
				 | 
				 | 
				      this.dialogWin.WebBooking = false | 
			
		
		
	
		
			
				 | 
				 | 
				    }, | 
				 | 
				 | 
				    }, | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
					
				 | 
				
  |