From 793bfa939dab14de223aa11f3ac9d22966968ca0 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, 20 Mar 2023 13:44:26 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/tireManagement/info/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-ui/src/views/tireManagement/info/index.vue b/ruoyi-ui/src/views/tireManagement/info/index.vue index 5bd55e0..e985caf 100644 --- a/ruoyi-ui/src/views/tireManagement/info/index.vue +++ b/ruoyi-ui/src/views/tireManagement/info/index.vue @@ -266,7 +266,7 @@ + \ No newline at end of file diff --git a/ruoyi-ui/src/views/realTimeMonitoring/historicalRoute/index.vue b/ruoyi-ui/src/views/realTimeMonitoring/historicalRoute/index.vue new file mode 100644 index 0000000..7d22868 --- /dev/null +++ b/ruoyi-ui/src/views/realTimeMonitoring/historicalRoute/index.vue @@ -0,0 +1,114 @@ + + + \ No newline at end of file From dd1392813ba8269487c6e1598e66d1d6eaad3ead 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, 20 Mar 2023 18:42:00 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8D=95=E8=BD=A6?= =?UTF-8?q?=E7=9B=91=E6=8E=A7=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/realTimeMonitoring/carMonitoring.js | 10 + ruoyi-ui/src/utils/request.js | 2 +- ruoyi-ui/src/views/dashboard/Temp.vue | 350 +++++++++--------- .../src/views/deviceManagement/info/index.vue | 29 +- .../carMonitoring/index.vue | 158 ++++++-- .../vehicleMonitoring/index.vue | 2 +- .../views/tireManagement/lifecycle/index.vue | 43 ++- 7 files changed, 349 insertions(+), 245 deletions(-) diff --git a/ruoyi-ui/src/api/realTimeMonitoring/carMonitoring.js b/ruoyi-ui/src/api/realTimeMonitoring/carMonitoring.js index e54d92f..9c2e04a 100644 --- a/ruoyi-ui/src/api/realTimeMonitoring/carMonitoring.js +++ b/ruoyi-ui/src/api/realTimeMonitoring/carMonitoring.js @@ -8,6 +8,7 @@ export function listBaseCar(query) { params: query }) } + // 查询列表 export function getCarGpsList(query) { return request({ @@ -17,3 +18,12 @@ export function getCarGpsList(query) { }) } +// 查询轮胎信息 +export function getTyreList(query) { + return request({ + url: '/basetyre/tyre/' + query, + method: 'get', + isNoLang: true, + }) +} + diff --git a/ruoyi-ui/src/utils/request.js b/ruoyi-ui/src/utils/request.js index 539580b..50dc934 100644 --- a/ruoyi-ui/src/utils/request.js +++ b/ruoyi-ui/src/utils/request.js @@ -45,10 +45,10 @@ service.interceptors.request.use(config => { ...(config.params || {}), lang }); + url = url.slice(0, -1); } else { url = config.url } - url = url.slice(0, -1); config.params = {}; config.url = url; } diff --git a/ruoyi-ui/src/views/dashboard/Temp.vue b/ruoyi-ui/src/views/dashboard/Temp.vue index 062d901..7f868bc 100644 --- a/ruoyi-ui/src/views/dashboard/Temp.vue +++ b/ruoyi-ui/src/views/dashboard/Temp.vue @@ -1,190 +1,190 @@ diff --git a/ruoyi-ui/src/views/deviceManagement/info/index.vue b/ruoyi-ui/src/views/deviceManagement/info/index.vue index dd4c342..261b3b4 100644 --- a/ruoyi-ui/src/views/deviceManagement/info/index.vue +++ b/ruoyi-ui/src/views/deviceManagement/info/index.vue @@ -119,7 +119,11 @@ + > + +