From 14ef007feedf32a9da8eaa034a62efcc19cfa0c0 Mon Sep 17 00:00:00 2001 From: wally <18603454788@163.com> Date: Tue, 9 Nov 2021 15:08:44 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BB=86=E8=8A=82=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 2 +- src/components/function-config-applied.vue | 48 +++++++++++----------- src/components/function-config-pending.vue | 2 + src/components/network-config-applied.vue | 2 + src/components/network-config-pending.vue | 2 + src/components/search-bar-data.vue | 19 ++++++--- src/routers/index.js | 2 +- src/views/data-history.vue | 45 +++++++++++++------- src/views/data-report.vue | 38 +++++++++++++---- src/views/device-create.vue | 23 +++++++++-- src/views/device-list.vue | 12 +++--- src/views/statistical-report.vue | 7 +++- t | 38 +++++++++++++++++ 13 files changed, 176 insertions(+), 64 deletions(-) create mode 100644 t diff --git a/src/App.vue b/src/App.vue index cff75ab..b3748f6 100644 --- a/src/App.vue +++ b/src/App.vue @@ -69,7 +69,7 @@ function openPage(path) { - + - + 设置金属腐蚀采样频率(分钟): {{ data.frequency.metal }} - + 设置温湿度采样频率(分钟): {{ data.frequency.th }} - + 设置SO2采样频率(分钟): {{ data.frequency.so2 }} - + 设置盐雾采样频率(分钟): {{ data.frequency.salt }} - + 设置时间: {{ formatMsTime(data.time) }} - + 设置金属腐蚀采集个数: {{ data.count }} - + 设置电池电压低阈值: {{ data.batteryLow }} - + 设置电池电压高阈值: {{ data.batteryHigh }} - + 设置太阳能电压高阈值: {{ data.sunHigh }} - + 设置湿度高阈值: {{ data.humidityHigh }} - + 设置温度低阈值: {{ data.temperatureLow }} - + 设置温度高阈值: {{ data.temperatureHigh }} - + 选择金属通道1类型: {{ formatCorrosiveType(data.corrosiveType1) }} - + 选择金属通道2类型: {{ formatCorrosiveType(data.corrosiveType2) }} - + 选择金属通道3类型: {{ formatCorrosiveType(data.corrosiveType3) }} - + 选择金属通道4类型: {{ formatCorrosiveType(data.corrosiveType4) }} - + 安全模式: {{ formatMode(data.securityMode) }} - + 上报类型: {{ formatReportType(data.report.type) }} @@ -85,11 +85,11 @@