From b604dd5258ad5cbc37c6630f3416c548341fbf48 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期三, 10 六月 2026 11:41:25 +0800
Subject: [PATCH] feat(salesLedger): 添加订单状态管理和标记完成功能
---
src/views/reportAnalysis/qualityAnalysis/components/left-top.vue | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/views/reportAnalysis/qualityAnalysis/components/left-top.vue b/src/views/reportAnalysis/qualityAnalysis/components/left-top.vue
index 8237a3f..9e9f5f5 100644
--- a/src/views/reportAnalysis/qualityAnalysis/components/left-top.vue
+++ b/src/views/reportAnalysis/qualityAnalysis/components/left-top.vue
@@ -51,6 +51,7 @@
import PanelHeader from './PanelHeader.vue'
import DateTypeSwitch from './DateTypeSwitch.vue'
import { rawMaterialDetection, processDetection, factoryDetection } from '@/api/viewIndex.js'
+import { usePolling } from '@/hooks/usePolling.js'
const QUALIFIED_COLOR = '#4EE4FF'
const UNQUALIFIED_COLOR = '#3378FF'
@@ -218,9 +219,16 @@
fetchSectionData(section)
})
})
+
+// 鍚姩杞锛屾瘡鍒嗛挓鍒锋柊涓�娆℃暟鎹�
+usePolling(() => {
+ sections.forEach((section) => {
+ fetchSectionData(section)
+ })
+})
</script>
-<style scoped>
+<style scoped lang="scss">
.main-panel {
display: flex;
flex-direction: column;
@@ -304,7 +312,7 @@
border: 1px solid #1a58b0;
padding: 14px 18px;
width: 100%;
- height: 960px;
+ height: 958px;
box-sizing: border-box;
}
--
Gitblit v1.9.3