|  |  | @ -209,12 +209,11 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     }; |  |  |  |     }; | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   components: { |  |  |  |   components: { | 
			
		
	
		
		
			
				
					
					|  |  |  |     draggable, |  |  |  |     // draggable, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     ElImageViewer |  |  |  |     // ElImageViewer | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   methods: { |  |  |  |   methods: { | 
			
		
	
		
		
			
				
					
					|  |  |  |     submitUpload() { |  |  |  |     submitUpload() { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.$refs["dataForm"].validate(valid => { |  |  |  |       this.$refs["dataForm"].validate(valid => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (valid) { |  |  |  |         if (valid) { | 
			
		
	
		
		
			
				
					
					|  |  |  |           if (this.formData.auditStatus == 1) { |  |  |  |           if (this.formData.auditStatus == 1) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -239,22 +238,25 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     onConfirmSubmit(val) { |  |  |  |     onConfirmSubmit(val) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.formData.repeatUpload = val; |  |  |  |       this.formData.repeatUpload = val; | 
			
		
	
		
		
			
				
					
					|  |  |  |       console.log(this.formData) |  |  |  |       console.log(this.formData) | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (this.$isNotBlank(this.formData.filePath)) { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (this.$refs.upload.uploadFiles.length > 0) { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.$refs.upload.submit(); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.onSubmit(); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         } else { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.onSubmit(); |  |  |  |       this.onSubmit(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |       // this.formData.repeatUpload = val; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |       // console.log(this.formData) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       } else { |  |  |  |       // if (this.$isNotBlank(this.formData.filePath)) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         console.log(this.$refs.upload.uploadFiles.length); |  |  |  |       //   if (this.$refs.upload.uploadFiles.length > 0) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         if (this.$refs.upload.uploadFiles.length > 0) { |  |  |  |       //     this.$refs.upload.submit(); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           this.$refs.upload.submit(); |  |  |  |       //     this.onSubmit(); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         } else { |  |  |  |       //   } else { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           this.$message.warning(`请选择文件`); |  |  |  |       //     this.onSubmit(); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |       //   } | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       // | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       // } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //   console.log(this.$refs.upload.uploadFiles.length); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //   if (this.$refs.upload.uploadFiles.length > 0) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //     this.$refs.upload.submit(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //   } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //     this.$message.warning(`请选择文件`); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //   } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       // } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -271,9 +273,11 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.formData.manufacturerIdFk = this.inputQuery.manufacturerIdFk; |  |  |  |         this.formData.manufacturerIdFk = this.inputQuery.manufacturerIdFk; | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.formData.productIdFk = this.inputQuery.productId; |  |  |  |         this.formData.productIdFk = this.inputQuery.productId; | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (this.formData.auditStatus != 1) |  |  |  |       if (this.formData.auditStatus != 1){ | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         this.formData.auditStatus = "6"; |  |  |  |         this.formData.auditStatus = "6"; | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.formData.filePath = this.$refs.editorRef.html |  |  |  |         this.formData.filePath = this.$refs.editorRef.html | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (this.editTye == 1) { |  |  |  |       if (this.editTye == 1) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         insertCompanyCert(this.formData).then(response => { |  |  |  |         insertCompanyCert(this.formData).then(response => { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.loading = false; |  |  |  |           this.loading = false; | 
			
		
	
	
		
		
			
				
					|  |  | 
 |