From f5771cd3e11968e4921ff8a1b374a1fff0f2f256 Mon Sep 17 00:00:00 2001
From: xinzhedeai <2291006094@qq.com>
Date: Mon, 3 Mar 2025 12:40:02 +0800
Subject: [PATCH] =?UTF-8?q?fix:=E4=BA=BA=E5=B7=A5=E5=B7=A1=E6=A3=80=20?=
 =?UTF-8?q?=E5=BF=85=E5=A1=AB=E6=B7=BB=E5=8A=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .env.production                      | 4 ++--
 src/views/rgxj/calibration/index.vue | 9 +++++++++
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/.env.production b/.env.production
index 5357c4f..6f3f308 100644
--- a/.env.production
+++ b/.env.production
@@ -8,8 +8,8 @@ ENV = 'production'
 # 鑻ヤ緷绠$悊绯荤粺/鐢熶骇鐜
 VUE_APP_BASE_API = '/prod-api'
 # 姝e紡鐜
-# VUE_APP_BASE_URL = 'http://60.212.188.152:12100'
+VUE_APP_BASE_URL = 'http://182.92.170.89:10082'
 # 娴嬭瘯鐜
-VUE_APP_BASE_URL = 'http://192.168.3.226:9090'
+# VUE_APP_BASE_URL = 'http://192.168.3.226:9090'
 
 
diff --git a/src/views/rgxj/calibration/index.vue b/src/views/rgxj/calibration/index.vue
index 73e1615..44d977e 100644
--- a/src/views/rgxj/calibration/index.vue
+++ b/src/views/rgxj/calibration/index.vue
@@ -396,6 +396,15 @@ export default {
       this.watchDialog = true;
     },
     submitForm() {
+
+      if(!this.form.calibrationAuditName || !this.form.creatTime || !this.form.calibrationType || !this.form.ids.length){
+        this.$message({
+          message: "蹇呭~椤逛笉鑳戒负绌�",
+          type: "error",
+        });
+        return 
+      }
+
       console.log(this.form, "form");
       if (this.form.id) {
         calibrationEdit(this.form).then((res) => {
-- 
2.22.0