| | |
| | | dataFormTestStandardParam() { |
| | | this.isSubmit = true |
| | | if (this.testStandardParams.length > 0) { |
| | | for(let standardParam in this.testStandardParams) { |
| | | let value = this.testStandardParams[standardParam].referenceValue |
| | | if( value !=null) { |
| | | value = value.replace(',',',').replace('(','(').replace(')',')') |
| | | if (!isNaN(value)) { |
| | | value='='+value |
| | | this.testStandardParams.map(m=>{ |
| | | if(m.referenceValue != undefined) { |
| | | m.referenceValue = m.referenceValue.replace(',',',').replace('(','(').replace(')',')') |
| | | return m |
| | | } |
| | | } |
| | | } |
| | | }) |
| | | addTestStandardParam(this.testStandardParams) |
| | | .then((response) => { |
| | | this.$message.success('检测标准参数保存成功') |