fix:隐藏交叉评查的负责人的按钮

This commit is contained in:
2026-01-22 18:09:41 +08:00
parent b97d0e1a0b
commit cbdffc9b2e
4 changed files with 16 additions and 15 deletions
+6 -6
View File
@@ -861,7 +861,7 @@ export default function CrossCheckingUpload() {
) : isUser ? (
<>
{/* 设为负责人/取消负责人按钮 */}
<button
{/* <button
type="button"
className={`ml-2 px-2 py-1 rounded text-[10px] transition-colors ${
isLeader
@@ -878,7 +878,7 @@ export default function CrossCheckingUpload() {
title={isLeader ? '取消负责人' : '设为负责人'}
>
{isLeader ? '取消负责人' : '设为负责人'}
</button>
</button> */}
{/* 删除按钮 */}
<button
type="button"
@@ -910,19 +910,19 @@ export default function CrossCheckingUpload() {
<div className="text-xs text-gray-500 flex flex-col gap-1">
<div className="flex items-center justify-between">
<span> {groupChecked.length} </span>
<span className="text-amber-600">
{/* <span className="text-amber-600">
<i className="ri-user-star-fill mr-1"></i>
主要负责人: 1 人
</span>
</span> */}
</div>
{leaderIds.length > 0 && (
{/* {leaderIds.length > 0 && (
<div className="flex items-center justify-end">
<span className="text-[var(--color-primary)]">
<i className="ri-star-fill mr-1"></i>
额外负责人: {leaderIds.length} 人
</span>
</div>
)}
)} */}
</div>
</div>
</div>