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/en.js |   65 +++++++++++++++++++++++++++++++-
 1 files changed, 62 insertions(+), 3 deletions(-)

diff --git a/rsf-admin/src/i18n/en.js b/rsf-admin/src/i18n/en.js
index d04c278..2176f1d 100644
--- a/rsf-admin/src/i18n/en.js
+++ b/rsf-admin/src/i18n/en.js
@@ -3,6 +3,11 @@
 const customEnglishMessages = {
     ...englishMessages,
     hello: 'Hello World',
+    'menu.httpAuditLog': 'HTTP audit',
+    'menu.httpAuditRule': 'HTTP audit rules',
+    'resources.httpAuditLog.name': 'HTTP audit',
+    'resources.httpAuditRule.name': 'HTTP audit rules',
+    'resources.httpAuditRule.createTitle': 'New audit rule',
     common: {
         response: {
             success: "Success",
@@ -148,6 +153,8 @@
         department: 'Department',
         token: 'Token',
         operation: 'Operation',
+        httpAuditLog: 'HTTP audit',
+        httpAuditRule: 'HTTP audit rules',
         config: 'Config',
         tenant: 'Tenant',
         userLogin: 'Token',
@@ -205,12 +212,14 @@
         inStockPoces: 'In Stock Pocess',
         outStockPoces: 'Out Stock Pocess',
         warehouseStock: 'Instant Inventory',
+        viewStockManage: 'Instant Inventory',
         deviceBind: 'Device Bind',
         tasks: 'Tasks',
         locItem: 'Loc Items',
         wave: 'Wave Manage',
         basStation: 'BasStation',
         basContainer: 'BasContainer',
+        emptyOutbound: 'Empty Pallet Outbound',
         waveRule: 'Wave Rules',
         checkDiff: 'Check Diff',
         transfer: 'Transfer',
@@ -334,6 +343,51 @@
                     female: 'Female',
                     unknown: 'Unknown',
                 }
+            },
+            httpAuditLog: {
+                serviceName: "service",
+                scopeType: "scope",
+                uri: "uri",
+                method: "method",
+                functionDesc: "description",
+                queryString: "query string",
+                requestBody: "request JSON",
+                responseBody: "response JSON",
+                responseTruncated: "response truncated",
+                httpStatus: "HTTP status",
+                okFlag: "ok / error",
+                spendMs: "spend ms",
+                clientIp: "client IP",
+                errorMessage: "error",
+                ioDirection: "I/O",
+            },
+            httpAuditRule: {
+                directionLabel: "Direction",
+                direction: { IN: "Inbound", OUT: "Outbound", BOTH: "Both" },
+                requestMaxChars: "Request max chars (-1 = full)",
+                responseMaxChars: "Response max chars (-1 = full)",
+                recordAll: "Record all (ignore whitelist rules)",
+                recordAllOn: "Yes",
+                recordAllOff: "No",
+                ruleTypeLabel: "Rule type",
+                ruleType: {
+                    URI: "URI path",
+                    IP: "Client IP",
+                    REQUEST_BODY: "Request body",
+                },
+                matchModeLabel: "Match mode",
+                matchMode: {
+                    EQUAL: "Equal",
+                    PREFIX: "Prefix",
+                    CONTAINS: "Contains",
+                    REGEX: "Regex",
+                },
+                pattern: "Pattern",
+                enabled: "Enabled",
+                enabledOn: "On",
+                enabledOff: "Off",
+                sortOrder: "Sort",
+                remark: "Remark",
             },
             operationRecord: {
                 namespace: "namespace",
@@ -599,12 +653,13 @@
             },
             asnOrder: {
                 code: "Code",
-                poCode: "poCode",
+                poCode: "Internal Code",
                 poId: "poId",
                 type: "Type",
                 wkType: "wkType",
                 anfme: "anfme",
                 qty: "qty",
+                palletQty: "Pallet Qty",
                 logisNo: "logisNo",
                 arrTime: "Arrived",
                 rleStatus: "Release",
@@ -774,6 +829,7 @@
                 purUnit: "purUnit",
                 unit: 'Unit',
                 qty: "qty",
+                palletQty: "Pallet Qty",
                 safeQty: 'Safe Qty',
                 disQty: 'Def Qty',
                 splrCode: "splrCode",
@@ -786,7 +842,7 @@
             },
             asnOrderLog: {
                 code: "code",
-                poCode: "poCode",
+                poCode: "Internal Code",
                 poId: "poId",
                 type: "type",
                 wkType: "wkType",
@@ -802,7 +858,7 @@
                 asnCode: "asnCode",
                 platItemId: "platItemId",
                 poDetlId: "poDetlId",
-                poCode: "poCode",
+                poCode: "Internal Code",
                 fieldsIndex: "fieldsIndex",
                 matnrId: "matnrId",
                 matnrCode: "matnrCode",
@@ -928,6 +984,7 @@
             },
             waitPakin: {
                 code: "code",
+                asnCodes: "Inbound Order No.",
                 ansId: "ansId",
                 asnCode: "asnCode",
                 barcode: "barcode",
@@ -1154,6 +1211,8 @@
             },
             locItem: {
                 locId: "locId",
+                locCode: "Loc",
+                barcode: "Tote barcode",
                 orderId: "orderId",
                 type: "type",
                 orderItemId: "orderItemId",

--
Gitblit v1.9.1