From bf07f23f9befb8f380684ce1bf9cd658b3de6b96 Mon Sep 17 00:00:00 2001 From: zhaol <15900249928@163.com> Date: Fri, 21 Feb 2025 15:10:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E9=97=A8=E8=A7=86=E5=9B=BE=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../template/page/Department.html | 24 +++++++++---------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/com.awspaas.user.apps.yili.integration/template/page/Department.html b/com.awspaas.user.apps.yili.integration/template/page/Department.html index dd56a7db..7ba816bf 100644 --- a/com.awspaas.user.apps.yili.integration/template/page/Department.html +++ b/com.awspaas.user.apps.yili.integration/template/page/Department.html @@ -14,9 +14,8 @@
- Chat Bot - YL-GPT - 智能文件搜索 + + AI文件搜索 - - 关闭 - +
@@ -102,7 +99,7 @@
-
+
已选择 @@ -121,7 +118,7 @@ 折叠
-
+
{ - debugger; this.treelist = this.$refs.tree.getCheckedKeys() this.treeListNodes = this.$refs.tree.getCheckedNodes(); }); @@ -363,7 +359,6 @@ } else { this.$refs.tree.setCheckedNodes([]); } - debugger; this.treelist = this.$refs.tree.getCheckedKeys(); this.treeListNodes = this.$refs.tree.getCheckedNodes(); this.selectdept = JSON.stringify(this.treelist) @@ -416,7 +411,6 @@ //右侧树结构 rightTreedatabind() { - debugger; let _this = this; $.ajax({ url: api.rightTreeurl, @@ -600,8 +594,12 @@ openGptHome() { //let url = "https://chatgpt-uat.dcin-test.digitalyili.com/welcome?from=libchat&lib=ef2b50fd79c52577d51222bc58b231d7&priv=1&sid=" + sid ; //this.fullscreen = window.innerWidth <= 768; // 小屏幕时全屏显示 - this.newPageUrl = "https://yiligpt.x.digitalyili.com/libchat?lib=b8e082947190f2aa4fca0d96a5a95ea5&priv=1&sid=" + sid; - document.cookie = "AWSSESSIONID="+sid; + //https://yiligpt.x.digitalyili.com/libchat?lib=b8e082947190f2aa4fca0d96a5a95ea5&priv=1&sid= + //this.newPageUrl = "https://iam.digitalyili.com/proxy/sso?target=https://yiligpt.x.digitalyili.com/libchat?lib=b8e082947190f2aa4fca0d96a5a95ea5&priv=1&sid=" + sid; + var sids=encodeURIComponent(sid); + //this.newPageUrl = "https://iam.digitalyili.com/proxy/sso?target=https%3A%2F%2Fyiligpt.x.digitalyili.com%2Flibchat%3Flib%3Db8e082947190f2aa4fca0d96a5a95ea5%26priv%3D1%26sid%3D"+ sids; + this.newPageUrl = "https://iam.digitalyili.com/proxy/sso?target=https://yiligpt.x.digitalyili.com/libchat%25253Flib=b8e082947190f2aa4fca0d96a5a95ea5%252526priv=1%252526sid="+ sids; + document.cookie = "AWSSESSIONID="+sid; this.param1=sid; this.dialogVisible = true;