zhangxiao
2024-08-29 234c222e4fd9d24242440e0207bd5ccfa1bac471
src/views/sessionManager/components/agentSession.vue
@@ -86,6 +86,18 @@
            style="border: none"
          >
          </a-textarea>
          <!-- <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>
        <template #actions>
          <span
@@ -102,6 +114,7 @@
          >
            <icon-refresh /> 重新生成
          </span>
          <!-- <span class="action"><icon-to-bottom />下载 </span> -->
        </template>
      </a-comment>
      <a-comment v-else-if="sessionDetail.role === 'last'">
@@ -414,6 +427,10 @@
    }
  };
  const copyText = (text) => {
    inputMsg.value = text;
  };
  // 历史记录跳转获取agent会话详情
  const querySessionDetail = async (session) => {
    conversation_id.value = session.id;
@@ -661,11 +678,12 @@
    .chatItemAnswer {
      box-sizing: border-box;
      background: #f1f1f1;
      border-radius: 14px;
      border-radius: 10px;
      padding: 5px;
      .light {
        box-sizing: border-box;
        background: #f1f1f1;
        border-radius: 14px;
        border-radius: 10px;
      }
    }
    .textItemAnswer {
@@ -781,6 +799,28 @@
      .icon-user-jpg {
        border: 1px solid #d9d9d9;
      }
      .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;
          }
        }
      }
    }
  }
  .header___lEPyH {