无人机管理后台前端(已迁走)
罗广辉
2025-08-11 10618c315c8db8fe2b378032d810544fce9a0678
feat: 延迟显示
1 files modified
18 ■■■■■ changed files
src/views/wel/index.vue 18 ●●●●● patch | view | raw | blame | history
src/views/wel/index.vue
@@ -1,26 +1,26 @@
<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>
@@ -53,6 +53,7 @@
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({
@@ -68,7 +69,7 @@
  dateSelect.value = item
}
const refresh = () => {
  params.value.date_enum = 'CURRENT_YEAR'
@@ -89,8 +90,9 @@
  getJobEventTotal().then(res => {
    eventTotal.value = res?.data?.data || 0
  })
  setTimeout(() => {
    display.value = true
  },1000)
})
</script>
@@ -194,7 +196,7 @@
        .centerLeft {
          width: 50%;
        }
        .centerRight {