feat: 添加车牌组件

This commit is contained in:
2025-09-18 20:47:39 +08:00
parent fd5902ca05
commit f585c83554

View File

@@ -42,7 +42,6 @@
class="message-item-ai" class="message-item-ai"
:key="`ai-${item.msgId}-${item.msg ? item.msg.length : 0}`" :key="`ai-${item.msgId}-${item.msg ? item.msg.length : 0}`"
:text="item.msg || ''" :text="item.msg || ''"
,
:isLoading="item.isLoading" :isLoading="item.isLoading"
> >
<template #content v-if="item.toolCall"> <template #content v-if="item.toolCall">
@@ -71,6 +70,12 @@
v-else-if="item.toolCall.componentName === ''" v-else-if="item.toolCall.componentName === ''"
:toolCall="item.toolCall" :toolCall="item.toolCall"
/> />
<AddCarCrad
v-else-if="
item.toolCall.componentName === CompName.addLicensePlate
"
:toolCall="item.toolCall"
/>
</template> </template>
<template #footer> <template #footer>
@@ -162,6 +167,7 @@ import AttachListComponent from "../module/attach/AttachListComponent.vue";
import CreateServiceOrder from "@/components/CreateServiceOrder/index.vue"; import CreateServiceOrder from "@/components/CreateServiceOrder/index.vue";
import Feedback from "@/components/Feedback/index.vue"; import Feedback from "@/components/Feedback/index.vue";
import DetailCardCompontent from "../module/detail/DetailCardCompontent.vue"; import DetailCardCompontent from "../module/detail/DetailCardCompontent.vue";
import AddCarCrad from "@/components/AddCarCrad/index.vue";
import { mainPageData } from "@/request/api/MainPageDataApi"; import { mainPageData } from "@/request/api/MainPageDataApi";
import { import {
conversationMsgList, conversationMsgList,