feat(shipping-notice): 新增发货批次和任务管理功能,支持批次创建与任务处理
This commit is contained in:
1 parent
457f0f4e5e
commit
634dee4b81
81 files changed
+9088
-3625
No files matched your search
@@ -1,10 +1,11 @@
|
||||
/**
|
||||
/**
|
||||
* 对话页:Markdown 渲染、消息可见性判断、PLM/请假链接点击。
|
||||
*/
|
||||
import { computed } from 'vue';
|
||||
import { marked } from 'marked';
|
||||
import type { ChatMessageBubbleHandlers } from '../components/messages/ChatMessageBubble.vue';
|
||||
import type { ChatMessage, SourceFileLink } from '../types/chat.types';
|
||||
import type { ShippingMatchResultPayload } from '../types/shipping.types';
|
||||
import type { Ref } from 'vue';
|
||||
|
||||
marked.setOptions({ gfm: true, breaks: true });
|
||||
@@ -24,6 +25,7 @@ export interface ChatPageMarkdownContext {
|
||||
getSourceMeta: ChatMessageBubbleHandlers['getSourceMeta'];
|
||||
getSourceBrief: ChatMessageBubbleHandlers['getSourceBrief'];
|
||||
getShippingInventoryMappingPayload: ChatMessageBubbleHandlers['getShippingInventoryMappingPayload'];
|
||||
getShippingMatchResultPayload: (msg: ChatMessage) => ShippingMatchResultPayload | null;
|
||||
canOpenQueryPreview: ChatMessageBubbleHandlers['canOpenQueryPreview'];
|
||||
getQueryPreviewSummary: ChatMessageBubbleHandlers['getQueryPreviewSummary'];
|
||||
openQueryPreviewDialog: ChatMessageBubbleHandlers['openQueryPreviewDialog'];
|
||||
@@ -87,6 +89,7 @@ export function createChatPageMarkdownApi(ctx: ChatPageMarkdownContext) {
|
||||
renderMarkdown,
|
||||
onMarkdownClick: handleChatMarkdownClick,
|
||||
getShippingInventoryMappingPayload: ctx.getShippingInventoryMappingPayload,
|
||||
getShippingMatchResultPayload: ctx.getShippingMatchResultPayload,
|
||||
canOpenQueryPreview: ctx.canOpenQueryPreview,
|
||||
getQueryPreviewSummary: ctx.getQueryPreviewSummary,
|
||||
openQueryPreviewDialog: ctx.openQueryPreviewDialog,
|
||||
|
||||
Reference in new issue
Block a user