liudong
2024-08-19 08b529136889c9a40b12674ebdd06cb34ede84da
src/views/sessionManager/index.vue
@@ -200,7 +200,7 @@
            <!--                </template>-->
            <!--              </a-upload>-->
            <!--            </div>-->
            <span style="position: absolute;top:96px;left: 10px;z-index: 10000;cursor: pointer">
            <span style="position: absolute;top:94px;left: 20px;z-index: 999;cursor: pointer">
              <icon-attachment size="28" @click="selectFile" style="color: #0960bd;" />
              <input
                ref="fileInput"
@@ -263,7 +263,7 @@
    <a-modal v-model:visible="visible" title="修改名称" @before-open="handleOpened" @cancel="handleCancel" :footer="false" title-align="start">
      <a-form ref="formRef" :rules="rules" :model="chatObj" @submit="handleSubmit" >
        <a-form-item field="name" label="名称">
          <a-input v-model="chatObj.name" placeholder="请输入名称"/>
          <a-input v-model="agentTitle" placeholder="请输入名称"/>
        </a-form-item>
        <a-form-item>
          <div style="width: 100%;text-align: right">
@@ -360,7 +360,7 @@
const handleSubmit = async({values, errors}) => {
  if(errors) return;
  chatObj.name = agentTitle.value;
  const { code, data } = await addSessionApi(chatObj);
  if (data) {
    Message.success("修改成功");
@@ -655,6 +655,8 @@
  //   Message.success("已停止");
  //   queryNewSessionDetail(activeSessionId.value);
  // }
  loading.value = false;
  chatDis.value = false;
  isStopChat.value = true;
  console.log("stopChat");
  console.log(displayedText.value, "displayedText");
@@ -977,7 +979,7 @@
        .btn-send {
          position: absolute !important;
          right: 10px;
          right: 4px;
          top: 90px;
          z-index: 10;
        }