From 421145f9db00b79e1c6dedd9e9ec3719b36a407a Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期四, 25 四月 2024 10:23:00 +0800
Subject: [PATCH] 修改k检验标准

---
 vue.config.js                            |    4 ++--
 src/views/quality/teststandard/index.vue |   13 +++++--------
 2 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/src/views/quality/teststandard/index.vue b/src/views/quality/teststandard/index.vue
index df01346..7b8f74a 100644
--- a/src/views/quality/teststandard/index.vue
+++ b/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('妫�娴嬫爣鍑嗗弬鏁颁繚瀛樻垚鍔�')
diff --git a/vue.config.js b/vue.config.js
index b907b36..e94f4c8 100644
--- a/vue.config.js
+++ b/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'

--
Gitblit v1.9.3