搜索结果列表页面开发

This commit is contained in:
付民康
2025-03-12 18:41:20 +08:00
commit 7cebe8fc00
739 changed files with 88149 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import { defineStore } from 'pinia';
import type { OrgItem } from '@/stores/UserSetting/type';
interface OrgState{
orgList:Array<OrgItem>;
}
export const useOrganizationStore = defineStore('organizationState', {
state: ():OrgState => ({
orgList: []// 组织列表
}),
getters: {},
actions: {
getOrgList() { // 获取个人的组织列表
return [];
}
}
});

View File

@@ -0,0 +1,11 @@
export interface OrgItem{//组织
id: string;// id
name: string;//名字
namespace?: string;
avatar: string; // 个人头像
description?: string;//描述
memberCount?: number;//成员
type:String;//类型
role:String|Number;//角色
[key:string]:any;
}