Blame view

Yi.Vben5.Vue3/apps/web-antd/src/api/system/menu/model.d.ts 1.12 KB
515fceeb   “wangming”   框架初始化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
  export interface Menu {
    id: string;
    isDeleted: boolean;
    creationTime: string;
    creatorId: string | null;
    lastModifierId: string | null;
    lastModificationTime: string | null;
    orderNum: number;
    state: boolean;
    menuName: string;
    routerName?: string | null;
    menuType: string;
    permissionCode?: string | null;
    parentId: string;
    menuIcon?: string | null;
    router?: string | null;
    isLink: boolean;
    isCache: boolean;
    isShow: boolean;
    remark?: string | null;
    component?: string | null;
    query?: string | null;
    children?: Menu[];
  }
  
  /**
   * @description 菜单信息
   * @param menuName 菜单名称
   */
  export interface MenuOption {
    id: string;
    parentId: string;
    orderNum: number;
    menuName: string;
    menuType: string;
    menuIcon?: string | null;
    children?: MenuOption[] | null;
  }
  
  /**
   * @description 菜单返回
   * @param checkedKeys 选中的菜单id
   * @param menus 菜单信息
   */
  export interface MenuResp {
    checkedKeys: string[];
    menus: MenuOption[];
  }
  
  /**
   * 菜单表单查询
   */
  export interface MenuQuery {
    menuName?: string;
    isShow?: boolean;
    state?: boolean;
    menuSource: number;
  }