智慧园区前端大屏
linwe
2024-11-04 6436f06c84ceb0bf2d8771dbad1c9e8e80bb587e
src/views/survey/components/box/fireContent.vue
@@ -1,7 +1,15 @@
<!--
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2024-11-04 16:32:04
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2024-11-04 16:32:58
 * @FilePath: \bigScreen\src\views\survey\components\box\fireContent.vue
 * @Description:
 *
 * Copyright (c) 2024 by shuishen, All Rights Reserved.
-->
<script setup>
// import publicContent from './publicContent.vue'
import publicContent from './publicContent.vue'
import { getRiskSourceStatistic } from '../../../../api/indParkInfo'
@@ -24,7 +32,7 @@
        res.data.data.forEach(element => {
            xaxis_data.push(element.riskLevel)
            yaxis_data.push(element.num)
        });
    })
        myEcharts.setOption({
            tooltip: {
                trigger: 'axis',
@@ -66,8 +74,8 @@
</script>
<template>
    <!-- <public-content>
        <template #content> -->
  <public-content>
    <template #content>
    <div class="fireContent-box">
        <div>
@@ -79,8 +87,8 @@
        </div>
    </div>
    <!-- </template>
    </public-content> -->
    </template>
  </public-content>
</template>
<style lang="scss" scoped>