| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -121,7 +121,6 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    v-model="formData.natAddress"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          </el-input> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        </el-form-item> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <el-form-item label="检测结果" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                      prop="natResult" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                      label-width="150px" | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -134,6 +133,21 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          </el-radio-group> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        </el-form-item> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <el-form-item label="采样时间" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                      style="display: block" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                      prop="sampleTime" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                      label-width="150px"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          <el-date-picker class="item_width_2" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                          v-model="formData.sampleTime" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                          format="yyyy-MM-dd HH:mm" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                          value-format="yyyy-MM-dd HH:mm" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                          type="datetime" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                          :picker-options="pickerOptions" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                          clearable | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                          placeholder="选择时间"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          </el-date-picker> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        </el-form-item> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <el-form-item v-if=" formType!=='detail' || (formType=='detail'&&fileList.length>0)" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                      class="block" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                      label-width="150px" | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -141,7 +155,8 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                      label="添加图片" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                      prop="attach"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          <el-upload :headers="$getElUploadHeaders()"  :action="uploadUlr" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          <el-upload :headers="$getElUploadHeaders()" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                     :action="uploadUlr" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                     list-type="picture-card" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                     :limit="limitNum" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                     :class="{hide:hideUploadEdit}" | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -258,6 +273,7 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        natTime: '', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        natAddress: '', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        natResult: '', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        sampleTime: '', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        isSelChannel: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        channel: [], | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        content: '', | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -433,13 +449,7 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    async addNat () { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      // if (this.imgLoading) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      //   this.$message({ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      //     type: 'warning', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      //     message: '正在上传图片,请稍候重试' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      //   }) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      //   return false; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      // } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      const regPhone = /^1(3|4|5|6|7|8|9)\d{9}$/; //手机号码 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      if (regPhone.test(this.formData.mobile) === false) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        this.btnDisable = false | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -458,6 +468,32 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        }) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        return false; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      // debugger | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      let tempResult = false | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      if (this.formData.sampleTime) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        tempResult = true | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      } else { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (!this.formData.natTime || !this.formData.natResult) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          this.$message({ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            type: 'warning', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            message: '采样结果为空时,核酸检测时间和检测结果不能为空' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          }) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          return false; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } if (!this.formData.natTime && !this.formData.natResult) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          this.$message({ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            type: 'warning', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            message: '采样结果和核酸检测时间、结果不能同时为空' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          }) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          return false; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      // if (!tempResult) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      //   this.$message({ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      //     type: 'warning', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      //     message: '核酸检测时间、结果和采样时间不能同时为空' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      //   }) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      //   return false; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      // } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      if (this.formData.isSelChannel) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (!this.formData.content) { | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -590,6 +626,7 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        natTime: '', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        natAddress: '', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        natResult: '', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        sampleTime: '', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        isSelChannel: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        channel: [], | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        content: '', | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -620,24 +657,24 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    dataRule () { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      return { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        name: [ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          { required: true, message: '姓名不能为空', trigger: 'blur' } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          { required: true, message: '姓名不能为空', trigger: 'change' } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        ], | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        idCard: [ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          { required: true, message: '证件号不能为空', trigger: 'blur' } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          { required: true, message: '证件号不能为空', trigger: 'change' } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        ], | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        mobile: [ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          { required: true, message: '手机号不能为空', trigger: 'blur' }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        ], | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        natTime: [ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          { required: true, message: '检测时间不能为空', trigger: 'blur' }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          { required: true, message: '手机号不能为空', trigger: 'change' }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        ], | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        // natTime: [ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //   { required: true, message: '检测时间不能为空', trigger: 'change' }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        // ], | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        natAddress: [ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          { required: false }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        ], | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        natResult: [ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          { required: true, message: '检测结果不能为空', trigger: 'blur' }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        ], | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        // natResult: [ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //   { required: true, message: '检测结果不能为空', trigger: 'change' }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        // ], | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        isSelChannel: [ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          { required: false }, | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |