From bf2b087227329ea4d24b543582a42e0c1064981e Mon Sep 17 00:00:00 2001 From: han2015 <1019850453@qq.com> Date: Mon, 20 Oct 2025 15:05:34 +0800 Subject: [PATCH 1/2] =?UTF-8?q?yunpan:=20=E4=BF=AE=E5=A4=8D=E6=96=B0?= =?UTF-8?q?=E5=BB=BA=E6=96=87=E4=BB=B6=E5=A4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 2 +- src/views/doc/manage.vue | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.env.production b/.env.production index 3acaff3..aa6082a 100644 --- a/.env.production +++ b/.env.production @@ -8,4 +8,4 @@ VITE_APP_SJZT_URL = 'http://120.224.6.6:29911/prod-api' VITE_APP_SYSTEM_APP = 'stzl' VITE_APP_AGAIN = 1 VITE_ONLYOFFICE_HOST = 'https://gyhlw.hxgk.group/onlyoffice' -VITE_DEFAULT_AI_AGENT = '23a3c2c5-2de1-40df-59fa-a9206b11861d' \ No newline at end of file +VITE_DEFAULT_AI_AGENT = '74938263-ffe5-43c5-90af-25e62d34a51f' \ No newline at end of file diff --git a/src/views/doc/manage.vue b/src/views/doc/manage.vue index dd40732..e0339b3 100644 --- a/src/views/doc/manage.vue +++ b/src/views/doc/manage.vue @@ -322,9 +322,6 @@ function onLoadMatterList(){ } //----------for dir----------- function createDir(){ - if(matterList.value){ - if (matterList.value[0].name=="") return; - } matterList.value?.unshift({ name:"", userUuid:uid, From e6868a8520aeb1559d055df1fc8e696ce53fa01d Mon Sep 17 00:00:00 2001 From: han2015 <1019850453@qq.com> Date: Mon, 27 Oct 2025 15:43:02 +0800 Subject: [PATCH 2/2] =?UTF-8?q?yunpan=EF=BC=9A=E4=BF=AE=E5=A4=8D=E6=B3=95?= =?UTF-8?q?=E5=BE=8B=E6=B3=95=E8=A7=84=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/doc/agent.vue | 15 +++++++++++++-- src/views/doc/space.vue | 4 ++-- src/views/doc/spacePermission.vue | 28 +++++++++++++++++++--------- 3 files changed, 34 insertions(+), 13 deletions(-) diff --git a/src/views/doc/agent.vue b/src/views/doc/agent.vue index 4fe8bf0..1f4fa6a 100644 --- a/src/views/doc/agent.vue +++ b/src/views/doc/agent.vue @@ -40,6 +40,7 @@ const agent=ref<{name:string,uuid:string}>({name:"通用AI",uuid:import.meta.env const agentList=ref<{name:string,uuid:string}[]>([{name:"通用AI",uuid:import.meta.env.VITE_DEFAULT_AI_AGENT}]) const respMsg=ref("") const drawerModel=ref(true) +const queryUrl=ref("") //消息体 interface message{ @@ -69,10 +70,17 @@ async function onSendTextToAI(){ const params={ "onlineSearch":"否", - "useDataset":"否" + "useDataset":"否", + "queryUrl":"" } for (let item of checkedModel.value){ - if(item==="onlineSearch") params.onlineSearch="是" + if(item==="onlineSearch"){ + params.onlineSearch="是" + if(queryUrl.value!="") { + params.queryUrl=queryUrl.value + //queryUrl.value="" //立即清理 + } + } if(item==="useDataset") params.useDataset="是" } if (conversation.value==""){ @@ -362,6 +370,9 @@ onMounted(() => { {{ mod.name }} +