| | |
| | | <template> |
| | | <wel-container> |
| | | <div class="workbench"> |
| | | <div class="workbench" v-if="display"> |
| | | <div class="workleft"> |
| | | <!-- 设备统计 --> |
| | | <statistics></statistics> |
| | | <!-- 综合统计分析 --> |
| | | <div class="comprehensiveCon"> |
| | | <div class="comprehensive"> |
| | | |
| | | |
| | | <div class="center"> |
| | | <div class="centerLeft"> |
| | | <!-- 工单统计 --> |
| | | <proportionStatic></proportionStatic> |
| | | <!-- 飞行统计 --> |
| | | <flightStatistics></flightStatistics> |
| | | |
| | | |
| | | </div> |
| | | <div class="centerRight"> |
| | | <!-- 机巢工单数量排名(件) --> |
| | | <flyratio></flyratio> |
| | | <!-- 任务成果 --> |
| | | <taskOutcome></taskOutcome> |
| | | <taskOutcome></taskOutcome> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | import statistics from './components/statistics.vue' |
| | | import { ElMessage } from 'element-plus' |
| | | let checked = ref('CURRENT_YEAR') |
| | | const display = ref(false) |
| | | let timeListStr = ['本周', '本月', '本年'] |
| | | let timeListEnum = ['CURRENT_WEEK', 'CURRENT_MONTH', 'CURRENT_YEAR'] |
| | | const params = ref({ |
| | |
| | | dateSelect.value = item |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | const refresh = () => { |
| | | params.value.date_enum = 'CURRENT_YEAR' |
| | |
| | | getJobEventTotal().then(res => { |
| | | eventTotal.value = res?.data?.data || 0 |
| | | }) |
| | | |
| | | |
| | | setTimeout(() => { |
| | | display.value = true |
| | | },1000) |
| | | }) |
| | | </script> |
| | | |
| | |
| | | .centerLeft { |
| | | width: 50%; |
| | | |
| | | |
| | | |
| | | } |
| | | |
| | | .centerRight { |