From db75aaa25b04c17152c676d0534fd109f88ebef4 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 6 Sep 2026 13:14:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BC=9A=E8=AE=AE=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=A1=B5"=E5=8F=82=E4=BC=9A=E7=A1=AE=E8=AE=A4"?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E9=81=97=E6=BC=8F"=E5=BE=85=E5=AE=9A"?= =?UTF-8?q?=E5=93=8D=E5=BA=94=EF=BC=8C=E4=B8=89=E9=A1=B9=E6=95=B0=E5=AD=97?= =?UTF-8?q?=E4=B9=8B=E5=92=8C=E5=AF=B9=E4=B8=8D=E4=B8=8A=E5=8F=82=E4=BC=9A?= =?UTF-8?q?=E4=BA=BA=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MeetingDetail 的 counts 对象本就统计了 tentative({accepted,pending,declined,tentative}), 但渲染只画了已接受/待响应/已拒绝三项,待定响应被计算出来后从未显示。真实复现: 组织者建会议、参会人回应"待定"后查看会议详情,"参会确认"区域三个数字之和小于 participant_count,且没有任何说明缺的那一份去了哪。 补充第4个统计项(待定),保持原有三项顺序不变;base.css 的 .meeting-status > div 网格列数从3改4(.report-statistics 复用同一条规则, 拆开单独设置避免影响日报/月报团队统计的应提交/已提交/未提交三列布局)。 已用 asn494180(组织者)/kcg051307(参会人) 两个真实账号在浏览器实测:kcg回应"待定"后 version从1变为2,asn的会议详情页刷新后正确显示"1 已接受/0 待响应/0 已拒绝/1 待定", 截图确认4列布局无溢出/挤压。 Co-Authored-By: Claude Sonnet 5 --- css/base.css | 7 +++++++ src/views/workplace-collaboration-view.jsx | 9 ++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/css/base.css b/css/base.css index 5b024f25..24991aff 100644 --- a/css/base.css +++ b/css/base.css @@ -879,6 +879,13 @@ grid-template-columns: repeat(3, 1fr); } +/* 参会确认 now shows 4 stats (已接受/待响应/已拒绝/待定, see workplace-collaboration-view.jsx's + MeetingDetail) -- .report-statistics (日报/月报团队统计的应提交/已提交/未提交) stays at 3, only + this selector needs the extra column. */ +.meeting-status > div { + grid-template-columns: repeat(4, 1fr); +} + .meeting-status span, .report-statistics > div span { display: flex; diff --git a/src/views/workplace-collaboration-view.jsx b/src/views/workplace-collaboration-view.jsx index b80e62b7..04984714 100644 --- a/src/views/workplace-collaboration-view.jsx +++ b/src/views/workplace-collaboration-view.jsx @@ -431,7 +431,14 @@ function MeetingDetail({hashParams, onToast}) { {isOrganizer ?

参会确认

-
{counts.accepted}已接受{counts.pending}待响应{counts.declined}已拒绝
+ {/* counts.tentative was already computed above but never rendered here -- live-repro'd + (round 14): after a participant responds "待定" via MeetingDetail's own respond('tentative') + button (or the equivalent list-card flow), this summary's three numbers (已接受/待响应/ + 已拒绝) silently stopped summing to participant_count with no visible explanation, because + the fourth bucket their response actually landed in was computed but dropped on the floor. + Appended as a 4th stat (order of the original three left untouched) so every response state + has a visible home; grid-template-columns bumped from 3 to 4 to match (see base.css). */} +
{counts.accepted}已接受{counts.pending}待响应{counts.declined}已拒绝{counts.tentative}待定