feat: 完成 PRD 差距与修复,新增审核流与日志清理功能,支持出库信息与动态字段,优化 C 端用户体验

This commit is contained in:
Nixevol
2026-06-29 23:41:39 +08:00
parent d18b7c592d
commit 2fba42c9fd
39 changed files with 1247 additions and 185 deletions
+29 -3
View File
@@ -74,6 +74,11 @@
"DISABLED": "Disabled",
"ABNORMAL": "Abnormal"
},
"auditStatus": {
"PENDING": "Pending",
"APPROVED": "Approved",
"REJECTED": "Rejected"
},
"fieldType": {
"TEXT": "Text",
"NUMBER": "Number",
@@ -117,6 +122,7 @@
"artworks": "Artworks",
"traceCodes": "Trace Codes",
"outbound": "Outbound & Chain",
"audit": "Content Audit",
"queryLogs": "Query Logs",
"users": "Users",
"settings": "Settings",
@@ -158,7 +164,20 @@
"create": "New Template",
"edit": "Edit Template",
"namePlaceholder": "Enter template name",
"fieldKeyTip": "Unique key, e.g. craft"
"fieldKeyTip": "Unique key, e.g. craft",
"sortHint": "Field order = display order on consumer page; use arrows to reorder"
},
"audit": {
"status": "Audit Status",
"approve": "Approve",
"reject": "Reject",
"approved": "Approved",
"rejected": "Rejected",
"remark": "Audit Note",
"remarkPlaceholder": "Enter rejection reason or suggestions",
"approveConfirm": "Approve \"{title}\"? It will become visible on the consumer page.",
"rejectedTip": "This artwork was rejected. Please revise per the notes, save and resubmit for audit.",
"pendingTip": "Pending audit; visible on consumer page only after approval. Saving edits re-enters pending."
},
"artwork": {
"title": "Title",
@@ -202,6 +221,7 @@
"shortCode": "Short Code",
"code": "Trace Code",
"url": "Short URL",
"archiveNo": "Archive No.",
"queryCount": "Queries",
"firstActivatedAt": "First Activated",
"exportBatch": "Export Batch",
@@ -231,13 +251,18 @@
"sku": "SKU",
"archiveNo": "Archive No.",
"outTime": "Outbound Time",
"outImage": "Outbound Photo",
"selectCode": "Select Trace Code",
"selectCodePlaceholder": "Search by short code / SKU / archive no.",
"onchainSection": "On-chain info (optional; filling a hash records the result)",
"txHashTip": "Paste the on-chain transaction/attestation hash",
"selectFile": "Select File",
"importing": "Importing…",
"importResult": "Import Result",
"successCount": "Success",
"failCount": "Failed",
"downloadResult": "Download Details",
"tip": "Download the template first, fill it in and upload (xlsx)"
"tip": "Download the template first, fill it in and upload (xlsx). Includes outbound photo, on-chain hash/time/block height."
},
"blockchain": {
"title": "Blockchain Attestation",
@@ -255,7 +280,8 @@
"device": "Device",
"queriedAt": "Time",
"startTime": "Start",
"endTime": "End"
"endTime": "End",
"keywordPlaceholder": "Short code / trace code / SKU / archive no."
},
"user": {
"username": "Username",
+29 -3
View File
@@ -74,6 +74,11 @@
"DISABLED": "停用",
"ABNORMAL": "异常"
},
"auditStatus": {
"PENDING": "待审核",
"APPROVED": "已通过",
"REJECTED": "已驳回"
},
"fieldType": {
"TEXT": "文本",
"NUMBER": "数字",
@@ -117,6 +122,7 @@
"artworks": "艺术品建档",
"traceCodes": "追溯码管理",
"outbound": "出库与上链",
"audit": "内容审核",
"queryLogs": "查询日志",
"users": "用户管理",
"settings": "系统设置",
@@ -158,7 +164,20 @@
"create": "新建模板",
"edit": "编辑模板",
"namePlaceholder": "请输入模板名称",
"fieldKeyTip": "英文唯一标识,如 craft"
"fieldKeyTip": "英文唯一标识,如 craft",
"sortHint": "字段顺序即 C 端展示顺序,可用上下箭头调整"
},
"audit": {
"status": "审核状态",
"approve": "通过",
"reject": "驳回",
"approved": "已通过审核",
"rejected": "已驳回",
"remark": "审核意见",
"remarkPlaceholder": "请填写驳回原因或修改建议",
"approveConfirm": "确认通过《{title}》的审核?通过后将对 C 端可见。",
"rejectedTip": "该作品审核未通过,请按意见修改后保存再次提交审核",
"pendingTip": "该作品待审核,审核通过后方可在 C 端展示;保存修改会重新进入待审核"
},
"artwork": {
"title": "作品名称",
@@ -202,6 +221,7 @@
"shortCode": "短码",
"code": "追溯码",
"url": "短链",
"archiveNo": "档案编号",
"queryCount": "查询次数",
"firstActivatedAt": "首次激活时间",
"exportBatch": "导出本批",
@@ -231,13 +251,18 @@
"sku": "SKU",
"archiveNo": "档案编号",
"outTime": "出库时间",
"outImage": "出库实况图",
"selectCode": "选择追溯码",
"selectCodePlaceholder": "输入短码 / SKU / 档案号搜索",
"onchainSection": "上链信息(选填,填写哈希即登记上链结果)",
"txHashTip": "粘贴链上交易/存证哈希",
"selectFile": "选择文件",
"importing": "导入中…",
"importResult": "导入结果",
"successCount": "成功",
"failCount": "失败",
"downloadResult": "下载结果明细",
"tip": "请先下载模板,按模板填写后上传(支持 xlsx)"
"tip": "请先下载模板,按模板填写后上传(支持 xlsx)。模板含出库实况图、上链哈希/时间/区块高度等字段。"
},
"blockchain": {
"title": "区块链存证",
@@ -255,7 +280,8 @@
"device": "设备信息",
"queriedAt": "查询时间",
"startTime": "开始时间",
"endTime": "结束时间"
"endTime": "结束时间",
"keywordPlaceholder": "短码 / 追溯码 / SKU / 档案号"
},
"user": {
"username": "用户名",