前端原始同步表采纳状态标识展示(#332 后续) #333
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
来源:#332「退款五路数据标准层」正文「不做」约定 —— 前端原始表采纳状态展示另立工单,不阻塞本期后端。
背景
#332 已完成后端闭环:五路 ods 表三态采纳标识(adopted/excluded/pending + 规则码 adopt_reason + 版本 + 时间)、std_* 标准表、analytics 全入口切换 std 唯一源。数据查看树的五路原始表当前不展示采纳状态,业务方无法从界面看出「这行进没进统计」。
需求
数据查看树五路原始表(refunds / wallet_withdrawals / shanmao_refunds / manual_refunds / refund_record_reports)行级展示采纳状态标识:
设计约束
验收标准
关闭凭证核验 (2026-10-19)
ad8ed86:Browser.vue 行级 el-tag 三态徽标(采纳/排除/待定/未判定) + adopt_reason 中文释义 tooltip(manual: 前缀人工覆盖行已适配);生产实测 adopt_state 中文列名「采纳状态(是否进统计)」、adopt_reason enum 含 17 条「码=释义」(生产库 data_source_fields 查询)ruff check app/ tests/All checks passed;全量 pytest EXIT=0 零失败;前端npm run build通过deploy/upgrade.sh --git --branch main→ git-20261019011241(备份 901M),health=ok;生产 data_source_fields 五表各注册采纳四列(启动 lifespan 自动注册)结论:只读展示闭环完成 —— 释义单一来源在采纳作业模块(规则升级只改后端),前端零硬编码。