From 04bc71e7d3fb99c95c8771acc65549d553209f24 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期四, 09 一月 2025 09:35:12 +0800 Subject: [PATCH] 时间显示错误 --- src/components/chat/model/types.ts | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/chat/model/types.ts b/src/components/chat/model/types.ts index 215f6a5..6c7afb4 100644 --- a/src/components/chat/model/types.ts +++ b/src/components/chat/model/types.ts @@ -3,7 +3,7 @@ import knowledgeCom from '../chatComponents/knowledgeCom/KnowledgeCom.vue'; import SummaryCom from '../chatComponents/summaryCom/SummaryCom.vue'; import ReportCom from '../chatComponents/reportCom/ReportCom.vue'; - +import ScriptMode from '../chatComponents/scriptMode/ScriptMode.vue'; import assistantPic from '/static/images/role/assistant-200x192.png'; import userPic from '/static/images/role/user-200x206.png'; export const enum AnswerType { @@ -14,6 +14,8 @@ Url = 'url', Map = 'map', Report = 'report_list', + Script = 'script', + } export const answerTypeMapCom = { @@ -21,6 +23,7 @@ [AnswerType.RecordSet]: RecordSetCom, [AnswerType.Text]: NormalTextCom, [AnswerType.Summary]: SummaryCom, + [AnswerType.Script]: ScriptMode }; export const enum RoleEnum { @@ -56,7 +59,6 @@ role: RoleEnum; content?: ChatContent; state?: null | '1' | '0'; - sectionAId?: string; createTime?: string; stepGroup?: { value: StepItem[]; isShow: boolean }[]; isStopMsg?: boolean; @@ -82,8 +84,10 @@ }; export const enum MultiChatType { Select = 'select', + InputSelect = 'input-select', Summary = 'summary', Result = 'result', + TimeRange = 'time_range', } type SubStep = { data: any; -- Gitblit v1.9.3