| | |
| | | <!-- 巡检任务详情 --> |
| | | <template> |
| | | <common-title title="巡检任务情况" style="margin-left: 14px;" @details="detailsFun"></common-title> |
| | | <div class="inspection-rask-details"> |
| | | <div class="inspection-num"> |
| | | <div class="total"> |
| | |
| | | |
| | | <script setup> |
| | | import * as echarts from 'echarts'; |
| | | import CommonTitle from '@/components/CommonTitle.vue'; |
| | | import CommonDateTime from '@/components/CommonDateTime.vue'; |
| | | |
| | | const list = ref([ |
| | |
| | | { name: '执行失败', value: 10, color: '#FF8E8E' }, |
| | | ]); |
| | | |
| | | const detailsFun = () => { |
| | | console.log('details'); |
| | | }; |
| | | |
| | | const chartRef = ref(null); |
| | | |
| | | |
| | | onMounted(() => { |
| | | const chart = echarts.init(chartRef.value); |
| | |
| | | .total { |
| | | position: absolute; |
| | | left: 34px; |
| | | top: 34px; |
| | | top: 44px; |
| | | font-weight: 500; |
| | | font-size: 14px; |
| | | color: #FFFFFF; |
| | | font-family: Source Han Sans CN, Source Han Sans CN; |
| | | line-height: 19px; |
| | | .value { |
| | | font-family: YouSheBiaoTiHei, YouSheBiaoTiHei; |
| | | margin-left: 8px; |