| | |
| | | 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('检测标准参数保存成功') |
| | |
| | | /*** |
| | | * @Author licp lichunping@guanfang.com.cn |
| | | * @Date 2024-04-12 14:16:06 |
| | | * @LastEditors licp lichunping@guanfang.com.cn |
| | | * @LastEditTime 2024-04-24 18:03:40 |
| | | * @FilePath \mes-ocea-before\vue.config.js |
| | | * @Description 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE |
| | | */ |
| | | /** |
| | | * 配置参考: |
| | | * https://cli.vuejs.org/zh/config/ |
| | |
| | | |
| | | |
| | | |
| | | //const url = 'https://ztms-mes.chinaztt.cn/' |
| | | const url = 'http://localhost:9999' |
| | | // const url = 'http://192.168.32.45:9999' |
| | | // const url = 'https://ztms-mes.chinaztt.cn/' |
| | | // const url = 'http://localhost:9999' |
| | | const url = 'http://192.168.32.45:9999' |
| | | |
| | | |
| | | const localUrl = 'http://localhost:8089' |