From c55a86895cabc3e91c2e7aa4eab099a7287e0ae6 Mon Sep 17 00:00:00 2001
From: cl <1442464845@qq.com>
Date: 星期二, 21 四月 2026 14:54:16 +0800
Subject: [PATCH] 站点优化
---
rsf-admin/src/i18n/zh.js | 69 ++++++++++++++++++++++++++++++++++
1 files changed, 69 insertions(+), 0 deletions(-)
diff --git a/rsf-admin/src/i18n/zh.js b/rsf-admin/src/i18n/zh.js
index 140789d..b31b48d 100644
--- a/rsf-admin/src/i18n/zh.js
+++ b/rsf-admin/src/i18n/zh.js
@@ -3,8 +3,12 @@
const customChineseMessages = {
...chineseMessages,
hello: '浣犲ソ涓栫晫',
+ 'menu.httpAuditLog': 'HTTP鎺ュ彛瀹¤',
+ 'menu.httpAuditRule': 'HTTP瀹¤瑙勫垯',
resources: {
config: { name: '閰嶇疆鍙傛暟' },
+ httpAuditLog: { name: 'HTTP鎺ュ彛瀹¤' },
+ httpAuditRule: { name: 'HTTP瀹¤瑙勫垯', createTitle: '鏂板瀹¤瑙勫垯' },
asnOrderItem: { name: '鏀惰揣鏄庣粏' },
outStockItem: { name: '鍑哄簱鍗曟槑缁�' },
},
@@ -157,6 +161,8 @@
department: '閮ㄩ棬绠$悊',
token: '鐧诲綍鏃ュ織',
operation: '鎿嶄綔鏃ュ織',
+ httpAuditLog: 'HTTP鎺ュ彛瀹¤',
+ httpAuditRule: 'HTTP瀹¤瑙勫垯',
config: '閰嶇疆鍙傛暟',
tenant: '绉熸埛绠$悊',
userLogin: '鐧诲綍鏃ュ織',
@@ -216,6 +222,7 @@
inStockPoces: '鍏ュ簱绠$悊',
outStockPoces: '鍑哄簱绠$悊',
warehouseStock: '鍗虫椂搴撳瓨',
+ viewStockManage: '鍗虫椂搴撳瓨',
deviceBind: '璁惧缁戝畾',
tasks: '浠诲姟绠$悊',
wave: '娉㈡绠$悊',
@@ -367,6 +374,51 @@
female: '濂虫��',
unknown: '鏈煡',
}
+ },
+ httpAuditLog: {
+ serviceName: "搴旂敤",
+ scopeType: "鍐呭閮�",
+ uri: "鎺ュ彛璺緞",
+ method: "鏂规硶",
+ functionDesc: "鍔熻兘鎻忚堪",
+ queryString: "鏌ヨ涓�",
+ requestBody: "璇锋眰鍐呭(JSON)",
+ responseBody: "鍝嶅簲鍐呭(JSON)",
+ responseTruncated: "鍝嶅簲宸叉埅鏂�",
+ httpStatus: "HTTP鐘舵��",
+ okFlag: "姝e父/寮傚父",
+ spendMs: "鑰楁椂(ms)",
+ clientIp: "璇锋眰IP",
+ errorMessage: "寮傚父淇℃伅",
+ ioDirection: "鏂瑰悜",
+ },
+ httpAuditRule: {
+ directionLabel: "浣滅敤鏂瑰悜",
+ direction: { IN: "鍏ョ珯", OUT: "鍑虹珯", BOTH: "鍙屽悜" },
+ requestMaxChars: "璇锋眰浣撴渶澶氬瓧绗�(-1鍏ㄩ噺)",
+ responseMaxChars: "鍝嶅簲浣撴渶澶氬瓧绗�(-1鍏ㄩ噺)",
+ recordAll: "鍏ㄩ噺璁板綍(鏃犺鐧藉悕鍗�)",
+ recordAllOn: "鏄�",
+ recordAllOff: "鍚�",
+ ruleTypeLabel: "瑙勫垯绫诲瀷",
+ ruleType: {
+ URI: "鎺ュ彛璺緞",
+ IP: "璇锋眰IP",
+ REQUEST_BODY: "璇锋眰浣�",
+ },
+ matchModeLabel: "鍖归厤鏂瑰紡",
+ matchMode: {
+ EQUAL: "鐩哥瓑",
+ PREFIX: "鍓嶇紑",
+ CONTAINS: "鍖呭惈",
+ REGEX: "姝e垯",
+ },
+ pattern: "鍖归厤鍐呭",
+ enabled: "鍚敤",
+ enabledOn: "鍚敤",
+ enabledOff: "鍋滅敤",
+ sortOrder: "鎺掑簭",
+ remark: "澶囨敞",
},
operationRecord: {
namespace: "鍛藉悕绌洪棿",
@@ -1179,6 +1231,7 @@
locItem: {
locId: "搴撲綅ID",
locCode: "搴撲綅",
+ barcode: "鏂欑鐮�",
orderId: "璁㈠崟ID",
type: "鍗曟嵁绫诲瀷",
orderItemId: "鍗曟嵁鏄庣粏ID",
@@ -1407,6 +1460,10 @@
true: '姝e父',
false: '绂佺敤',
},
+ auth: {
+ user_menu: '涓汉璧勬枡',
+ logout: '閫�鍑虹櫥褰�',
+ },
notification: {
deleted: '鍒犻櫎鎴愬姛 |||| %{smart_count} 椤� 鍒犻櫎鎴愬姛',
},
@@ -1465,6 +1522,18 @@
previous: '涓婁竴椤�',
page_rows_per_page: '姣忛〉鏁伴噺:',
skip_nav: '璺宠浆鍒板唴瀹�',
+ },
+ saved_queries: {
+ label: '宸蹭繚瀛樻煡璇�',
+ save_current_query: '淇濆瓨褰撳墠鏌ヨ',
+ query_name: '鏌ヨ鍚嶇О',
+ new_label: '淇濆瓨褰撳墠鏌ヨ...',
+ new_dialog_title: '灏嗗綋鍓嶆煡璇繚瀛樹负',
+ remove_label: '绉婚櫎宸蹭繚瀛樻煡璇�',
+ remove_label_with_name: '绉婚櫎鏌ヨ "%{name}"',
+ remove_dialog_title: '绉婚櫎宸蹭繚瀛樻煡璇�?',
+ remove_message: '鎮ㄧ‘瀹氳绉婚櫎宸蹭繚瀛樻煡璇㈠悧锛�',
+ help: '璁剧疆绛涢�夊悗鍙繚瀛樺綋鍓嶆煡璇紝渚夸簬涓嬫蹇�熶娇鐢�',
}
},
request: {
--
Gitblit v1.9.1