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 | 78 +++++++++++++++++++++++++++++++++++++++
1 files changed, 78 insertions(+), 0 deletions(-)
diff --git a/rsf-admin/src/i18n/zh.js b/rsf-admin/src/i18n/zh.js
index afae1b9..b31b48d 100644
--- a/rsf-admin/src/i18n/zh.js
+++ b/rsf-admin/src/i18n/zh.js
@@ -3,9 +3,18 @@
const customChineseMessages = {
...chineseMessages,
hello: '浣犲ソ涓栫晫',
+ 'menu.httpAuditLog': 'HTTP鎺ュ彛瀹¤',
+ 'menu.httpAuditRule': 'HTTP瀹¤瑙勫垯',
resources: {
config: { name: '閰嶇疆鍙傛暟' },
+ httpAuditLog: { name: 'HTTP鎺ュ彛瀹¤' },
+ httpAuditRule: { name: 'HTTP瀹¤瑙勫垯', createTitle: '鏂板瀹¤瑙勫垯' },
+ asnOrderItem: { name: '鏀惰揣鏄庣粏' },
+ outStockItem: { name: '鍑哄簱鍗曟槑缁�' },
},
+ // 鎵佸钩 key锛屼緵閮ㄥ垎 i18n 鎸夊瓧绗︿覆鏌ユ壘璧勬簮鏍囬锛岄伩鍏嶆樉绀� Asnorder/Outstock
+ 'resources.asnOrderItem.name': '鏀惰揣鏄庣粏',
+ 'resources.outStockItem.name': '鍑哄簱鍗曟槑缁�',
common: {
response: {
success: "鎿嶄綔鎴愬姛",
@@ -152,6 +161,8 @@
department: '閮ㄩ棬绠$悊',
token: '鐧诲綍鏃ュ織',
operation: '鎿嶄綔鏃ュ織',
+ httpAuditLog: 'HTTP鎺ュ彛瀹¤',
+ httpAuditRule: 'HTTP瀹¤瑙勫垯',
config: '閰嶇疆鍙傛暟',
tenant: '绉熸埛绠$悊',
userLogin: '鐧诲綍鏃ュ織',
@@ -211,6 +222,7 @@
inStockPoces: '鍏ュ簱绠$悊',
outStockPoces: '鍑哄簱绠$悊',
warehouseStock: '鍗虫椂搴撳瓨',
+ viewStockManage: '鍗虫椂搴撳瓨',
deviceBind: '璁惧缁戝畾',
tasks: '浠诲姟绠$悊',
wave: '娉㈡绠$悊',
@@ -219,6 +231,7 @@
outBound: '鍑哄簱浣滀笟',
checkOutBound: '鐩樼偣鍑哄簱',
stockTransfer: '搴撲綅杞Щ',
+ emptyOutbound: '绌烘澘鍑哄簱',
waveRule: '娉㈡绛栫暐',
checkOrder: '鐩樼偣鍗�',
checkDiff: '鐩樼偣宸紓鍗�',
@@ -361,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: "鍛藉悕绌洪棿",
@@ -658,6 +716,7 @@
wkType: "涓氬姟绫诲瀷",
anfme: "璁″垝鏁伴噺",
qty: "瀹屾垚鏁伴噺",
+ palletQty: "缁勬墭鏁伴噺",
logisNo: "鐗╂祦鍗曞彿",
arrTime: "棰勮鍒拌揪鏃堕棿",
rleStatus: "閲婃斁鐘舵��",
@@ -809,6 +868,7 @@
purUnit: "閲囪喘鍗曚綅",
unit: '鍗曚綅',
qty: "瀹屾垚鏁�",
+ palletQty: "缁勬墭鏁伴噺",
safeQty: '鍚堟牸鏁�',
disQty: '涓嶅悎鏍兼暟',
splrBatch: "鎵规",
@@ -1171,6 +1231,7 @@
locItem: {
locId: "搴撲綅ID",
locCode: "搴撲綅",
+ barcode: "鏂欑鐮�",
orderId: "璁㈠崟ID",
type: "鍗曟嵁绫诲瀷",
orderItemId: "鍗曟嵁鏄庣粏ID",
@@ -1399,6 +1460,10 @@
true: '姝e父',
false: '绂佺敤',
},
+ auth: {
+ user_menu: '涓汉璧勬枡',
+ logout: '閫�鍑虹櫥褰�',
+ },
notification: {
deleted: '鍒犻櫎鎴愬姛 |||| %{smart_count} 椤� 鍒犻櫎鎴愬姛',
},
@@ -1437,6 +1502,7 @@
bulk_actions: '%{smart_count} 鏉¤閫変腑 |||| %{smart_count} 鏉¤閫変腑',
},
page: {
+ edit: '%{name}',
empty_with_filters: '浣跨敤褰撳墠杩囨护鏉′欢鏈壘鍒扮粨鏋溿��',
loading: '鍔犺浇涓�',
},
@@ -1456,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