| | |
| | | this.currentSample.insProduct = this.HaveJson(list) |
| | | this.currentNum++ |
| | | } |
| | | }else { |
| | | this.$message.error(response.message); |
| | | } |
| | | }, |
| | | beforeUpload(file) { |
| | |
| | | this.$message.error('上传附件前请先填写并保存频段'); |
| | | return false |
| | | }else{ |
| | | if(file.name.includes('交调')||file.name.includes('互调')){ |
| | | this.$refs.CircuitParameters.saveAll() |
| | | } |
| | | // if(file.name.includes('交调')||file.name.includes('互调')){ |
| | | // this.$refs.CircuitParameters.saveAll() |
| | | // } |
| | | if (file.size > 1024 * 1024 * 10) { |
| | | this.$message.error('上传文件不超过10M'); |
| | | this.$refs.upload.clearFiles() |