zhangxiao
2024-08-29 9b12e9ef04204aca27ace8e56fbf8429f6852261
src/views/sessionManager/components/seniorAgentSession.vue
@@ -283,7 +283,7 @@
        ></updataFile> -->
        <span v-if="getAent"></span>
        <uploadFile
          v-if="agentObj.id == 'excel_talk' || dialog_id == 'excel_talk'"
          v-if="!getAent"
          ref="fileInput"
          :sessionId="activeSessionId"
          @selectFileCallback="selectFileCallback"
@@ -681,11 +681,9 @@
  const getAentId = (id) => {
    if (id == 'excel_talk') {
      console.log(1);
      getAent.value = false;
    }
    if (id == 'questions_talk') {
      console.log(2);
      getAent.value = true;
    }
  };
@@ -797,10 +795,6 @@
            content: sessionDetailList.value[0].content,
            role: 'assistant',
          },
          {
            content: inputMsg.value,
            role: 'user',
          },
        ];
        const res = await agentConversationSetApi({
          id: '',
@@ -816,6 +810,7 @@
          if (!val) {
            startChat(inputMsg.value);
            inputMsg.value = '';
            uploaditemList.value = [];
          } else {
            loading.value = false;
            chatDis.value = false;