2025-05-28 11:03:28 +00:00
|
|
|
<template>
|
|
|
|
|
<div class="app-top-bar-container border-b flex-center">
|
2026-03-04 02:57:37 +00:00
|
|
|
<div class="flex-between w-full align-center" style="padding: 0 16px;">
|
|
|
|
|
<div style="display: flex; align-items: center;">
|
|
|
|
|
<h1 style="font-size: 18px; font-weight: 600; margin: 0;">AI-RAG | 系统管理</h1>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="display: flex; align-items: center;">
|
|
|
|
|
<router-link to="/application" style="display: flex; align-items: center; padding: 6px 12px; border-radius: 6px; text-decoration: none; color: #1890ff; border: 1px solid #1890ff;">
|
|
|
|
|
<span style="margin-right: 4px;">←</span>
|
|
|
|
|
返回工作空间
|
|
|
|
|
</router-link>
|
2025-05-29 10:41:44 +00:00
|
|
|
</div>
|
2025-05-28 11:03:28 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<script setup lang="ts">
|
2025-07-04 05:56:42 +00:00
|
|
|
import { RoleConst } from '@/utils/permission/data'
|
2025-05-28 11:03:28 +00:00
|
|
|
import Avatar from './avatar/index.vue'
|
|
|
|
|
import TopAbout from './top-about/index.vue'
|
|
|
|
|
import { useRouter } from 'vue-router'
|
2025-07-04 05:56:42 +00:00
|
|
|
import { hasPermission } from '@/utils/permission'
|
2025-05-28 11:03:28 +00:00
|
|
|
|
|
|
|
|
const router = useRouter()
|
|
|
|
|
</script>
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
.app-top-bar-container {
|
|
|
|
|
height: var(--app-header-height);
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
padding: var(--app-header-padding);
|
|
|
|
|
}
|
|
|
|
|
</style>
|