feat: 完成分享、单会话与发布审批改造

- 增加工作流协作分享与知识库卡片分享入口,统一低版本浏览器复制反馈

- Web 新登录替换旧会话,并保持 API Key 会话隔离

- 发布审批增加必填说明并在审批详情展示

- 账号重置与导入改用可配置默认强密码
This commit is contained in:
2026-07-23 16:09:31 +08:00
parent caa1f07b66
commit 5a42826d44
71 changed files with 3191 additions and 132 deletions

View File

@@ -89,6 +89,7 @@
"apiVariablesEmpty": "This workflow has no start parameters",
"apiStatusExample": "Status Query Example",
"apiResumeExample": "Resume Example",
"shareExpired": "This workflow share link has expired. Request a new link",
"submitPublishApprovalConfirm": "Publish the current workflow now?",
"submitRepublishApprovalConfirm": "Republish the current workflow now?",
"submitOfflineApprovalConfirm": "Take the current workflow offline?",

View File

@@ -22,6 +22,7 @@
"approve": "Approve",
"reject": "Reject",
"revoke": "Revoke",
"submit": "Submit Approval",
"addScope": "Add Scope",
"addStep": "Add Step"
},
@@ -69,6 +70,7 @@
"stepNoLabel": "Step No.",
"currentStep": "Current Step",
"summary": "Summary",
"applicationReason": "Application Reason",
"resourceId": "Resource ID",
"taskId": "Approval Task ID",
"applicant": "Applicant",
@@ -104,7 +106,8 @@
"assigneeType": "Select assignee type",
"assigneeTarget": "Select assignee",
"stepName": "Enter step name",
"actionComment": "Enter a comment"
"actionComment": "Enter a comment",
"applicationReason": "Describe this publication and its purpose"
},
"message": {
"needStep": "At least one step is required",
@@ -123,7 +126,10 @@
"eventRevokedStep": "Step {value} revoked",
"workflowSnapshotUntitled": "Untitled workflow snapshot",
"workflowSnapshotMissing": "Workflow snapshot not found",
"workflowSnapshotParseFailed": "Failed to parse workflow snapshot"
"workflowSnapshotParseFailed": "Failed to parse workflow snapshot",
"applicationReasonPrompt": "Enter an approval reason (1-500 characters)",
"applicationReasonRequired": "Approval reason is required",
"applicationReasonTooLong": "Approval reason cannot exceed 500 characters"
},
"snapshot": {
"knowledgeBasic": "Basic Info",

View File

@@ -30,6 +30,7 @@
"run": "Run",
"runTest": "RunTest",
"copy": "Copy",
"share": "Share",
"selectAll": "Select All",
"choose": "Select",
"setting": "Setting",

View File

@@ -27,8 +27,8 @@
"passwordStrongTip": "Password must be at least 8 characters and include uppercase, lowercase, numbers, and special characters",
"forceChangePasswordNavigateTip": "For account security, please change your password before visiting other pages.",
"resetPassword": "Reset Password",
"resetPasswordConfirm": "Reset this account password to 123456? The user will be required to change it on next login.",
"resetPasswordSuccess": "Password has been reset to 123456 and must be changed on next login",
"resetPasswordConfirm": "Reset this account password to the system default strong password? The user will be required to change it on next login.",
"resetPasswordSuccess": "Password has been reset to the system default strong password and must be changed on next login",
"batchSelectedCount": "{count} selected",
"batchToolbarHint": "Batch actions are available for selected accounts",
"batchActionSelectRequired": "Please select at least one account",
@@ -39,7 +39,7 @@
"batchDeletePartialSuccess": "Batch delete completed. {successCount} succeeded and {errorCount} failed.",
"batchDeleteAllFailed": "Batch delete failed",
"batchResetPassword": "Batch Reset Password",
"batchResetPasswordConfirm": "Reset the selected {count} accounts to 123456? Users must change it on next login, and protected administrator accounts will be skipped.",
"batchResetPasswordConfirm": "Reset the selected {count} accounts to the system default strong password? Users must change it on next login, and protected administrator accounts will be skipped.",
"batchResetPasswordSuccess": "{count} account passwords have been reset",
"batchResetPasswordPartialSuccess": "Batch password reset completed. {successCount} succeeded and {errorCount} failed.",
"batchResetPasswordAllFailed": "Batch password reset failed",

View File

@@ -89,6 +89,7 @@
"apiVariablesEmpty": "当前工作流没有开始参数",
"apiStatusExample": "状态查询示例",
"apiResumeExample": "恢复执行示例",
"shareExpired": "工作流分享链接已失效,请重新获取",
"submitPublishApprovalConfirm": "确认发布当前工作流吗?",
"submitRepublishApprovalConfirm": "确认重新发布当前工作流吗?",
"submitOfflineApprovalConfirm": "确认下线当前工作流吗?",

View File

@@ -22,6 +22,7 @@
"approve": "通过",
"reject": "驳回",
"revoke": "撤回",
"submit": "提交审批",
"addScope": "新增范围",
"addStep": "新增步骤"
},
@@ -69,6 +70,7 @@
"stepNoLabel": "步骤序号",
"currentStep": "当前步骤",
"summary": "审批摘要",
"applicationReason": "审批说明",
"resourceId": "资源ID",
"taskId": "审批任务ID",
"applicant": "申请人",
@@ -104,7 +106,8 @@
"assigneeType": "请选择审批方式",
"assigneeTarget": "请选择审批对象",
"stepName": "请输入步骤名称",
"actionComment": "请输入处理说明"
"actionComment": "请输入处理说明",
"applicationReason": "请输入本次发布内容和原因"
},
"message": {
"needStep": "至少需要一个审批步骤",
@@ -123,7 +126,10 @@
"eventRevokedStep": "第 {value} 步已撤回",
"workflowSnapshotUntitled": "未命名工作流快照",
"workflowSnapshotMissing": "未找到工作流快照",
"workflowSnapshotParseFailed": "工作流快照解析失败"
"workflowSnapshotParseFailed": "工作流快照解析失败",
"applicationReasonPrompt": "请填写审批说明1-500字",
"applicationReasonRequired": "请填写审批说明",
"applicationReasonTooLong": "审批说明不能超过500字"
},
"snapshot": {
"knowledgeBasic": "基础信息",

View File

@@ -30,6 +30,7 @@
"run": "运行",
"runTest": "试运行",
"copy": "复制",
"share": "分享",
"selectAll": "全选",
"choose": "选择",
"setting": "设置",

View File

@@ -28,8 +28,8 @@
"passwordStrongTip": "密码必须至少 8 位,且包含大写字母、小写字母、数字和特殊字符",
"forceChangePasswordNavigateTip": "为了账户安全,请先修改密码后再继续访问其他页面",
"resetPassword": "重置密码",
"resetPasswordConfirm": "确认将该用户密码重置为 123456 吗?重置后用户下次登录必须先修改密码。",
"resetPasswordSuccess": "密码已重置为 123456,用户下次登录需修改密码",
"resetPasswordConfirm": "确认将该用户密码重置为系统默认强密码吗?重置后用户下次登录必须先修改密码。",
"resetPasswordSuccess": "密码已重置为系统默认强密码,用户下次登录需修改密码",
"batchSelectedCount": "已选择 {count} 项",
"batchToolbarHint": "可对选中账号执行批量操作",
"batchActionSelectRequired": "请先选择要操作的账号",
@@ -40,7 +40,7 @@
"batchDeletePartialSuccess": "批量删除完成,成功 {successCount} 个,失败 {errorCount} 个",
"batchDeleteAllFailed": "批量删除失败",
"batchResetPassword": "批量重置密码",
"batchResetPasswordConfirm": "确认将已选中的 {count} 个账号密码重置为 123456 吗?重置后用户下次登录必须先修改密码,管理员账号将跳过并返回失败结果。",
"batchResetPasswordConfirm": "确认将已选中的 {count} 个账号密码重置为系统默认强密码吗?重置后用户下次登录必须先修改密码,管理员账号将跳过并返回失败结果。",
"batchResetPasswordSuccess": "已完成 {count} 个账号密码重置",
"batchResetPasswordPartialSuccess": "批量重置密码完成,成功 {successCount} 个,失败 {errorCount} 个",
"batchResetPasswordAllFailed": "批量重置密码失败",