feat: align frontend document and rule management flows

This commit is contained in:
wren
2026-05-06 09:40:37 +08:00
parent 8a5044b024
commit c54f84382b
41 changed files with 4239 additions and 2903 deletions
+25
View File
@@ -0,0 +1,25 @@
import { redirect, type LoaderFunctionArgs, type MetaFunction } from "@remix-run/node";
export const meta: MetaFunction = () => {
return [
{ title: "规则管理 - 中国烟草AI合同及卷宗审核系统" },
{
name: "rules-sets",
content: "兼容旧版规则管理入口,自动跳转到新版规则维护页"
}
];
};
export const handle = {
hideBreadcrumb: true,
};
export async function loader({ request }: LoaderFunctionArgs) {
const url = new URL(request.url);
const query = url.searchParams.toString();
throw redirect(query ? `/rulesTest/list?${query}` : "/rulesTest/list");
}
export default function RulesSetsRedirect() {
return null;
}