From a2077e70da78d28089c40ad65291885aad58b857 Mon Sep 17 00:00:00 2001
From: zhuguifei <312353457@qq.com>
Date: 星期五, 03 四月 2026 09:48:49 +0800
Subject: [PATCH] feat: 新增数采数据源、储丝三方视图数据源;配置测试三数据源;区分开发、生产环境

---
 ruoyi-plus-soybean/src/views/md/instrument/modules/instrument-operate-drawer.vue |   42 +++++++++++++++++++++++++++++++-----------
 1 files changed, 31 insertions(+), 11 deletions(-)

diff --git a/ruoyi-plus-soybean/src/views/md/instrument/modules/instrument-operate-drawer.vue b/ruoyi-plus-soybean/src/views/md/instrument/modules/instrument-operate-drawer.vue
index c607874..47ed21d 100644
--- a/ruoyi-plus-soybean/src/views/md/instrument/modules/instrument-operate-drawer.vue
+++ b/ruoyi-plus-soybean/src/views/md/instrument/modules/instrument-operate-drawer.vue
@@ -56,15 +56,15 @@
 
 function createDefaultModel(): Model {
   return {
-      id: '',
-      instrumentCode: '',
-      instrumentName: '',
-      ifStd: '',
-      isc: null,
-      workShop: '',
-      enable: 1,
-      del: 0,
-      instrumentDes: ''
+    id: '',
+    instrumentCode: '',
+    instrumentName: '',
+    ifStd: '',
+    isc: null,
+    workShop: '',
+    enable: 1,
+    del: 0,
+    instrumentDes: ''
   };
 }
 
@@ -93,12 +93,32 @@
 
   // request
   if (props.operateType === 'add') {
-    const { error } = await fetchCreateInstrument({ id, instrumentCode, instrumentName, ifStd, isc, workShop, enable, del, instrumentDes });
+    const { error } = await fetchCreateInstrument({
+      id,
+      instrumentCode,
+      instrumentName,
+      ifStd,
+      isc,
+      workShop,
+      enable,
+      del,
+      instrumentDes
+    });
     if (error) return;
   }
 
   if (props.operateType === 'edit') {
-    const { error } = await fetchUpdateInstrument({ id, instrumentCode, instrumentName, ifStd, isc, workShop, enable, del, instrumentDes });
+    const { error } = await fetchUpdateInstrument({
+      id,
+      instrumentCode,
+      instrumentName,
+      ifStd,
+      isc,
+      workShop,
+      enable,
+      del,
+      instrumentDes
+    });
     if (error) return;
   }
 

--
Gitblit v1.9.3