From d6bf8217c115b6a6d1c412c8da154d75365f4e39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Mon, 16 Dec 2024 14:22:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9C=8B=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/api/board/index1.js | 30 +++++++ ruoyi-ui/src/views/board/index1.vue | 124 +++++++++++++++++++--------- 2 files changed, 114 insertions(+), 40 deletions(-) create mode 100644 ruoyi-ui/src/api/board/index1.js diff --git a/ruoyi-ui/src/api/board/index1.js b/ruoyi-ui/src/api/board/index1.js new file mode 100644 index 0000000..27e6896 --- /dev/null +++ b/ruoyi-ui/src/api/board/index1.js @@ -0,0 +1,30 @@ +import request from '@/utils/request' + + +export function boardTWTempertureDataList(query) { + return request({ + url: '/ems/record/recordIOTInstant/boardTWTempertureDataList', + method: 'get', + timeout:1000*60, + params: query, + }) +} + +export function baseMonitorInfoList(query) { + return request({ + url: '/ems/base/baseMonitorInfo/list', + method: 'get', + timeout:1000*60, + params: query + }) +} + +export function monitorInfoTree(query) { + return request({ + url: '/ems/base/baseMonitorInfo/monitorInfoTree', + method: 'post', + timeout:1000*60, + data: query + }) +} + diff --git a/ruoyi-ui/src/views/board/index1.vue b/ruoyi-ui/src/views/board/index1.vue index 68b0452..e461455 100644 --- a/ruoyi-ui/src/views/board/index1.vue +++ b/ruoyi-ui/src/views/board/index1.vue @@ -2,58 +2,74 @@
赛轮智慧热电无人巡检系统
- +
{{ parseTime(new Date(), '{y}.{m}.{d} {h}:{i}:{s} 周{a}') }}
-
-
{{ k + 1 }}#抽屉柜
-
-
-
{{k+1}}#-{{kk+1}}
-
温度:22℃
+
+
+
{{ i.label }}
+
+
+
{{ ii.label }}
+
{{ ii.tempreture?`温度:${ii.tempreture}℃`:'' }}
+
+ + +
+
{{ i.label }}
+
温度:{{ i.tempreture }}℃
+
+ + 取 消 + +
+ +