接入前端真实接口并标记邮件HTML清洗

This commit is contained in:
andy
2026-07-08 23:37:03 +08:00
parent c83935a26c
commit a0cb3a05d7
25 changed files with 2581 additions and 157 deletions

View File

@@ -1,7 +1,6 @@
export default {
app: {
name: 'Hotel OMS',
hotelContext: 'HOTEL-TEST',
theme: 'Theme',
healthUp: 'Backend connected',
healthDown: 'Backend offline',
@@ -21,6 +20,10 @@ export default {
noData: 'No data',
endpointPending: 'Endpoint pending',
endpointMissing: 'Endpoint field pending',
previousPage: 'Previous',
nextPage: 'Next',
pageStatus: 'Page {current} / {total}',
pageSize: 'Page size',
},
workbench: {
title: 'Order workbench',
@@ -50,7 +53,17 @@ export default {
subtitle: 'Review Reservation work by order',
keyword: 'Group Code / Confirmation No.',
tableTitle: 'Order data',
totalSuffix: 'orders',
viewDetail: 'View detail',
continueTask: 'Continue task',
noOpenTask: 'No open task',
endpointPending: 'The order list endpoint GET /api/reservation/orders is pending backend implementation. No fixture data is shown.',
columns: {
order: 'Order',
status: 'Status',
openTasks: 'Open tasks',
createdAt: 'Created at',
},
},
order: {
summary: 'Order summary',
@@ -68,6 +81,7 @@ export default {
temporaryOrderNo: 'Temporary order no.',
blockCode: 'Block Code',
createdAt: 'Created at',
conversationMessageCount: 'Conversation messages',
sourceSummaryPending: 'Source email summary fields for the order task timeline are pending backend support. Open a task for available source details.',
},
taskList: {
@@ -79,6 +93,12 @@ export default {
totalSuffix: 'tasks',
noSourceSubject: 'No source subject',
canProcess: 'Processable',
cannotProcess: 'Not processable',
queueParticipation: 'Queue participation',
queueAll: 'All queue states',
queueIncluded: 'In queue',
queueExcluded: 'Not in queue',
orderStatusFilterPending: 'Order status filter is pending backend support',
viewTask: 'View task',
viewOrder: 'View order',
viewConversation: 'View email conversation',
@@ -112,6 +132,13 @@ export default {
fieldAreaFallback: 'Basic information',
savedLocally: 'Draft saved',
confirmedLocally: 'Task confirmed',
validationFailed: 'Fix field errors first',
validation: {
required: '{field} is required',
enum: '{field} must use one of the allowed options',
date: '{field} must use YYYY-MM-DD',
number: '{field} must be a number',
},
viewOrder: 'View order',
viewConversation: 'View email conversation',
sourceMessageId: 'Source message ID',
@@ -124,6 +151,16 @@ export default {
title: 'Email conversation detail',
subtitle: 'Review all messages in the source email conversation',
endpointPending: 'The email conversation detail endpoint is pending backend implementation. No fixture data is shown.',
subject: 'Conversation subject',
messageCount: 'Messages',
channel: 'Channel',
firstReceivedAt: 'First received',
lastReceivedAt: 'Last received',
emptyBody: 'Empty message body',
attachments: 'Attachments / inline images',
unnamedAttachment: 'Unnamed attachment',
relatedOrders: 'Related orders',
relatedTasks: 'Related tasks',
},
status: {
TEMPORARY: 'Temporary',