| | |
| | | v-for="(multiChatItem, multiChatIndex) in subItem.subStep" |
| | | > |
| | | <component |
| | | |
| | | :order="`${stepIndex + 1}-${multiChatIndex + 1}`" |
| | | :item="multiChatItem" |
| | | :is="multiChatTypeMapCom[multiChatItem.type]" |
| | | @change="multiChatChange" |
| | | :disabled="!(stepIndex + 1 === msg?.stepGroup?.[index].value.length && isTalking && isLast)" |
| | | /> |
| | | |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | 为了解决这个问题,等到 msg.historyId 存在时,再渲染 recordSetTable |
| | | --> |
| | | <component |
| | | |
| | | v-if="msg.content?.values?.[index] && msg.historyId" |
| | | :reportIndex="index" |
| | | :conclusion="msg.content.values[index].conclusion" |
| | |
| | | import { multiChatTypeMapCom } from '/@/components/chat/chatComponents/multiChat'; |
| | | import { isSharePage } from '/@/stores/chatRoom'; |
| | | import { ErrorCode } from '/@/utils/request'; |
| | | import { question_stream_reply } from '/@/api/ai/chat'; |
| | | |
| | | const props = defineProps({ |
| | | /** @description 当前消息 */ |
| | |
| | | emit('shareMsg', item); |
| | | }; |
| | | //#endregion |
| | | |
| | | const multiChatChange = async (replyId: string, val: any) => { |
| | | const res = await question_stream_reply({ |
| | | start_time: val.start_time, |
| | | end_time: val.end_time, |
| | | reply_id: replyId, |
| | | }); |
| | | }; |
| | | </script> |
| | | <style scoped lang="scss"> |
| | | pre { |