diff --git a/ruoyi-ui/src/api/ehs/ehsExamples.js b/ruoyi-ui/src/api/ehs/ehsExamples.js
index cd51e7f..88203c4 100644
--- a/ruoyi-ui/src/api/ehs/ehsExamples.js
+++ b/ruoyi-ui/src/api/ehs/ehsExamples.js
@@ -22,10 +22,10 @@ export function getDanger() {
method: 'get',
})
}
-// 查询上报隐患数量
-export function getDangerByDeptId() {
+
+export function getDangerByDeptId(targetTime) {
return request({
- url: '/ehs/indexStatistics/getHiddenDangerRankVoByDeptIdList',
+ url: '/ehs/indexStatistics/getHiddenDangerRankVoByDeptIdList?targetTime=' + targetTime,
method: 'get',
})
}
@@ -47,32 +47,32 @@ return request({
})
}
// 查询隐患整改进度 环
-export function getDangerStatus(data) {
+
+export function getDangerStatus(targetTime) {
return request({
- url: '/ehs/indexStatistics/getHiddenDangerStatusMapList',
+ url: '/ehs/indexStatistics/getHiddenDangerStatusMapList?targetTime=' + targetTime,
method: 'get',
- params: data
})
}
// 查询行业领域统计 饼
-export function getTrade(){
+export function getTrade(targetTime){
return request({
- url: '/ehs/indexStatistics/getEnterpriseMapList',
+ url: '/ehs/indexStatistics/getEnterpriseMapList?targetTime=' + targetTime,
method: 'get',
})
}
// 查询经济类型统计 饼
-export function getEconomics(){
+export function getEconomics(targetTime){
return request({
- url: 'ehs/indexStatistics/geteconomicTypeMapList',
+ url: 'ehs/indexStatistics/geteconomicTypeMapList?targetTime=' + targetTime,
method: 'get',
})
}
// 查询企业规模统计 饼
-export function getScale(){
+export function getScale(targetTime){
return request({
- url: '/ehs/indexStatistics/getenterpriseScaleMapList',
+ url: '/ehs/indexStatistics/getenterpriseScaleMapList?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 fe8d08c..c4bf7d3 100644
--- a/ruoyi-ui/src/views/ehs/ehsExamples/index.vue
+++ b/ruoyi-ui/src/views/ehs/ehsExamples/index.vue
@@ -4,6 +4,18 @@