From ab5ba1cb04581f55b82e6474452adeb239b9ba44 Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期三, 22 十一月 2023 16:27:08 +0800 Subject: [PATCH] 1.修改了请求网址的路径 2.修改了路由 --- src/api/exceptionApi.js | 25 ++++++++++++++++++++----- 1 files changed, 20 insertions(+), 5 deletions(-) diff --git a/src/api/exceptionApi.js b/src/api/exceptionApi.js index 104fbb3..cf9b86d 100644 --- a/src/api/exceptionApi.js +++ b/src/api/exceptionApi.js @@ -18,6 +18,7 @@ } }) }, + // 鏍规嵁鏈堜唤鍜岀被鍨嬫煡鎵惧垎鏋愭暟鎹� analysisdataByType(month,type) { return $http.get('/dust/analysisdataByType', { @@ -27,6 +28,7 @@ } }) }, + // 鏍规嵁鏃舵鍜岀被鍨嬫煡鎵惧垎鏋愭暟鎹� analysisdataByTimeAndType(beginTime,endTime,type) { return $http.get('/dust/analysisdataByTimeAndType', { @@ -37,6 +39,8 @@ } }) }, + + /** * @@ -59,10 +63,11 @@ }, - - - - +/** + * 鑾峰彇鎵�鏈夌殑鐐逛綅鍚嶇О鍜屽搴旂殑璁惧缂栧彿 + * @param锛� + * @returns锛� + */ getSitesNum() { return $http.get('/dust/sitename') }, @@ -78,5 +83,15 @@ params.exceptionType = temp } return $http.get('/dust/exceptionsSiteName', { params: params }) - } + }, + + /** + * 鏌ヨ涓嶅悓鐨勫紓甯哥被鍨� + * @param锛� + * @returns锛� + */ + queryExceptionType(){ + return $http.get('/dust/exceptiontype') + }, + } -- Gitblit v1.9.3