yinbangzhong
2024-08-29 9202273261907c1f13f1217bda6d8629aefa25ca
src/views/sessionManager/index.vue
@@ -224,10 +224,19 @@
                      style="border: none"
                    >
                    </a-textarea>
                    <!-- <div v-html="chartText(sessionDetail.content)">
                    </div> -->
                  </a-card>
                  <!-- <div class="prompt">
                    <ul>
                      <li class="prompt-item" @click="copyText('43234')">
                        <span>
                          344343klsdjkjksdjkjksdjk就开始大家看数据库登记卡受打击凯撒登记卡受打击凯撒登记卡受打击凯撒的43</span
                        >
                        <span style="margin-left: 20px">
                          <icon-right />
                        </span>
                      </li>
                    </ul>
                  </div> -->
                </template>
                <!-- <div>{{ sessionDetail.role === 'assistant' }}</div> -->
                <template #actions>
@@ -364,12 +373,18 @@
                  display: flex;
                  justify-content: space-between;
                "
                class="uploadFileDis"
              >
                <updataFile
                  ref="fileInput"
                  :sessionId="activeSessionId"
                  @selectFileCallback="selectFileCallback"
                ></updataFile>
                <!-- <uploadFile
                  ref="fileInput"
                  :sessionId="activeSessionId"
                  @selectFileCallback="selectFileCallback"
                ></uploadFile> -->
                <a-button
                  :disabled="chatDis"
                  @click="sentClick"
@@ -457,6 +472,11 @@
          ></smartAi>
        </div>
      </a-col>
      <a-col :span="23" v-show="agentType == '5'">
        <div class="center">
          <seniorAgentSession :modalObj="agentObj"></seniorAgentSession>
        </div>
      </a-col>
    </a-row>
    <a-modal title=" " v-model:visible="fileVisible" :footer="false" fullscreen>
      <!--      <docx  previewSrc="http://192.168.20.116:1080/v1/document/get/405c3efa4d8c11ef97560242ac120006"></docx>-->
@@ -510,9 +530,11 @@
  import chatMenu from '@/views/sessionManager/components/chatMenu.vue';
  import AddSession from '@/views/sessionManager/components/addSession.vue';
  import agentSession from '@/views/sessionManager/components/agentSession.vue';
  import seniorAgentSession from '@/views/sessionManager/components/seniorAgentSession.vue';
  import historySession from '@/views/sessionManager/components/historySession.vue';
  import smartAi from '@/views/sessionManager/components/smartAi.vue';
  import updataFile from '@/views/sessionManager/components/updataFile.vue';
  import EventBus from '@/utils/EventBus';
  import {
    addSessionApi,
@@ -537,6 +559,7 @@
  import excel from '@/views/dmx/knowledgeLib/components/excel.vue';
  import txtPdf from '@/views/dmx/knowledgeLib/components/txtPdf.vue';
  import { is } from 'immutable';
  import uploadFile from './components/uploadFile.vue';
  // const url = ref('../../assets/session/PDF.png');
@@ -577,7 +600,7 @@
  const uploadRef = ref();
  const files = ref([]);
  const file = ref('');
  const fileInput = ref(null);
  const fileInput = ref();
  const chatDataMeg = reactive({});
  const visible = ref(false);
  const fileVisible = ref(false);
@@ -1203,6 +1226,33 @@
        }
      }
    }
    .uploadFileDis {
      :deep(.arco-upload-list-type-text) {
        display: none;
      }
    }
    .prompt {
      ul {
        margin: 0;
        padding: 0;
        display: flex;
      }
      ul > li {
        list-style-type: none;
      }
      .prompt-item {
        display: flex;
        justify-content: space-between;
        background-color: #fff;
        cursor: pointer;
        border-radius: 8px;
        padding: 10px;
        border: #e5e5e5;
        &:hover {
          background-color: #eee;
        }
      }
    }
    .card-btn-1 {
      margin: 8px 15px;
@@ -1346,6 +1396,19 @@
        color: #333;
        margin-top: 4px;
      }
      :deep(.arco-card-body) {
        padding: 0;
        border-radius: 10px;
      }
      :deep(.arco-textarea) {
        padding-top: 10px !important;
      }
      :deep(.arco-comment-inner-content) {
        border-radius: 10px;
      }
      :deep(.arco-card-bordered) {
        border-radius: 10px;
      }
      .icon-user-jpg {
        border: 1px solid #d9d9d9;