From c6c7c80d97dce6cddfe00cd8bec004d50f43a594 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B3=89=E4=BD=B3?= <1107186916@qq.com> Date: Fri, 30 Oct 2026 11:35:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=A2=E5=95=86=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E9=A3=8E=E9=99=A9=E5=88=97=E5=86=85=E9=83=A8=E7=BB=84=E7=BB=87?= =?UTF-8?q?=E5=AE=A2=E5=95=86=E9=BB=98=E8=AE=A4=E6=97=A0=E9=A3=8E=E9=99=A9?= =?UTF-8?q?=E5=B9=B6=E7=BB=84=E5=90=88=E5=B1=95=E7=A4=BA=E9=AB=98=E9=A3=8E?= =?UTF-8?q?=E9=99=A9=E4=B8=8E=E9=BB=91=E5=90=8D=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/vehicle/customer-archive.vue | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/views/vehicle/customer-archive.vue b/src/views/vehicle/customer-archive.vue index afea612..5b2718b 100644 --- a/src/views/vehicle/customer-archive.vue +++ b/src/views/vehicle/customer-archive.vue @@ -5558,10 +5558,15 @@ export default { this.loading = false; }); }, - // 客商风险名称(C101-1 每日定时刷新落库字段):黑名单优先,等级转义,未查询返回空展示"-" + // 客商风险名称(每日定时刷新落库字段):内部组织客商默认无风险;黑名单与高风险组合展示;未查询显示"-" customerRowRiskName(row) { - if (row.hcsBlackStatus === 'yes') return '黑名单'; - return { 2: '高风险', 1: '中风险', 0: '低风险' }[row.hcsRiskLevel] || ''; + const isBlack = row.hcsBlackStatus === 'yes'; + const isHigh = row.hcsRiskLevel === '2'; + if (isBlack && isHigh) return '高风险、黑名单'; + if (isHigh) return '高风险'; + if (isBlack) return '黑名单'; + if (row.customerKind === 'internal') return '无风险'; + return { 1: '中风险', 0: '低风险' }[row.hcsRiskLevel] || ''; }, // 高风险/黑名单判定(与列表筛选口径一致,命中显示红色标签) customerRowRisky(row) {