From f8688713db8d75679e9c720275ac0c95dee057d4 Mon Sep 17 00:00:00 2001 From: Hermes CI Fix Date: Tue, 8 Sep 2026 21:10:32 +0800 Subject: [PATCH] =?UTF-8?q?feat(data):=20=E6=B8=85=E7=90=86=E9=81=97?= =?UTF-8?q?=E7=95=99ERP=E6=95=B0=E6=8D=AE=E6=BA=90=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=A0=87=E6=B3=A8=E6=94=B6=E5=B0=BE=20=E2=80=94=20=E7=A7=BB?= =?UTF-8?q?=E9=99=A4DataManage=E9=81=97=E7=95=99=E6=A0=87=E7=AD=BE/?= =?UTF-8?q?=E5=91=8A=E8=AD=A6,=20=E7=A9=BA=E6=80=81=E5=BC=95=E5=AF=BC?= =?UTF-8?q?=E7=9C=9F=E5=AE=9Ezxt=E9=80=9A=E9=81=93=20(project-20260908-dat?= =?UTF-8?q?a-source-cleanup)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/DataManage.vue | 34 ++++++++----------------------- 1 file changed, 8 insertions(+), 26 deletions(-) diff --git a/frontend/src/views/DataManage.vue b/frontend/src/views/DataManage.vue index 08e62b0c..bba522b4 100644 --- a/frontend/src/views/DataManage.vue +++ b/frontend/src/views/DataManage.vue @@ -35,13 +35,6 @@ - - - -
{{ erpDirect.reason }}
-
@@ -66,9 +59,7 @@ @@ -79,10 +70,10 @@ - -
- 💡 上表中「ERP」类型数据源为遗留演示配置:其端点指向 erp-gateway 容器(2026-08-31 起 DB 凭据删除、已停用)。 - 新增数据源请选择非 ERP 类型;企业财务数据由上方 zxt 智享通通道真实供给,无需在此配置。 + +
+ 💡 ERP 直连通道已于 2026-08-31 停用,历史遗留 ERP 配置已按决策清理(2026-09-08)。 + 企业财务数据由上方 zxt 智享通通道自动归集(source_type='zxt-sync'),无需在此配置。
@@ -93,7 +84,7 @@ 📡 实际取数映射(采集器使用,kpi_value_sources)
-
06:30 定时采集(scripts/kpi_value_collector.py)按此映射写入 kpi_values(source_type='auto_collect'),与上方 ERP 遗留数据源相互独立。
+
06:30 定时采集(scripts/kpi_value_collector.py)按此映射写入 kpi_values(source_type='auto_collect'),与上方「数据源配置」相互独立。
@@ -112,7 +103,7 @@ + title="ERP 直连通道已停用(2026-08-31)。ERP 类型数据源仅作记录、不会执行同步;企业财务数据由 zxt 智享通通道供给。" /> @@ -123,7 +114,7 @@ - + @@ -192,23 +183,14 @@ async function doImport() { // === 数据链路状态(2026-09-08 诚实化) === const channelLoading = ref(false) const realChannel = ref(null) -const erpDirect = ref(null) -const legacyErpIds = ref>(new Set()) const valueSources = ref([]) -function isLegacyErpSource(row: any): boolean { - return row.source_type === 'erp' && legacyErpIds.value.has(Number(row.id)) -} - async function loadChannelStatus() { channelLoading.value = true try { const r: any = await dataApi.channelStatus() const d = r.data || r realChannel.value = d.real_channel || null - erpDirect.value = d.erp_direct || null - const ids = (d.erp_direct?.legacy_sources || []).map((s: any) => Number(s.id)) - legacyErpIds.value = new Set(ids) } catch (e) { /* 非阻塞:状态卡片加载失败不影响列表 */ } channelLoading.value = false }