fix: 1. 继续对齐交叉评查的接口,完善创建交叉评查的逻辑 和 相关组件的渲染布局。

2. 文档的基本信息修改改用接口。      3. 重新完善角色权限管理的页面逻辑。     4.将评查点列表中的返回逻辑改用浏览器的记忆返回。
This commit is contained in:
2025-12-12 12:00:36 +08:00
parent a5c49a5c95
commit d4000cd292
25 changed files with 4750 additions and 28293 deletions
+6
View File
@@ -1076,6 +1076,11 @@ export default function RuleNew() {
loadedUrlRef.current = fullUrl;
}, [location.search, location.pathname, fetchEvaluationPoint, fetchEvaluationPointGroups, fetchVlmFieldTypeOptions, resetFormData]);
// 处理返回按钮点击
const handleBack = () => {
navigate(-1);
};
// 渲染页面内容
return (
<div className="container">
@@ -1083,6 +1088,7 @@ export default function RuleNew() {
<PageHeader
title={isCopyMode ? "复制评查点" : (isEditMode ? (isReadOnly ? "查看评查点" : "编辑评查点") : "新增评查点")}
onSave={handleSave}
onBack={handleBack}
showSaveButton={!isReadOnly}
/>