From 35519d51f4647ff78b973d1b5ac0234cc46e5509 Mon Sep 17 00:00:00 2001
From: song.jun <lion0756@qq.com>
Date: 星期三, 20 五月 2026 13:49:13 +0800
Subject: [PATCH] AnswerList 计分列补显直抗分数(与 PDF 导出口径对齐)

---
 sbcLabSystem/Views/Backstage/AnswerList.cshtml |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/sbcLabSystem/Views/Backstage/AnswerList.cshtml b/sbcLabSystem/Views/Backstage/AnswerList.cshtml
index b31414e..3495781 100644
--- a/sbcLabSystem/Views/Backstage/AnswerList.cshtml
+++ b/sbcLabSystem/Views/Backstage/AnswerList.cshtml
@@ -174,6 +174,7 @@
             }
             var score_ABO = 0;
             var score_Rhd = 0;
+            var score_ZhiKang = 0;
             var score_Filter = 0;
             var score_Identity = 0;
             var score_blood = 0;
@@ -184,6 +185,9 @@
                 }
                 else if (scoreInfo.Name().substr(0, 2) == "RH") {
                     score_Rhd += scoreInfo.RealScore();
+                }
+                else if (scoreInfo.Name().substr(0, 7) == "ZhiKang") {
+                    score_ZhiKang += scoreInfo.RealScore();
                 }
                 else if (scoreInfo.Name().substr(0, 6) == "Filter") {
                     score_Filter += scoreInfo.RealScore();
@@ -197,6 +201,7 @@
             }
             var html = '<p><span class="text-info">ABO分数:{0}</span></p>'.format(score_ABO);
             html += '<p><span class="text-info">RhD分数:{0}</span></p>'.format(score_Rhd);
+            html += '<p><span class="text-info">直抗分数:{0}</span></p>'.format(score_ZhiKang);
             html += '<p><span class="text-info">抗体筛选分数:{0}</span></p>'.format(score_Filter);
             html += '<p><span class="text-info">抗体鉴定分数:{0}</span></p>'.format(score_Identity);
             html += '<p><span class="text-info">交叉配型分数:{0}</span></p>'.format(score_blood);

--
Gitblit v1.8.0