refactor(frontend): 前端重构 V3

This commit is contained in:
sophie committed 2026-06-14 21:41:07 +08:00
1 parent 8d8b40812d
commit ec97ea8787
80 files changed
+6887 -3733

No files matched your search

+51 -2
View File
@@ -687,7 +687,43 @@
"cancel": "Cancel",
"saving": "Saving...",
"saveChanges": "Save changes",
"createSchedule": "Create schedule"
"createSchedule": "Create schedule",
"dsDbType": "Database type",
"dsHost": "Host",
"dsHostPlaceholder": "e.g. 192.168.1.100 or ${SRM_SQLSERVER_HOST}",
"dsPort": "Port",
"dsDatabase": "Database",
"dsDatabasePlaceholder": "Database name",
"dsUsername": "Username",
"dsPassword": "Password",
"dsPasswordPlaceholder": "or ${ENV_VAR}",
"dsDriver": "ODBC driver",
"dsEncrypt": "Encrypt",
"dsTrustCert": "TrustServerCertificate",
"defaultNo": "Default (no)",
"defaultYes": "Default (yes)",
"envVarHint": "Values support {token} format and are resolved from environment variables at runtime (recommended for passwords).",
"envVarToken": "${ENV_VAR_NAME}",
"baseFetchSql": "Base fetch SQL (base_fetch_sql) — SELECT + FROM + JOIN only, no WHERE",
"fetchWhereConditions": "WHERE clause (fetch_where_conditions) — edit to test different filters",
"fetchOrderBy": "Order by (fetch_order_by)",
"detailSql": "Detail SQL (detail_sql)",
"writebackSql": "Writeback SQL (writeback_sql)",
"rowIdKey": "Row ID key (row_id_key)",
"logPrefix": "Log prefix (log_prefix)",
"aliasOrder": "Field order (alias_order) — comma-separated",
"detailAliasOrder": "Detail field order (detail_alias_order) — comma-separated",
"headerLabels": "Header labels (header_labels) — JSON",
"apiUrl": "API URL",
"apiMethod": "HTTP method",
"apiTimeoutSeconds": "Timeout (seconds)",
"apiHeaders": "Request headers (Headers) — JSON",
"apiBodyTemplate": "Request body template (Body)",
"agentLabel": "Agent",
"agentOptionId": " (ID: {id})",
"difySystemPrompt": "Dify System Prompt",
"difySystemPromptHint": "Available when a Dify Agent is enabled. Saved as system_prompt in the Workflow; LLM nodes must reference this variable.",
"difySystemPromptPlaceholder": "e.g. You are a material compliance assistant. Based on record test data, return JSON with dify_result (pass/fail/manual review) and dify_message."
},
"testRun": {
"title": "Test run — {name}",
@@ -711,7 +747,9 @@
"writeToKb": "Write to knowledge base",
"writeToKbHint": "After a successful or partially successful test run, sync the Excel result to the schedule knowledge base group.",
"noKbGroupHint": "Enable knowledge base sync and select a group in schedule settings first.",
"kbSyncNoStatus": "Knowledge base sync was requested but no status was returned. Check backend logs or schedule KB settings."
"kbSyncNoStatus": "Knowledge base sync was requested but no status was returned. Check backend logs or schedule KB settings.",
"baseFetchSqlReadonly": "Base fetch SQL (base_fetch_sql) — read-only",
"limitRows": "Row limit (limit)"
},
"status": {
"all": "All",
@@ -753,6 +791,17 @@
"runNowFailed": "Manual run failed",
"downloadExcelFailed": "Failed to download Excel",
"deleteFailed": "Delete schedule failed"
},
"difySnapshot": {
"title": "Dify execution snapshot (audit)",
"agent": "Agent",
"agentId": " (ID: {id})",
"difyAppId": "Dify App ID",
"systemPrompt": "System Prompt",
"notConfigured": "(Not configured)",
"notConfiguredUseDefault": "(Not configured; using Dify workflow default prompt)",
"notEnabledTest": "Dify was not enabled for this test",
"notEnabledRun": "Dify Agent was not enabled for this run"
}
},
"role": {