feat(shipping-notice): 新增发货批次和任务管理功能,支持批次创建与任务处理

This commit is contained in:
hugo committed 2026-06-17 20:45:19 +08:00
1 parent 457f0f4e5e
commit 634dee4b81
81 files changed
+9088 -3625

No files matched your search

@@ -1,4 +1,4 @@
/**
/**
* features/chat/composables/useChatPage.ts
* 对话页主编排:组合 SSE、Agent、附件、请假/出货、路由同步与 page/* 子模块。
*/
@@ -221,6 +221,7 @@ export function useChatPage() {
onConversationLoadFailed: shipping.onConversationLoadFailed,
isShippingNoticeAgent: shipping.isShippingNoticeAgent,
shippingTaskIdFromQuery: shipping.shippingTaskIdFromQuery,
shippingBatchNoFromQuery: shipping.shippingBatchNoFromQuery,
clearHistory,
clearAttachments: attachmentApi.clearAttachments,
input,
@@ -262,6 +263,7 @@ export function useChatPage() {
getSourceMeta,
getSourceBrief,
getShippingInventoryMappingPayload: shipping.getShippingInventoryMappingPayload,
getShippingMatchResultPayload: shipping.getShippingMatchResultPayload,
canOpenQueryPreview: queryPreview.canOpen,
getQueryPreviewSummary: queryPreview.getSummary,
openQueryPreviewDialog: queryPreview.openDialog,
@@ -306,6 +308,7 @@ export function useChatPage() {
currentAgentId,
presetQuestion,
shippingTaskIdFromQuery: shipping.shippingTaskIdFromQuery,
shippingBatchNoFromQuery: shipping.shippingBatchNoFromQuery,
isShippingNoticeAgent: shipping.isShippingNoticeAgent,
resetChatStateForAgentChange,
cancelVoiceInput: voice.cancelVoiceInput,
@@ -405,6 +408,11 @@ export function useChatPage() {
handleDeleteConfirm: dialogs.handleDeleteConfirm,
showChatRating,
isShippingNoticeAgent: shipping.isShippingNoticeAgent,
shippingBatchSummary: shipping.shippingBatchSummary,
shippingBatchTasks: shipping.shippingBatchTasks,
activeShippingTaskDetail: shipping.activeShippingTaskDetail,
shippingBatchTasksExpanded: shipping.shippingBatchTasksExpanded,
switchShippingFocusTask: shipping.switchShippingFocusTask,
shippingSuggestedPrompt: shipping.shippingSuggestedPrompt,
handleShippingInventorySelected: shipping.handleShippingInventorySelected,
useShippingSuggestedPrompt: shipping.useShippingSuggestedPrompt,