From 15027ddb56bcfe8709c031cb7002abdd62e6e3aa Mon Sep 17 00:00:00 2001 From: wally <18603454788@163.com> Date: Fri, 19 Nov 2021 15:59:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BB=86=E8=8A=82=E8=B0=83=E6=95=B4;?= =?UTF-8?q?=E8=A1=A5=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/index.js | 2 +- src/components/config/config-log-function.vue | 2 +- src/components/config/config-log-network.vue | 2 +- src/components/history/device.vue | 63 +++++++++++++++++-- src/components/history/history-log-table.vue | 4 +- src/components/history/missing-data.vue | 48 ++++++++++++++ src/components/history/search-bar-data.vue | 35 ++++++++--- src/components/overview/device-table.vue | 11 +--- .../statistical/stastistical-chart.vue | 2 +- src/utils/statistical.js | 2 +- src/utils/time.js | 2 +- src/views/commands.vue | 2 +- src/views/statistical-report.vue | 13 +++- 13 files changed, 154 insertions(+), 34 deletions(-) create mode 100644 src/components/history/missing-data.vue diff --git a/src/apis/index.js b/src/apis/index.js index 10ece51..1ffdf76 100644 --- a/src/apis/index.js +++ b/src/apis/index.js @@ -73,7 +73,7 @@ export const getHistory = params => http.post(`${corrosion}/history/datas`, para // 导出历史数据 export const exportHistory = params => http.post(`${corrosion}/export`, params); -// 发送查询历史记录的指令 +// 发送补传指令 export const sendCommand = params => http.post(`${corrosion}/history`, params); // 补传记录 diff --git a/src/components/config/config-log-function.vue b/src/components/config/config-log-function.vue index c9d555d..8fa38f1 100644 --- a/src/components/config/config-log-function.vue +++ b/src/components/config/config-log-function.vue @@ -11,7 +11,7 @@ diff --git a/src/components/config/config-log-network.vue b/src/components/config/config-log-network.vue index 7c099e7..78de883 100644 --- a/src/components/config/config-log-network.vue +++ b/src/components/config/config-log-network.vue @@ -12,7 +12,7 @@ diff --git a/src/components/history/device.vue b/src/components/history/device.vue index 3a4b58b..93ddfa8 100644 --- a/src/components/history/device.vue +++ b/src/components/history/device.vue @@ -1,5 +1,5 @@ + + diff --git a/src/components/history/history-log-table.vue b/src/components/history/history-log-table.vue index 78eb87b..501d834 100644 --- a/src/components/history/history-log-table.vue +++ b/src/components/history/history-log-table.vue @@ -4,12 +4,12 @@ diff --git a/src/components/history/missing-data.vue b/src/components/history/missing-data.vue new file mode 100644 index 0000000..06c0e30 --- /dev/null +++ b/src/components/history/missing-data.vue @@ -0,0 +1,48 @@ + + + diff --git a/src/components/history/search-bar-data.vue b/src/components/history/search-bar-data.vue index 6c68a02..1c80e12 100644 --- a/src/components/history/search-bar-data.vue +++ b/src/components/history/search-bar-data.vue @@ -13,13 +13,29 @@ - + - + - + + + + +