fix:隐藏交叉评查的负责人的按钮
This commit is contained in:
+5
-4
@@ -13,9 +13,10 @@ docreview-frontend-deploy.tar.gz
|
||||
# Claude Code local settings
|
||||
.claude/
|
||||
|
||||
.doc/
|
||||
.messages/
|
||||
.database/
|
||||
.auth_doc/
|
||||
doc/
|
||||
messages/
|
||||
database/
|
||||
auth_doc/
|
||||
teach/
|
||||
typecheck_result.txt
|
||||
*.DS_Store
|
||||
|
||||
@@ -159,9 +159,9 @@ const configs: Record<string, ApiConfig> = {
|
||||
// baseUrl: 'http://172.16.0.58:8073', // FastAPI后端(包含/dify代理)
|
||||
// documentUrl: 'http://172.16.0.58:8073/docauditai/',
|
||||
// uploadUrl: 'http://172.16.0.58:8073/api/v2/documents',
|
||||
baseUrl: 'http://172.16.0.55:8073', // FastAPI后端(包含/dify代理)
|
||||
documentUrl: 'http://172.16.0.55:8073/docauditai/',
|
||||
uploadUrl: 'http://172.16.0.55:8073/api/v2/documents',
|
||||
baseUrl: 'http://172.16.0.84:8073', // FastAPI后端(包含/dify代理)
|
||||
documentUrl: 'http://172.16.0.84:8073/docauditai/',
|
||||
uploadUrl: 'http://172.16.0.84:8073/api/v2/documents',
|
||||
|
||||
collaboraUrl: 'http://172.16.0.58:9980',
|
||||
appUrl: 'http://172.16.0.34:5173',
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -2085,9 +2085,9 @@ export default function RolePermissions() {
|
||||
<span className="leader-badge">负责人</span>
|
||||
)}
|
||||
</div>
|
||||
<div className="user-username">@{user.username}</div>
|
||||
{/* <div className="user-username">@{user.username}</div> */}
|
||||
<div className="user-org">
|
||||
{JSON.stringify(user)}
|
||||
{/* {JSON.stringify(user)} */}
|
||||
{user.ou_name}
|
||||
{user.area && <span style={{ marginLeft: '8px', color: '#666' }}>• {user.area}</span>}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user