头部搜索对接开源软件列表

This commit is contained in:
付民康
2025-03-20 20:51:16 +08:00
parent 2e46635146
commit 61b7acc34c
6 changed files with 188 additions and 51 deletions

View File

@@ -19,6 +19,18 @@ export const useGlobalInfoStore = defineStore('globalInfo', () => {
softwareName: ''
})
const industryList = ref([
{ value: 'Finance', name: '金融' },
{ value: 'E_Government_Electronic_Government', name: '电力' },
{ value: 'Public_Communication_and_Information_Services', name: '电信' },
{ value: 'petroleum', name: '石油' },
{ value: 'transportation', name: '交通' },
{ value: 'education', name: '教育' },
{ value: 'medical', name: '医疗' },
{ value: 'military', name: '军工' },
{ value: 'aerospace', name: '航空航天' },
]);
const menuInfo = computed(() => {
// 当前菜单
return globalMenuInfo.value[menuType.value] || [];
@@ -125,6 +137,7 @@ export const useGlobalInfoStore = defineStore('globalInfo', () => {
setShowTools,
setNamespaceType,
setGlobalTheme,
updateHeaderSearch
updateHeaderSearch,
industryList
};
});