Expose workflow run history in AI admin

This commit is contained in:
2026-06-09 11:12:31 +08:00
parent ceecb8bbf6
commit 53d0440dc4
2 changed files with 4 additions and 10 deletions
+3 -10
View File
@@ -10,7 +10,6 @@ import { BasicLayout, LockScreen, UserDropdown } from '@vben/layouts';
import { $t } from '@vben/locales';
import { preferences } from '@vben/preferences';
import { useAccessStore, useUserStore } from '@vben/stores';
import { openWindow } from '@vben/utils';
import NotificationPopup from '#/components/notification/NotificationPopup.vue';
import { getFileUrl } from '#/composables/useFileUrl';
@@ -95,13 +94,8 @@ const menus = computed(() => [
// },
]);
const ZQ_PLATFORM_OFFICIAL_URL = 'https://zq-platform.com/';
/** 双列仅第一列窄条展示时的短文案 */
const ZQ_PLATFORM_BRAND_SHORT = 'ZQ Platform';
function handleOpenZqOfficialSite() {
openWindow(ZQ_PLATFORM_OFFICIAL_URL, { target: '_blank' });
}
const PRODUCT_BRAND_SHORT = 'AI Agent';
// 头像URL(响应式)
const avatar = ref('');
@@ -223,17 +217,16 @@ watch(
class="text-muted-foreground hover:text-foreground max-w-full px-1 py-0.5 text-center text-[11px] leading-tight transition-colors"
:title="
sidebarFooterProps?.compact
? ZQ_PLATFORM_BRAND_SHORT
? PRODUCT_BRAND_SHORT
: $t('ui.layout.poweredBy')
"
@click="handleOpenZqOfficialSite"
>
<span
v-show="sidebarFooterProps?.compact || !preferences.sidebar.collapsed"
class="truncate"
>{{
sidebarFooterProps?.compact
? ZQ_PLATFORM_BRAND_SHORT
? PRODUCT_BRAND_SHORT
: $t('ui.layout.poweredBy')
}}</span>
</button>