From 9ada26f5b53c953a993c0f131ed322c01fed7620 Mon Sep 17 00:00:00 2001 From: zch Date: Fri, 21 Mar 2025 12:29:59 +0800 Subject: [PATCH] =?UTF-8?q?feat(board):=20=E4=BC=98=E5=8C=96=E6=AF=8D?= =?UTF-8?q?=E7=BA=BF=E6=A7=BDinspect=E6=9F=A5=E8=AF=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 API 请求中添加 params 参数 - 修复站点点击事件,传递正确参数 - 更新 InspectionData 数据获取方式 --- ruoyi-ui/src/api/board/index.js | 4 +++- ruoyi-ui/src/views/board/index.vue | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/api/board/index.js b/ruoyi-ui/src/api/board/index.js index 1380c4f..6c83d6b 100644 --- a/ruoyi-ui/src/api/board/index.js +++ b/ruoyi-ui/src/api/board/index.js @@ -6,6 +6,8 @@ export function baseBusbarInfolist(query) { url: '/base/baseBusbarInfo/baseBusbarInfolist', method: 'post', timeout:1000*60, - data: query + data: query, + + params: query, }) } diff --git a/ruoyi-ui/src/views/board/index.vue b/ruoyi-ui/src/views/board/index.vue index fd9931f..b4c4478 100644 --- a/ruoyi-ui/src/views/board/index.vue +++ b/ruoyi-ui/src/views/board/index.vue @@ -112,7 +112,7 @@
@@ -668,6 +668,7 @@ export default { console.log(this.InspectionVisible); baseBusbarInfolist({cabinetCode:e}).then(e=>{ console.log(e) + this.InspectionData = e.data }) }, inspection(e){