智慧园区前端大屏
linwe
2024-11-19 2676f45f33b9dedb80d0417e5af603df41216f0b
src/views/survey/components/box/fireContent.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2024-11-04 16:32:04
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2024-11-05 17:42:44
 * @LastEditTime: 2024-11-19 15:33:32
 * @FilePath: \bigScreen\src\views\survey\components\box\fireContent.vue
 * @Description:
 *
@@ -45,18 +45,18 @@
  }
]
function getRiskSource() {
function getRiskSource () {
  getRiskSourceStatistic().then(res => {
    let data = res.data.data
    let dataRsult = []
    var total = 0;
    var total = 0
    data.forEach(item => {
      dataRsult.push({
        name: item.riskLevel,
        value: item.num,
        itemStyle: typeLevel.find(i => i.name == item.riskLevel).itemStyle
      })
      total = total + item.num;
      total = total + item.num
    })
    myEcharts.setOption({
@@ -80,7 +80,7 @@
      legend: {
        orient: "vertical",
        top: "5%",
        top: "40%",
        left: "5%",
        textStyle: {
          color: "#fff",