From 84d7be872e96547becfbd1647ec77ed56f9f2dde Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 22 九月 2026 10:02:11 +0800
Subject: [PATCH] 新疆-融邦环保 1.大屏展示数据修改 2.销售台账展示字段修改
---
src/views/reportAnalysis/dataDashboard/components/basic/right-bottom.vue | 19 +++++++++++++++++--
1 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/src/views/reportAnalysis/dataDashboard/components/basic/right-bottom.vue b/src/views/reportAnalysis/dataDashboard/components/basic/right-bottom.vue
index bbcd5f0..da39694 100644
--- a/src/views/reportAnalysis/dataDashboard/components/basic/right-bottom.vue
+++ b/src/views/reportAnalysis/dataDashboard/components/basic/right-bottom.vue
@@ -22,7 +22,7 @@
</template>
<script setup>
-import { ref, onMounted, computed } from 'vue'
+import { ref, onMounted, computed, inject, watch } from 'vue'
import Echarts from '@/components/Echarts/echarts.vue'
import PanelHeader from '../PanelHeader.vue'
import DateTypeSwitch from '../DateTypeSwitch.vue'
@@ -33,7 +33,15 @@
height: '100%',
}
-const dateType = ref(1) // 1=鍛� 2=鏈� 3=瀛e害
+// 澶嶇敤鏈粍浠剁殑椤甸潰鍙寚瀹氬垵濮嬪懆鏈燂紝涓嶄紶浠嶆寜銆屽懆銆嶅睍绀猴紙dataDashboard 涓嶅彈褰卞搷锛�
+const props = defineProps({
+ defaultDateType: {
+ type: Number,
+ default: 1, // 1=鍛� 2=鏈� 3=瀛e害
+ },
+})
+
+const dateType = ref(props.defaultDateType)
// 椋炴満鍥炬爣 SVG path锛堜笌 right-top 涓�鑷达級
const aircraft =
@@ -308,6 +316,13 @@
fetchCustomerRanking()
}
+const dataDashboardRefreshTick = inject('dataDashboardRefreshTick', null)
+if (dataDashboardRefreshTick) {
+ watch(dataDashboardRefreshTick, () => {
+ fetchCustomerRanking()
+ })
+}
+
onMounted(() => {
fetchCustomerRanking()
})
--
Gitblit v1.9.3