oa-frontend-pretrial-cleanup 收敛PC试运行前页面风格
这个提交包含在:
@@ -34,7 +34,6 @@ import { DateTextInput } from "../components/common/DateTextInput";
|
||||
import { StatusBadge } from "../components/common/StatusBadge";
|
||||
import { TableSkeleton } from "../components/common/TableSkeleton";
|
||||
import { FilterBar, ListWorkspace, PrimaryTable, WorkspaceHeader } from "../components/patterns/ListWorkspace";
|
||||
import { SectionPanel } from "../components/patterns/SectionPanel";
|
||||
import { Button } from "../components/ui/button";
|
||||
import { Input } from "../components/ui/input";
|
||||
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "../components/ui/table";
|
||||
@@ -1415,10 +1414,15 @@ export function AssetRegistryPage() {
|
||||
) : null}
|
||||
|
||||
{selectedAssetId && !isCreatingAsset && canIntegrationManage ? (
|
||||
<SectionPanel
|
||||
title="ERP 同步状态"
|
||||
description="仅同步资产法体、成本中心与退役/归档等财务台账摘要,不接管实物流转。"
|
||||
>
|
||||
<details className="card-std p-4 md:p-5">
|
||||
<summary className="flex cursor-pointer list-none items-start justify-between gap-3">
|
||||
<div>
|
||||
<div className="text-base font-semibold text-zinc-900">ERP 同步状态</div>
|
||||
<div className="mt-1 text-sm text-zinc-500">高级轨道,默认收起。</div>
|
||||
</div>
|
||||
<span className="text-sm font-medium text-primary">展开</span>
|
||||
</summary>
|
||||
<div className="mt-4">
|
||||
{assetErpTrackQuery.isLoading ? (
|
||||
<p className="rounded-lg bg-zinc-50 px-3 py-2 text-sm text-zinc-500">ERP 同步轨道加载中...</p>
|
||||
) : assetErpTrackQuery.isError ? (
|
||||
@@ -1476,7 +1480,8 @@ export function AssetRegistryPage() {
|
||||
) : (
|
||||
<p className="rounded-lg bg-zinc-50 px-3 py-2 text-sm text-zinc-500">暂无 ERP 轨道信息</p>
|
||||
)}
|
||||
</SectionPanel>
|
||||
</div>
|
||||
</details>
|
||||
) : null}
|
||||
|
||||
{selectedAssetId && !isCreatingAsset && currentAsset ? (
|
||||
|
||||
在新工单中引用
屏蔽一个用户