From c6d8ea02ade42a78e9f4a2304e8e1c5f67853d91 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期四, 06 三月 2025 16:17:06 +0800 Subject: [PATCH] 创建工单 --- src/components/chat/Chat.vue | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/components/chat/Chat.vue b/src/components/chat/Chat.vue index 8002117..60c0d18 100644 --- a/src/components/chat/Chat.vue +++ b/src/components/chat/Chat.vue @@ -228,6 +228,13 @@ // chunkRes.value = '鍑嗗鏁版嵁鍒嗘瀽'; } + if (chunkRes.mode === 'create_work_order') { + const lastMsg = computedMessageList.value.at(-1); + lastMsg.modeContent = chunkRes; + triggerRefresh(); + return; + } + if (chunkRes.mode === 'summary') { const lastMsg = computedMessageList.value.at(-1); const extraContent = parseExtraContent(chunkRes.value); -- Gitblit v1.9.3