no message
This commit is contained in:
parent
efe1b2994e
commit
abbcc3874d
@ -1,5 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="input-section" :style="{ bottom: props.keyboardHeight + 'px' }">
|
<view class="input-section" :style="{ bottom: props.keyboardHeight + 'px' }">
|
||||||
|
<!-- AI助手按钮组 -->
|
||||||
|
<slot name="ai-assistant"></slot>
|
||||||
|
|
||||||
<view class="input-toolbar">
|
<view class="input-toolbar">
|
||||||
<view @click="toggleVoiceInput" class="voice-toggle-btn">
|
<view @click="toggleVoiceInput" class="voice-toggle-btn">
|
||||||
<image v-if="showVoiceInput" src="/static/jianpan.png" class="voice-toggle-icon" mode="aspectFit"></image>
|
<image v-if="showVoiceInput" src="/static/jianpan.png" class="voice-toggle-icon" mode="aspectFit"></image>
|
||||||
|
|||||||
@ -135,23 +135,6 @@
|
|||||||
@cancel="handleRejectReasonCancel"
|
@cancel="handleRejectReasonCancel"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<!-- AI助手按钮组 -->
|
|
||||||
<AIAssistantButtons
|
|
||||||
v-if="
|
|
||||||
!isEvaluationPopupOpen &&
|
|
||||||
!showConsultAccept &&
|
|
||||||
orderStatus === 'processing'
|
|
||||||
"
|
|
||||||
ref="aiAssistantRef"
|
|
||||||
:groupId="groupId"
|
|
||||||
:patientAccountId="chatInfo.userID || ''"
|
|
||||||
:patientId="patientId"
|
|
||||||
:corpId="corpId"
|
|
||||||
@streamText="handleStreamText"
|
|
||||||
@clearInput="handleClearInput"
|
|
||||||
@generatingStateChange="handleGeneratingStateChange"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<!-- 聊天输入组件 -->
|
<!-- 聊天输入组件 -->
|
||||||
<ChatInput
|
<ChatInput
|
||||||
v-if="!isEvaluationPopupOpen && !showConsultAccept"
|
v-if="!isEvaluationPopupOpen && !showConsultAccept"
|
||||||
@ -175,7 +158,22 @@
|
|||||||
@messageSent="() => scrollToBottom(true)"
|
@messageSent="() => scrollToBottom(true)"
|
||||||
@endConsult="handleEndConsult"
|
@endConsult="handleEndConsult"
|
||||||
@openConsult="handleOpenConsult"
|
@openConsult="handleOpenConsult"
|
||||||
/>
|
>
|
||||||
|
<!-- AI助手按钮组插槽 -->
|
||||||
|
<template #ai-assistant>
|
||||||
|
<AIAssistantButtons
|
||||||
|
v-if="orderStatus === 'processing'"
|
||||||
|
ref="aiAssistantRef"
|
||||||
|
:groupId="groupId"
|
||||||
|
:patientAccountId="chatInfo.userID || ''"
|
||||||
|
:patientId="patientId"
|
||||||
|
:corpId="corpId"
|
||||||
|
@streamText="handleStreamText"
|
||||||
|
@clearInput="handleClearInput"
|
||||||
|
@generatingStateChange="handleGeneratingStateChange"
|
||||||
|
/>
|
||||||
|
</template>
|
||||||
|
</ChatInput>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user