优化统计分析

main
liukewei 11 months ago
parent 34db7ce5af
commit 125108d5e6

@ -168,7 +168,7 @@ SELECT
ifnull(d.dict_label,'未知') 'name',
count( 1 ) 'value'
FROM
ehs_enterprise e
ehs_hidden_danger e
LEFT JOIN sys_dict_data d ON e.enterprise_type = d.dict_value
AND d.dict_type = 'enterprise_type'
<where>
@ -183,7 +183,7 @@ SELECT
ifnull(d.dict_label,'未知') 'name',
count( 1 ) 'value'
FROM
ehs_enterprise e
ehs_hidden_danger e
LEFT JOIN sys_dict_data d ON e.economic_type = d.dict_value
AND d.dict_type = 'economic_type'
<where>
@ -198,7 +198,7 @@ SELECT
ifnull(d.dict_label,'未知') 'name',
count( 1 ) 'value'
FROM
ehs_enterprise e
ehs_hidden_danger e
LEFT JOIN sys_dict_data d ON e.enterprise_scale = d.dict_value
AND d.dict_type = 'enterprise_scale'
<where>

@ -335,7 +335,7 @@ export default {
let res = await getTrade();
this.myChart3 = echarts.init(this.$refs.hyly);
let option = {
title: { text: "行业领域统计数量" },
title: { text: "行业领域统计隐患数量" },
tooltip: {
trigger: "item",
},
@ -346,7 +346,7 @@ export default {
},
series: [
{
name: "行业统计数量",
name: "行业统计隐患数量",
type: "pie",
radius: "50%",
avoidLabelOverlap: false,
@ -380,7 +380,7 @@ export default {
let res = await getEconomics();
this.myChart4 = echarts.init(this.$refs.jjClass);
let option = {
title: { text: "经济类型统计数量" },
title: { text: "经济类型统计隐患数量" },
tooltip: {
trigger: "item",
},
@ -391,7 +391,7 @@ export default {
},
series: [
{
name: "经济类型统计",
name: "经济类型隐患统计",
type: "pie",
radius: "50%",
avoidLabelOverlap: false,
@ -425,7 +425,7 @@ export default {
let res = await getScale();
this.myChart5 = echarts.init(this.$refs.scale);
let option = {
title: { text: "企业规模统计数量" },
title: { text: "企业规模统计隐患数量" },
tooltip: {
trigger: "item",
},
@ -436,7 +436,7 @@ export default {
},
series: [
{
name: "企业规模统计",
name: "企业规模隐患统计",
type: "pie",
radius: "50%",
avoidLabelOverlap: false,

Loading…
Cancel
Save