统一菜单命名并移除剩余台账工具(05-31-unified-menu-remove-ledger-tools-wave2)
这个提交包含在:
@@ -596,7 +596,7 @@ export function ProjectDetailPage() {
|
||||
<Link to="/projects">返回项目</Link>
|
||||
</Button>
|
||||
<Button asChild variant="secondary" type="button">
|
||||
<Link to={`/contracts-registry?projectId=${detail.id}`}>合同台账</Link>
|
||||
<Link to={`/contracts-registry?projectId=${detail.id}`}>合同</Link>
|
||||
</Button>
|
||||
<Button type="button" variant="secondary" disabled={archiveProjectMutation.isPending || detail.status === "archived"} onClick={() => setConfirmArchiveProject(true)}>
|
||||
{archiveProjectMutation.isPending ? "归档中..." : "归档项目"}
|
||||
@@ -1090,7 +1090,7 @@ export function ProjectDetailPage() {
|
||||
<div>负责人:{detail.owner?.name ?? "-"}</div>
|
||||
<div>项目经理:{detail.manager?.name ?? "-"}</div>
|
||||
<div>周报关联:{counts?.weeklyReports ?? 0}</div>
|
||||
<div>合同台账:{counts?.contracts ?? 0}</div>
|
||||
<div>合同:{counts?.contracts ?? 0}</div>
|
||||
<div>交付记录:{counts?.deliveries ?? 0}</div>
|
||||
<div>资料引用:{counts?.documentRefs ?? 0}</div>
|
||||
<div className="rounded-lg border border-zinc-200 p-3 text-zinc-600">
|
||||
@@ -1156,7 +1156,7 @@ export function ProjectDetailPage() {
|
||||
</div>
|
||||
</div>
|
||||
<div className="rounded-lg border border-zinc-200 p-4">
|
||||
<div className="text-sm text-zinc-500">合同台账</div>
|
||||
<div className="text-sm text-zinc-500">合同</div>
|
||||
<div className="mt-1 text-xl font-semibold text-zinc-900">{contractsQuery.data?.items.length ?? 0}</div>
|
||||
<div className="mt-2 space-y-2 text-sm">
|
||||
{(contractsQuery.data?.items ?? []).slice(0, 5).map((item) => (
|
||||
|
||||
在新工单中引用
屏蔽一个用户