fix: restore production workspace text

This commit is contained in:
2026-06-21 18:44:52 +08:00
parent ade5053a14
commit f2b3660101
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1109,7 +1109,7 @@ export default function GeneratedContractDetailPage({ params }: { params: Promis
? `${versionCommentSummaryText}${commentHints ? `\n待关注意见:\n${commentHints}` : ""}`
: "";
approvalForm.setFieldsValue({
title: detail ? `${shouldShowApprovalResubmit ? "??????" : "????"}?${detail.template_name}` : "????",
title: detail ? `${shouldShowApprovalResubmit ? "重新提交审批" : "合同审批"}:${detail.template_name}` : "合同审批",
assignee_id: undefined,
assignee_name: currentUser?.role === "admin" ? currentUser.display_name : detail?.metadata.generated_by_name,
comment: [defaultComment, commentContext].filter(Boolean).join("\n\n"),
+4 -4
View File
@@ -236,10 +236,10 @@ export default function WorkspacePage() {
? `当前优先任务:${activeTask.title}。也可以直接新建合同,完成选择模板、生成、自动预审和报告交付。`
: "工作台优先引导合同起草;如果客户已经有合同原文,也可以直接上传 PDF / DOCX / TXT 进入审查主链。";
const workspacePrimaryActions = useMemo(() => [
{ href: "/contracts", label: "????", description: "?????????????????" },
{ href: "/review", label: "????", description: "????????????????" },
{ href: "/files", label: "????", description: "???????????????" },
{ href: "/search", label: "????", description: "?????????????????" },
{ href: "/contracts", label: "合同起草", description: "选择模板、填写关键内容并生成合同。" },
{ href: "/review", label: "发起审查", description: "上传已有合同或粘贴正文进入审查。" },
{ href: "/files", label: "合同仓库", description: "查看文件、预览材料并关联合同。" },
{ href: "/search", label: "统一搜索", description: "按合同、审查、文件和模板快速定位。" },
], []);
const workspaceFocusItems = activeTask
? [