| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2023-03-13 14:54:26 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2024-11-01 10:08:41 |
| | | * @LastEditTime: 2024-11-04 13:58:17 |
| | | * @FilePath: \bigScreen\src\views\survey\components\box\unitContent.vue |
| | | * @Description: |
| | | * |
| | |
| | | |
| | | let myEcharts = reactive(null) |
| | | |
| | | |
| | | onMounted(() => { |
| | | nextTick(() => { |
| | | myEcharts = $echarts.init(curEcharts.value) |
| | |
| | | }) |
| | | }) |
| | | |
| | | function getEmergencySpace() { |
| | | function getEmergencySpace () { |
| | | getEmergencySpaceStatistic().then(res => { |
| | | // console.log(res) |
| | | let data = res.data.data |
| | |
| | | name: item.type, |
| | | value: item.num |
| | | }) |
| | | }); |
| | | }) |
| | | |
| | | myEcharts.setOption({ |
| | | legend: { |