licp
2024-04-25 421145f9db00b79e1c6dedd9e9ec3719b36a407a
修改k检验标准
已修改2个文件
17 ■■■■■ 文件已修改
src/views/quality/teststandard/index.vue 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/quality/teststandard/index.vue
@@ -867,15 +867,12 @@
    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('检测标准参数保存成功')
vue.config.js
@@ -5,9 +5,9 @@
const url = 'https://ztms-mes.chinaztt.cn/'
// const url = 'https://ztms-mes.chinaztt.cn/'
// const url = 'http://localhost:9999'
// const url = 'http://192.168.32.45:9999'
const url = 'http://192.168.32.45:9999'
const localUrl = 'http://localhost:8089'