From 492802e4fc1b371ba21a2a490c8dcd67d7c8b29c Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期一, 22 六月 2026 14:03:40 +0800
Subject: [PATCH] fix: 出差和请假审批新增开始与结束日期
---
src/views/reportAnalysis/financialAnalysis/components/center-bottom.vue | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/views/reportAnalysis/financialAnalysis/components/center-bottom.vue b/src/views/reportAnalysis/financialAnalysis/components/center-bottom.vue
index c8eeeb9..a26e712 100644
--- a/src/views/reportAnalysis/financialAnalysis/components/center-bottom.vue
+++ b/src/views/reportAnalysis/financialAnalysis/components/center-bottom.vue
@@ -19,10 +19,11 @@
</template>
<script setup>
-import { ref, onMounted } from 'vue'
+import { ref } from 'vue'
import Echarts from '@/components/Echarts/echarts.vue'
import PanelHeader from './PanelHeader.vue'
import { profitTrendAnalysis } from '@/api/viewIndex.js'
+import { usePolling } from '@/hooks/usePolling.js'
const chartStyle = { width: '100%', height: '150%' }
const grid = { left: '3%', right: '4%', bottom: '3%', top: '4%', containLabel: true }
@@ -85,9 +86,8 @@
})
}
-onMounted(() => {
- fetchData()
-})
+// 鍚姩杞锛屾瘡鍒嗛挓鍒锋柊涓�娆℃暟鎹�
+usePolling(fetchData)
</script>
<style scoped>
@@ -101,7 +101,7 @@
border: 1px solid #1a58b0;
padding: 18px;
width: 100%;
- height: 428px;
+ height: 432px;
}
</style>
--
Gitblit v1.9.3