From b0eadd5899bccefd15e060210897d585629c460d Mon Sep 17 00:00:00 2001 From: "MY-SH\\lenovo" <1312913002@qq.com> Date: Mon, 18 Dec 2023 16:03:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/api/ehs/ehsExamples.js | 65 +++ ruoyi-ui/src/views/ehs/ehsExamples/index.vue | 576 +++++++++++++++++++ 2 files changed, 641 insertions(+) create mode 100644 ruoyi-ui/src/api/ehs/ehsExamples.js create mode 100644 ruoyi-ui/src/views/ehs/ehsExamples/index.vue diff --git a/ruoyi-ui/src/api/ehs/ehsExamples.js b/ruoyi-ui/src/api/ehs/ehsExamples.js new file mode 100644 index 0000000..ca6d9ac --- /dev/null +++ b/ruoyi-ui/src/api/ehs/ehsExamples.js @@ -0,0 +1,65 @@ +import request from '@/utils/request' + +// 查询行政区域统计 +export function getAdministeration() { + return request({ + url: 'ehs/indexStatistics/getHiddenDangerSituationList', + method: 'get', + }) +} +// 查询所处位置统计 +export function getPlace() { + return request({ + url: '/ehs/indexStatistics/getHiddenDangerSituationByEnterpriseNameList', + method: 'get' + }) +} + +// 查询上报隐患数量 +export function getDanger() { + return request({ + url: '/ehs/indexStatistics/getHiddenDangerRankVoList', + method: 'get', + }) +} + +// 查询隐患数据统计分析 柱 +export function getDangerList(year) { + return request({ + url: '/ehs/indexStatistics/getHiddenDangerDataMapList?year='+ year, + method: 'get', + // params: year + }) +} + +// 查询隐患类型分析 环 +export function getDangerClass(data) { +return request({ + url: '/ehs/indexStatistics/getHiddenDangerTypeMapList', + method: 'get', + params: data + }) +} + +// 查询行业领域统计 饼 +export function getTrade(){ + return request({ + url: '/ehs/indexStatistics/getEnterpriseMapList', + method: 'get', + }) +} + +// 查询经济类型统计 饼 +export function getEconomics(){ + return request({ + url: 'ehs/indexStatistics/geteconomicTypeMapList', + method: 'get', + }) +} +// 查询企业规模统计 饼 +export function getScale(){ + return request({ + url: '/ehs/indexStatistics/getenterpriseScaleMapList', + method: 'get', + }) +} \ No newline at end of file diff --git a/ruoyi-ui/src/views/ehs/ehsExamples/index.vue b/ruoyi-ui/src/views/ehs/ehsExamples/index.vue new file mode 100644 index 0000000..465bc06 --- /dev/null +++ b/ruoyi-ui/src/views/ehs/ehsExamples/index.vue @@ -0,0 +1,576 @@ + + + + + \ No newline at end of file