适配 M002 V3 前端任务流与同卡复核

This commit is contained in:
andy
2026-07-12 00:33:15 +08:00
parent fd027f124c
commit 155db63028
17 changed files with 1593 additions and 85 deletions

View File

@@ -318,12 +318,42 @@ export default {
sourceOnlyResult: 'Source message entry result',
sourceOnlyReadonly: 'This task only shows the source message entry result. It does not enter order handling, field editing, or OPERA operations.',
sourceOnlyNoOpera: 'This task type does not involve OPERA operations.',
routeInfo: 'Route and processing',
resultType: 'Result type',
aiTaskType: 'AI task type',
systemTaskType: 'System task type',
taskCardType: 'Task card type',
taskSubtype: 'Task subtype',
routeCode: 'Route code',
systemProcessCategory: 'System process category',
reviewStatus: 'Review status',
entryResultCode: 'Entry result code',
entryResultMeaning: 'Result meaning',
entryResultDescription: 'Result description',
entryResultSourceMessageId: 'Result source message ID',
rawAnswer: 'SuperAgent raw answer',
agentAssessment: 'AI raw fields',
sourceNotification: 'Source message notification',
manualReviewData: 'Manual review data',
adapterContractErrors: 'Adapter contract errors',
unhandledIntents: 'Unhandled intents',
noSourceOnlyResult: 'No source message entry result is available.',
manualResolution: {
title: 'Manual review resolution',
description: 'Fill missing fields on the original task card. The backend validates and unblocks the task after submission.',
pendingStatus: 'Pending review',
resolvedTitle: 'Review resolved',
reasonCode: 'Reason code',
reviewInstruction: 'Review instruction',
confirmedOrderId: 'Confirmed order ID',
fieldValuePlaceholder: 'Enter the confirmed value',
noSupportedMissingFields: 'The current missing fields are not supported for frontend resolution yet. Confirm field mapping with backend.',
fieldRequired: 'Fill the missing field values and confirmed order ID',
reason: 'Resolution note',
reasonPlaceholder: 'Optional note for the manual decision',
submit: 'Submit review result',
succeeded: 'Manual review resolved. Task status has been refreshed.',
},
manualConversion: {
title: 'Manual conversion',
description: 'Convert a Fallback / manual review task into a processable reservation task.',
@@ -437,6 +467,7 @@ export default {
TA_RECORD: 'TA record',
MESSAGE_NOTIFICATION: 'Message notification',
INFORMATIONAL_MESSAGE: 'Message notification (legacy)',
SOURCE_MESSAGE_REVIEW_NOTIFICATION: 'Source message notification',
SOURCE_MESSAGE_ONLY: 'Source message only',
MANUAL_REVIEW: 'Manual review',
FALLBACK_REVIEW: 'Manual review',
@@ -452,9 +483,24 @@ export default {
NEW_GROUP_BLOCK: 'New group block',
NEW_FIT_RESERVATION: 'New FIT reservation',
MANUAL_REVIEW: 'Manual review',
S10: 'Pure informational email (S10)',
S99: 'Business material package unavailable (S99)',
S000: 'Pure informational email',
S999: 'Business material package unavailable',
},
resultType: {
NORMAL_TASK: 'Normal task',
MANUAL_REVIEW: 'Manual review',
SOURCE_MESSAGE_REVIEW_NOTIFICATION: 'Source message notification',
ADAPTER_CONTRACT_ERROR: 'Adapter contract error',
UNHANDLED_CURRENT_INTENT: 'Unhandled intent',
},
systemProcessCategory: {
BUSINESS_TASK: 'Business task',
SOURCE_MESSAGE_NOTIFICATION: 'Source message notification',
ADAPTER_CONTRACT_ERROR: 'Adapter contract error',
UNHANDLED_CURRENT_INTENT: 'Unhandled intent',
},
readonlyReason: {
PROCESSABLE: 'Processable',
PREVIOUS_TASK_NOT_FINISHED: 'Previous task is not finished',
@@ -463,6 +509,7 @@ export default {
ORDER_CLOSED: 'Order closed',
QUEUE_EXCLUDED: 'Not in queue',
BLOCKED: 'Blocked',
MANUAL_REVIEW_REQUIRED: 'Manual review required',
},
actorType: {
USER: 'User',
@@ -482,6 +529,7 @@ export default {
OPERA_RETRIED: 'OPERA retried',
MANUAL_REVIEW_CREATED: 'Manual review created',
MANUAL_REVIEW_CONVERT: 'Manual conversion',
MANUAL_REVIEW_RESOLVED: 'Manual review resolved',
},
operaOperation: {
CREATE_RESERVATION: 'Create reservation',