oa-frontend-pretrial-cleanup 收敛PC试运行前页面风格
这个提交包含在:
@@ -21,6 +21,7 @@ import { isApiError } from "../api/types";
|
||||
import { PageHeader } from "../components/common/PageHeader";
|
||||
import { Pagination } from "../components/common/Pagination";
|
||||
import { TableSkeleton } from "../components/common/TableSkeleton";
|
||||
import { WorkspaceNotice } from "../components/patterns/ListWorkspace";
|
||||
import { Button } from "../components/ui/button";
|
||||
import {
|
||||
Dialog,
|
||||
@@ -262,7 +263,7 @@ export function ErpIntegrationPage() {
|
||||
<div className="space-y-6">
|
||||
<PageHeader
|
||||
title="ERP 集成"
|
||||
subtitle="主数据同步、业务同步队列和 ID 映射。"
|
||||
subtitle="主数据同步、业务队列和 ID 映射。"
|
||||
actions={
|
||||
tab === "master-data" ? (
|
||||
<Button onClick={() => syncMutation.mutate(undefined)} disabled={syncMutation.isPending}>
|
||||
@@ -271,6 +272,9 @@ export function ErpIntegrationPage() {
|
||||
) : null
|
||||
}
|
||||
/>
|
||||
<WorkspaceNotice title="ERP 写入后置" tone="warning">
|
||||
试运行期间不把 ERP 写入作为主路径;本页用于管理员查看同步状态和队列排障。
|
||||
</WorkspaceNotice>
|
||||
|
||||
{error ? (
|
||||
<p className="rounded-lg border border-red-200 bg-red-50 px-3 py-2 text-sm text-red-600">{error}</p>
|
||||
|
||||
在新工单中引用
屏蔽一个用户