zhangxiao
2024-08-12 ac0a6c0e77860efb406f2c81c989361d2929124c
Merge branch 'master' of http://192.168.5.5:10010/r/web/flow_web
9个文件已修改
28 ■■■■■ 已修改文件
config/vite.config.dev.ts 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/store/modules/user/index.ts 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dmx/IntelligentAgent/components/agentConfig.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dmx/IntelligentAgent/components/custom-settings.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dmx/agent/components/custom-settings.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dmx/knowledgeLib/config.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dmx/knowledgeLib/tool.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dmx/model/components/custom-settings.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dmx/setting/components/custom-settings.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
config/vite.config.dev.ts
@@ -15,6 +15,7 @@
        '/base': {
          // target: 'http://aiotlink.com:8189',
          target: 'http://192.168.20.116:8089',
          // target: 'http://192.168.20.158:8089',
          changeOrigin: true,
          ws: true,
          // rewrite: (path) => path.replace(new RegExp(`^/basic-api`), ''),
src/store/modules/user/index.ts
@@ -9,6 +9,7 @@
import { removeRouteListener } from '@/utils/route-listener';
import { UserState } from './types';
import useAppStore from '../app';
import router from "@/router";
const useUserStore = defineStore('user', {
@@ -100,6 +101,9 @@
      try {
        await userLogout();
      } finally {
        router.push({
          name: "login",
        });
        this.logoutCallBack();
      }
    },
src/views/dmx/IntelligentAgent/components/agentConfig.vue
@@ -51,7 +51,7 @@
                    <Upload
                      :action="uploadAction"
                      :limit="1"
                      :url="form.icon"
                      :url="httpUrl + form.icon"
                      @update:fileList="updateFileList"
                      @success="handleSuccess"
                    ></Upload>
@@ -314,7 +314,7 @@
let presence_penalty = ref(true);
let frequency_penalty = ref(true);
let max_tokens = ref(true);
const httpUrl = localStorage.getItem('httpUrl');
const height = ref('calc(500px)');
const props = defineProps(['typeAngint', 'formData']);
src/views/dmx/IntelligentAgent/components/custom-settings.vue
@@ -230,7 +230,7 @@
  .list-wrap {
    position: relative;
    ::v-deep .block-title {
    .block-title {
      height: 36px;
      lin-height: 36px;
    }
src/views/dmx/agent/components/custom-settings.vue
@@ -230,7 +230,7 @@
  .list-wrap {
    position: relative;
    ::v-deep .block-title {
    .block-title {
      height: 36px;
      lin-height: 36px;
    }
src/views/dmx/knowledgeLib/config.vue
@@ -1,5 +1,5 @@
<template>
  <div class="main-container">
  <div ref="scrollContainer" class="main-container">
    <div style="position: absolute;top: 0;left: 0;width: 100%;padding: 0 20px">
      <h4 style="margin-bottom: 10px"></h4>
      <div style="color: #666666;">在这里更新您的知识库详细信息,尤其是解析方法。</div>
@@ -18,7 +18,7 @@
                v-if="avatarShow"
                :action="uploadAction"
                :limit="1"
                :url="form.avatar"
                :url="httpUrl + form.avatar"
                @update:fileList="updateFileList"
                @success="handleSuccess"
              ></Upload>
@@ -160,7 +160,7 @@
import message from "@arco-design/web-vue/es/message";
import useLoading from "@/hooks/loading";
const { loading,setLoading } = useLoading(true);
const scrollContainer = ref();
const props =  defineProps(['kbtenantInfo'])
const emit =  defineEmits(['cancleConfig','saveConfig'])
// 解析方法列表
@@ -230,6 +230,7 @@
const uploadAction = '/api/v1/llm/upload'; // 替换为你的上传API
const fileList = ref([]);
const imageUrls = ref([]);
const httpUrl = localStorage.getItem('httpUrl');
const updateFileList = (newFileList) => {
  fileList.value = newFileList;
@@ -368,6 +369,8 @@
  setTimeout(() => {
    avatarShow.value = true;
  },100);
  scrollContainer.value.scrollTop = 0;
}
defineExpose({
src/views/dmx/knowledgeLib/tool.vue
@@ -669,7 +669,7 @@
  .parser {
    width: 100%;
    ::v-deep .arco-btn-outline:hover,
    .arco-btn-outline:hover,
    .arco-btn-outline,
    .arco-btn-outline[type='button'] {
      color: #2a2a2b;
src/views/dmx/model/components/custom-settings.vue
@@ -230,7 +230,7 @@
  .list-wrap{
    position: relative;
    ::v-deep .block-title{
    .block-title{
      height: 36px;
      lin-height: 36px;
    }
src/views/dmx/setting/components/custom-settings.vue
@@ -230,7 +230,7 @@
  .list-wrap{
    position: relative;
    ::v-deep .block-title{
    .block-title{
      height: 36px;
      lin-height: 36px;
    }