diff --git a/resources/config/config.js b/resources/config/config.js index 457a20a..0f0e76f 100644 --- a/resources/config/config.js +++ b/resources/config/config.js @@ -1,10 +1,14 @@ module.exports = { + //打包配置 + // url: 'http://127.0.0.1:8000', // wsUrl: 'ws://127.0.0.1:8000', // swichWsUrl: 'ws://127.0.0.1:8001', // serialPortUrl: 'http://127.0.0.1:8000', + //开发配置 + url: 'http://192.168.1.17:8000', wsUrl: 'ws://192.168.1.17:8000', swichWsUrl: 'ws://192.168.1.17:8001', diff --git a/src/renderer/src/util/config.js b/src/renderer/src/util/config.js index c900d45..eb67adb 100644 --- a/src/renderer/src/util/config.js +++ b/src/renderer/src/util/config.js @@ -17,15 +17,15 @@ // } export default { - url: 'http://127.0.0.1:8888', - wsUrl: 'ws://127.0.0.1:8888', - swichWsUrl: 'ws://127.0.0.1:8001', - serialPortUrl: 'http://127.0.0.1:8888', + // url: 'http://127.0.0.1:8000', + // wsUrl: 'ws://127.0.0.1:8000', + // swichWsUrl: 'ws://127.0.0.1:8001', + // serialPortUrl: 'http://127.0.0.1:8000', - // url: 'http://192.168.1.17:8000', - // wsUrl: 'ws://192.168.1.17:8000', - // swichWsUrl: 'ws://192.168.1.17:8001', - // serialPortUrl: 'http://192.168.1.17:8000', + url: 'http://192.168.1.17:8000', + wsUrl: 'ws://192.168.1.17:8000', + swichWsUrl: 'ws://192.168.1.17:8001', + serialPortUrl: 'http://192.168.1.17:8000', // 远程连接串口使用 // serialPortUrl: 'http://120.77.172.42:7202', diff --git a/src/renderer/src/views/calibration/index.vue b/src/renderer/src/views/calibration/index.vue index 3ce2d86..50dc55b 100644 --- a/src/renderer/src/views/calibration/index.vue +++ b/src/renderer/src/views/calibration/index.vue @@ -6,7 +6,8 @@ 开始执行 - 停止 + 停止 +
刷新列表 @@ -46,8 +47,25 @@
-
-

芯片ID: {{ device.deviceSN || '无' }}

+
{{ device.activeStep }}
+
+
+

+ 芯片ID: + + {{ device.cpuId || '无' }} + +

设备端口: {{ device.devicePort || '无' }}

标定结果: @@ -57,11 +75,12 @@

结果描述: - {{ device.resultTxt || '无' }} + {{ device.resultTxt || '无' }}

@@ -70,23 +89,23 @@
-
-
- - - - - - - - - - - - - {{ item.time }} {{ item.msg }} -
-
+
+
+ + + + + + + + + + + + + {{ item.time }} {{ item.msg }} +
+
+ + + 漏电检测设置 + + + + + + + + + + + + + + + + + + + + + +