From 54cabc12533b1ad314b6a835968ffe88cc2bddd8 Mon Sep 17 00:00:00 2001 From: 15036302109 Date: Thu, 18 Jul 2024 14:43:20 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E6=82=A3=E6=95=B0=E6=8D=AE=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E5=88=86=E6=9E=90---=E8=A1=8C=E6=94=BF=E5=8C=BA?= =?UTF-8?q?=E5=9F=9F=E7=BB=9F=E8=AE=A1=E5=92=8C=E4=B8=8A=E6=8A=A5=E9=83=A8?= =?UTF-8?q?=E9=97=A8=E7=BB=9F=E8=AE=A1=E5=8F=AF=E6=9F=A5=E8=AF=A2=E6=8C=87?= =?UTF-8?q?=E5=AE=9A=E6=9C=88=E4=BB=BD=E7=9A=84=E9=9A=90=E6=82=A3=E6=95=B0?= =?UTF-8?q?=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/api/ehs/ehsExamples.js | 8 ++++---- ruoyi-ui/src/views/ehs/ehsExamples/index.vue | 10 ++++------ 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/ruoyi-ui/src/api/ehs/ehsExamples.js b/ruoyi-ui/src/api/ehs/ehsExamples.js index 88203c4..2f535f6 100644 --- a/ruoyi-ui/src/api/ehs/ehsExamples.js +++ b/ruoyi-ui/src/api/ehs/ehsExamples.js @@ -1,16 +1,16 @@ import request from '@/utils/request' // 查询行政区域统计 -export function getAdministeration() { +export function getAdministeration(targetTime) { return request({ - url: 'ehs/indexStatistics/getHiddenDangerSituationList', + url: 'ehs/indexStatistics/getHiddenDangerSituationList?targetTime=' + targetTime, method: 'get', }) } // 查询所处位置统计 -export function getPlace() { +export function getPlace(targetTime) { return request({ - url: '/ehs/indexStatistics/getHiddenDangerSituationByEnterpriseNameList', + url: '/ehs/indexStatistics/getHiddenDangerSituationByEnterpriseNameList?targetTime=' + targetTime, method: 'get' }) } diff --git a/ruoyi-ui/src/views/ehs/ehsExamples/index.vue b/ruoyi-ui/src/views/ehs/ehsExamples/index.vue index c4bf7d3..3a3cd56 100644 --- a/ruoyi-ui/src/views/ehs/ehsExamples/index.vue +++ b/ruoyi-ui/src/views/ehs/ehsExamples/index.vue @@ -82,7 +82,7 @@ - + - + @@ -238,8 +238,7 @@ export default { }, getAllData(targetTime) { - // TODO 行政 - getAdministeration() + getAdministeration(targetTime) .then((response) => { if (response.code == 200) this.tableData = response.data; }) @@ -247,8 +246,7 @@ export default { console.log(err); }); - // TODO 根据位置 - getPlace() + getPlace(targetTime) .then((response) => { if (response.code == 200) this.tableDat_1 = response.data; })