فهرست منبع

事件换行 推演任务展示 文件git添加

lyc 3 ماه پیش
والد
کامیت
23b66c969e
4فایلهای تغییر یافته به همراه1291 افزوده شده و 25 حذف شده
  1. 57 0
      src/api/ad.js
  2. 8 0
      src/api/planningScheme/index.js
  3. 0 2
      src/plugins/mqttPlugins.js
  4. 1226 23
      src/views/Deduction/stratDeduction/test.vue

+ 57 - 0
src/api/ad.js

@@ -7,3 +7,60 @@ export function getList(data) {
     data,
   });
 }
+
+const data = [
+  {
+    label: "测量设备纬度",
+    prop: "latitude",
+    dataType: "number",
+    unit: "360/2³¹",
+    type: "STATIC",
+    dataFormat: "无符号整数",
+    length: 4,
+    description: "布放纬度",
+    rules: [
+      {
+        required: true,
+        message: "请输入测量设备纬度",
+        trigger: "blur",
+      },
+      {
+        type: "number",
+        message: "测量设备纬度必须为数字",
+        trigger: "blur",
+      },
+      {
+        min: 0,
+        message: "测量设备纬度不能为负数",
+        trigger: "blur",
+      },
+    ],
+  },
+  {
+    label: "测量设备高度",
+    prop: "altitude",
+    dataType: "number",
+    unit: "0.1m",
+    type: "STATIC",
+    dataFormat: "无符号整数",
+    length: 4,
+    description: "布放高度",
+    rules: [
+      {
+        required: true,
+        message: "请输入测量设备高度",
+        trigger: "blur",
+      },
+      {
+        type: "number",
+        message: "测量设备高度必须为数字",
+        trigger: "blur",
+      },
+      {
+        min: 0,
+        message: "测量设备高度不能为负数",
+        trigger: "blur",
+      },
+    ],
+  },
+];

+ 8 - 0
src/api/planningScheme/index.js

@@ -191,3 +191,11 @@ export function testtest(data) {
     data,
   });
 }
+
+export function testPage(params) {
+  return request({
+    url: `/api/v1/bcsimequipment/findPage`,
+    method: "get",
+    params,
+  });
+}

+ 0 - 2
src/plugins/mqttPlugins.js

@@ -31,7 +31,6 @@ const MqttPlugin = {
 
         client.on("connect", () => {
           console.log("✅ MQTT 连接成功");
-          Message.success("MQTT 连接成功");
 
           // 重连后重新订阅所有主题
           subscribers.forEach((topic) => {
@@ -52,7 +51,6 @@ const MqttPlugin = {
 
         client.on("message", (topic, payload) => {
           const data = payload.toString();
-          console.log("📩 收到消息:", topic, data);
 
           // 触发全局事件(可选)
           Vue.prototype.$eventBus &&

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 1226 - 23
src/views/Deduction/stratDeduction/test.vue


برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است