| | |
| | | :title="subItem.title" |
| | | :status="stepEnumMap[subItem.status]" |
| | | > |
| | | <!-- <template #icon> |
| | | <span v-if="subItem.status === StepEnum.Loading" class="ywifont ywicon-loading animate-spin"></span> |
| | | <span v-else class="ywifont ywicon-loading1 animate-spin"></span> |
| | | </template> --> |
| | | <template #icon v-if="index + 1 === item.stepList.length && isTalking"> |
| | | <span class="ywifont ywicon-loading1 animate-spin !text-[24px]"></span> |
| | | </template> |
| | | <template #title> |
| | | <span class="text-sm">{{ subItem.title }}</span> |
| | | </template> |
| | |
| | | @showUpChatClick="showUpChatClick" |
| | | @showDownChatClick="showDownChatClick" |
| | | :style="{ width: chatWidth }" |
| | | :setCommonQuestionInfo="setCommonQuestionInfo" |
| | | ></PlayBar> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | let finalCalcSectionAId = null; |
| | | const questionAi = async (text, assistantMsg: ChatMessage) => { |
| | | // processId.value = uuidv4(); |
| | | let judgeParams = null; |
| | | if (!preQuestion.value) { |
| | | // const aiContent = computedMessageList.value.filter((item) => item.role === RoleEnum.assistant); |
| | |
| | | }; |
| | | //#endregion |
| | | //#region ====================== 用户询问的问题设置为常用语 ====================== |
| | | const setCommonQuestionInfo = ref({}); |
| | | //用户复制问题 |
| | | const copyUserClick = () => {}; |
| | | //用户问题设置为常用语 |
| | | const setCommonQuestionClick = () => {}; |
| | | const setCommonQuestionClick = (item) => { |
| | | setCommonQuestionInfo.value = item; |
| | | }; |
| | | //#endregion |
| | | </script> |
| | | |