| | |
| | | |
| | | <!-- |
| | | * @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' |
| | | |
| | |
| | | res.data.data.forEach(element => { |
| | | xaxis_data.push(element.riskLevel) |
| | | yaxis_data.push(element.num) |
| | | }); |
| | | }) |
| | | myEcharts.setOption({ |
| | | tooltip: { |
| | | trigger: 'axis', |
| | |
| | | </script> |
| | | |
| | | <template> |
| | | <!-- <public-content> |
| | | <template #content> --> |
| | | <public-content> |
| | | <template #content> |
| | | <div class="fireContent-box"> |
| | | |
| | | <div> |
| | |
| | | </div> |
| | | |
| | | </div> |
| | | <!-- </template> |
| | | </public-content> --> |
| | | </template> |
| | | </public-content> |
| | | </template> |
| | | |
| | | <style lang="scss" scoped> |