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 @@ + > + +