feat: 生成照片的组件搭建

This commit is contained in:
2026-03-26 15:13:33 +08:00
parent e72531cfb7
commit ba655834b9
9 changed files with 102 additions and 15 deletions

View File

@@ -19,8 +19,7 @@
<template #content v-if="item.toolCall || item.componentName">
<AnswerComponent v-if="
item.componentName === CompName.longTextCard
" :answer-text="item.msg" :title="item.title" />
" :text="item.msg" :title="item.title" />
<QuickBookingComponent v-if="
item.toolCall && item.toolCall.componentName === CompName.quickBookingCard
" />
@@ -31,7 +30,10 @@
item.toolCall && item.toolCall.componentName === CompName.callServiceCard
" :toolCall="item.toolCall" />
<OpenMapComponent v-else-if="
item.toolCall && item.toolCall.componentName === CompName.openMapCard
item.toolCall && item.toolCall.componentName === CompName.mapCard
" />
<GeneratorPhotoComponent v-else-if="
item.toolCall && item.toolCall.componentName === CompName.generateMessageId
" />
<Feedback v-else-if="
item.toolCall && item.toolCall.componentName === CompName.feedbackCard
@@ -111,6 +113,7 @@ import AttachListComponent from "../../module/AttachListComponent/index.vue";
import DetailCardCompontent from "../../module/DetailCardCompontent/index.vue";
import OpenMapComponent from "../../module/OpenMapComponent/index.vue";
import AnswerComponent from "../../module/AnswerComponent/index.vue";
import GeneratorPhotoComponent from "../../module/GeneratorPhotoComponent/index.vue";
import CreateServiceOrder from "@/components/CreateServiceOrder/index.vue";
import Feedback from "@/components/Feedback/index.vue";
import AddCarCrad from "@/components/AddCarCrad/index.vue";