From b3fb3db3341ea98dac914f62dc94e59fe37e6b3f Mon Sep 17 00:00:00 2001
From: cl <1442464845@qq.com>
Date: 星期一, 13 四月 2026 09:00:30 +0800
Subject: [PATCH] 推送报警预写
---
rsf-admin/src/i18n/zh.js | 127 +++++++++++++++++++++++++++++++++++-------
1 files changed, 106 insertions(+), 21 deletions(-)
diff --git a/rsf-admin/src/i18n/zh.js b/rsf-admin/src/i18n/zh.js
index d1417c0..b72083d 100644
--- a/rsf-admin/src/i18n/zh.js
+++ b/rsf-admin/src/i18n/zh.js
@@ -3,6 +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: "鎿嶄綔鎴愬姛",
@@ -149,6 +161,8 @@
department: '閮ㄩ棬绠$悊',
token: '鐧诲綍鏃ュ織',
operation: '鎿嶄綔鏃ュ織',
+ httpAuditLog: 'HTTP鎺ュ彛瀹¤',
+ httpAuditRule: 'HTTP瀹¤瑙勫垯',
config: '閰嶇疆鍙傛暟',
tenant: '绉熸埛绠$悊',
userLogin: '鐧诲綍鏃ュ織',
@@ -172,9 +186,10 @@
companys: '寰�鏉ヤ紒涓�',
serialRuleItem: '缂栫爜瑙勫垯瀛愯〃',
serialRule: '缂栫爜瑙勫垯',
- asnOrder: '鏀惰揣閫氱煡鍗�',
+ asnOrder: '鍏ュ簱閫氱煡鍗�',
asnOrderItem: '鏀惰揣鏄庣粏',
- asnOrderLog: '鏀惰揣鍘嗗彶鍗�',
+ asnOrderLog: '鍏ュ簱鍘嗗彶鍗�',
+ outStockOrderLog: '鍑哄簱鍘嗗彶鍗�',
asnOrderItemLog: '鏀惰揣鍘嗗彶鏄庣粏',
purchase: 'PO鍗�',
purchaseItem: 'PO鍗曟槑缁�',
@@ -202,7 +217,7 @@
logs: '鏃ュ織',
permissions: '鏉冮檺绠$悊',
delivery: 'DO鍗�',
- outStock: '鍑哄簱鍗�',
+ outStock: '鍑哄簱閫氱煡鍗�',
outStockItem: '鍑哄簱鍗曟槑缁�',
inStockPoces: '鍏ュ簱绠$悊',
outStockPoces: '鍑哄簱绠$悊',
@@ -215,6 +230,7 @@
outBound: '鍑哄簱浣滀笟',
checkOutBound: '鐩樼偣鍑哄簱',
stockTransfer: '搴撲綅杞Щ',
+ emptyOutbound: '绌烘澘鍑哄簱',
waveRule: '娉㈡绛栫暐',
checkOrder: '鐩樼偣鍗�',
checkDiff: '鐩樼偣宸紓鍗�',
@@ -358,6 +374,51 @@
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: "鍛藉悕绌洪棿",
url: "url",
@@ -398,6 +459,7 @@
purUnit: "閲囪喘鍗曚綅",
stockUnit: "搴撳瓨鍗曚綅",
stockLevel: "ABC鍒嗙被",
+ stockQty: "搴撳瓨鏁伴噺",
isLabelMange: "鏍囩绠$悊",
safeQty: "瀹夊叏鍊�",
minQty: "鏈�灏忓��",
@@ -467,7 +529,7 @@
name: "鍚嶇О",
flagLogic: "铏氭嫙搴撲綅",
fucAtrrs: "鍔熻兘灞炴��",
- barcode: "瀹瑰櫒鐮�",
+ barcode: "鏂欑鐮�",
startChannel: "璧峰宸烽亾",
unit: "鍗曚綅",
size: "闀�/瀹�/楂�",
@@ -491,7 +553,8 @@
startLev: "璧峰灞�",
startRow: "璧峰鎺�",
useStatus: '搴撲綅鐘舵��',
- locAreaId: '閫昏緫鍒嗗尯'
+ locAreaId: '閫昏緫鍒嗗尯',
+ locCode: '搴撲綅'
},
stockStatistic: {
id: "id",
@@ -505,7 +568,7 @@
maktx: "鐗╂枡鍚嶇О",
matnrCode: "鐗╂枡缂栫爜",
locCode: '搴撲綅',
- barcode: '鎵樼洏鐮�',
+ barcode: '鏂欑鐮�',
count: "鎬绘鏁�",
batch: "鎵规",
anfme: "鏁伴噺",
@@ -645,13 +708,14 @@
maxWeight: "鏈�澶ч噸閲�",
},
asnOrder: {
- code: "ASN鍗曞彿",
- poCode: "PO缂栫爜",
+ code: "WMS鍗曞彿",
+ poCode: "鍗曟嵁鍐呯爜",
poId: "PO鏍囪瘑",
type: "鍗曟嵁绫诲瀷",
wkType: "涓氬姟绫诲瀷",
anfme: "璁″垝鏁伴噺",
qty: "瀹屾垚鏁伴噺",
+ palletQty: "缁勬墭鏁伴噺",
logisNo: "鐗╂祦鍗曞彿",
arrTime: "棰勮鍒拌揪鏃堕棿",
rleStatus: "閲婃斁鐘舵��",
@@ -660,7 +724,7 @@
},
outStock: {
code: "鍑哄簱鍗曞彿",
- poCode: "DO鍗曞彿",
+ poCode: "鍗曟嵁鍐呯爜",
poId: "DO鏍囪瘑",
type: "绫诲瀷",
wkType: "涓氬姟绫诲瀷",
@@ -675,7 +739,7 @@
},
checkOrder: {
code: "鐩樼偣鍗曞彿",
- poCode: "DO鍗曞彿",
+ poCode: "鍗曟嵁鍐呯爜",
poId: "DO鏍囪瘑",
type: "鍗曟嵁绫诲瀷",
checkType: '鐩樼偣绫诲瀷',
@@ -759,7 +823,7 @@
transferOrder: {
code: '鍗曞彿',
- poCode: '璋冩嫈鍗�',
+ poCode: '鍗曟嵁鍐呯爜',
type: '鍗曟嵁绫诲瀷',
wkType: '璋冩嫈绫诲瀷',
anfme: '璋冩嫈鏁伴噺',
@@ -774,7 +838,7 @@
matnrCode: "鐗╂枡缂栫爜",
spec: "瑙勬牸",
model: "鍨嬪彿",
- barcode: "鎵樼洏鐮�",
+ barcode: "鏂欑鐮�",
batch: "鎵规",
anfme: "搴撳瓨鏁伴噺",
checkQty: "瀹炵洏鏁伴噺",
@@ -803,6 +867,7 @@
purUnit: "閲囪喘鍗曚綅",
unit: '鍗曚綅',
qty: "瀹屾垚鏁�",
+ palletQty: "缁勬墭鏁伴噺",
safeQty: '鍚堟牸鏁�',
disQty: '涓嶅悎鏍兼暟',
splrBatch: "鎵规",
@@ -818,7 +883,7 @@
outStockItem: {
orderId: "涓诲崟鏍囪瘑",
orderCode: "鍗曞彿",
- poCode: 'DO鍗曞彿',
+ poCode: '鍗曟嵁鍐呯爜',
poDetlId: "骞冲彴鏄庣粏ID",
poDetlCode: "DO鍗�",
matnrId: "鐗╂枡鏍囪瘑",
@@ -843,7 +908,7 @@
},
asnOrderLog: {
code: "缂栫爜",
- poCode: "PO缂栫爜",
+ poCode: "鍗曟嵁鍐呯爜",
poId: "PO鏍囪瘑",
type: "鍗曟嵁绫诲瀷",
wkType: "涓氬姟绫诲瀷",
@@ -857,6 +922,7 @@
asnOrderItemLog: {
orderId: "涓诲崟鏍囪瘑",
orderCode: "涓诲崟缂栫爜",
+ poCode: "鍗曟嵁鍐呯爜",
platItemId: "erp鏍囪瘑",
poDetlId: "PO鍗曟爣璇�",
poDetlCode: "PO鍗曠紪鐮�",
@@ -966,9 +1032,10 @@
},
waitPakin: {
code: "缂栫爜",
+ asnCodes: "鍏ュ簱閫氱煡鍗曞彿",
ansId: "鏀惰揣閫氱煡鍗曞彿",
asnCode: "鏀惰揣閫氱煡鍗曠紪鐮�",
- barcode: "瀹瑰櫒鐮�",
+ barcode: "鏂欑鐮�",
flagDefect: "涓嶈壇鍝�",
anfme: "鏁伴噺",
ioStatus: "鐘舵��",
@@ -993,7 +1060,7 @@
matnrId: "鐗╂枡id",
matnrCode: "鐗╂枡缂栫爜",
asnId: "鏀惰揣閫氱煡鍗曞彿",
- asnCode: "鏀惰揣閫氱煡鍗曠紪鐮�",
+ asnCode: "鍏ュ簱閫氱煡鍗曞彿",
asnItemId: "鏀惰揣閫氱煡鍗曟槑缁唅d",
trackCode: "鏉″舰鐮�",
isptResult: '璐ㄦ鐘舵��',
@@ -1007,7 +1074,7 @@
waitPakinLog: {
pakinId: "缁勬墭Id",
code: "缂栫爜",
- barcode: "瀹瑰櫒鐮�",
+ barcode: "鏂欑鐮�",
anfme: "鏁伴噺",
ioStatus: "鐘舵��",
},
@@ -1067,7 +1134,7 @@
orgSite: "婧愮珯鐐�",
targLoc: "鐩爣搴撲綅",
targSite: "鐩爣绔欑偣",
- barcode: "鎵樼洏鐮�",
+ barcode: "鏂欑鐮�",
robotCode: "鏈哄櫒缂栫爜",
exceStatus: "鎵ц鐘舵��",
expDesc: "寮傚父璇存槑",
@@ -1085,7 +1152,7 @@
orgSite: "婧愮珯鐐�",
targLoc: "鐩爣搴撲綅",
targSite: "鐩爣绔欑偣",
- barcode: "鎵樼洏鐮�",
+ barcode: "鏂欑鐮�",
robotCode: "鏈哄櫒缂栫爜",
exceStatus: "鎵ц鐘舵��",
expDesc: "寮傚父璇存槑",
@@ -1387,10 +1454,23 @@
selectWave: '娉㈡瑙勫垯',
},
ra: {
+ boolean: {
+ true: '姝e父',
+ false: '绂佺敤',
+ },
+ notification: {
+ deleted: '鍒犻櫎鎴愬姛 |||| %{smart_count} 椤� 鍒犻櫎鎴愬姛',
+ },
+ message: {
+ delete_title: '鍒犻櫎 %{name} #%{id}',
+ delete_content: '鎮ㄧ‘瀹氳鍒犻櫎姝ら」鍚楋紵',
+ loading: '璇风◢鍊�',
+ },
action: {
search: '鎼滅储',
add_filter: '杩囨护鏉′欢',
add: '娣诲姞',
+ back: '杩斿洖',
create: '娣诲姞',
export: '瀵煎嚭',
import: '瀵煎叆',
@@ -1398,6 +1478,7 @@
delete: '鍒犻櫎',
save: '淇濆瓨',
cancel: '鍙栨秷',
+ confirm: '纭',
refresh: '鍒锋柊',
select_columns: '绛涢�夊垪',
select_all: '鍏ㄩ儴閫変腑',
@@ -1411,9 +1492,13 @@
closeRight: '鍏抽棴鍙充晶鏍囩',
closeOthers: '鍏抽棴鍏朵粬鏍囩',
closeAll: '鍏抽棴鎵�鏈夋爣绛�',
+ sort: '鎺掑簭',
+ bulk_actions: '%{smart_count} 鏉¤閫変腑 |||| %{smart_count} 鏉¤閫変腑',
},
page: {
+ edit: '%{name}',
empty_with_filters: '浣跨敤褰撳墠杩囨护鏉′欢鏈壘鍒扮粨鏋溿��',
+ loading: '鍔犺浇涓�',
},
navigation: {
no_results: '娌℃湁鎵惧埌鏁版嵁',
@@ -1421,8 +1506,8 @@
page_out_of_boundaries: '椤电爜 %{page} 瓒呭嚭鑼冨洿',
page_out_from_end: '鏃犳硶璺宠浆鍒版渶鍚庝竴椤典箣鍚�',
page_out_from_begin: '鏃犳硶璺宠浆鍒扮1椤典箣鍓�',
- page_range_info: '绗� %{from}-%{to} 鏉★紝鍏� %{count} 鏉�',
- partial_page_range_info: '绗� %{from}-%{to} 鏉★紝瓒呰繃 %{to} 鏉�',
+ page_range_info: '绗� %{offsetBegin}-%{offsetEnd} 鏉★紝鍏� %{total} 鏉�',
+ partial_page_range_info: '绗� %{offsetBegin}-%{offsetEnd} 鏉★紝瓒呰繃 %{offsetEnd} 鏉�',
current_page: '绗� %{page} 椤�',
page: '璺宠浆鍒扮 %{page} 椤�',
first: '璺宠浆鍒扮涓�椤�',
--
Gitblit v1.9.1