diff --git a/chat_web_front/src/components/Operates.vue b/chat_web_front/src/components/Operates.vue
index 91621c4..5239d8c 100644
--- a/chat_web_front/src/components/Operates.vue
+++ b/chat_web_front/src/components/Operates.vue
@@ -14,6 +14,18 @@
{{item.name}}
+
+
@@ -44,7 +56,7 @@
import { useAuthStore } from "@/store";
import { reactive, watch, computed } from "vue";
import { useRouter, useRoute } from "vue-router";
-import { User, Setting, SwitchButton } from "@element-plus/icons-vue";
+import { User, Setting, SwitchButton, TopRight } from "@element-plus/icons-vue";
const authStore = useAuthStore();
const isAdmin = computed(() => authStore.session?.admind === true);
@@ -89,6 +101,17 @@ const menuList = reactive([
]);
+// 外部系统快捷入口(侧栏底部)
+const externalLinks = [
+ { name: '钢研门户', url: 'http://192.168.203.15:8030/zk/index' },
+ { name: '项目管理', url: 'http://192.168.203.23:8080/' },
+ { name: '数据中心', url: 'http://192.168.203.21:8600/kd' },
+];
+
+const openExtLink = (url: string) => {
+ window.open(url, '_blank');
+};
+
const quit = () => {
authStore.removeToken();
router.push("/login");
@@ -158,8 +181,9 @@ watch(
margin-left: 20px;
.operates {
width: 76px;
- height: 600px;
- max-height: 100vh;
+ min-height: 600px;
+ max-height: calc(100vh - 40px);
+ overflow-y: auto;
background: #fafbff;
box-shadow: 0px 0px 8px 1px rgba(180, 189, 221, 0.56);
position: absolute;
@@ -269,6 +293,29 @@ watch(
background-size: 100%;
}
}
+ .externalLinksBlock {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ gap: 6px;
+ .extItem {
+ cursor: pointer;
+ color: #606771;
+ padding: 6px 6px;
+ border-radius: 6px;
+ text-align: center;
+ white-space: nowrap;
+ transition: all 0.2s;
+ background: rgba(0, 78, 160, 0.05);
+ .extName {
+ font-size: 12px;
+ }
+ &:hover {
+ background: rgba(0, 78, 160, 0.14);
+ color: #004ea0;
+ }
+ }
+ }
.operateBottom {
display: flex;
flex-direction: column;
diff --git a/chat_web_front/src/config/properties.ts b/chat_web_front/src/config/properties.ts
index df8ef84..26a147d 100644
--- a/chat_web_front/src/config/properties.ts
+++ b/chat_web_front/src/config/properties.ts
@@ -1,3 +1,4 @@
export const PROJECT_PROPERTIES = {
- projectName: '战知'
-}
\ No newline at end of file
+ projectName: '战知',
+ fullProjectName: '中国产业基础能力发展战略研究院战知大模型'
+}
diff --git a/chat_web_front/src/views/login/index.vue b/chat_web_front/src/views/login/index.vue
index 10c5b51..d136bbe 100644
--- a/chat_web_front/src/views/login/index.vue
+++ b/chat_web_front/src/views/login/index.vue
@@ -138,6 +138,7 @@ const handleVerify = async () => {
} finally {
}
};
+