兰宝车间质量管理系统-前端
疯狂的狮子Li
2023-04-03 1595cb282aab5399862fac6406b5de550863e3b6
src/api/system/menu/types.ts
@@ -4,66 +4,66 @@
 * 菜单树形结构类型
 */
export interface MenuTreeOption {
   id: string | number;
   label: string;
   parentId: string | number;
   weight: number;
   children?: MenuTreeOption[];
  id: string | number;
  label: string;
  parentId: string | number;
  weight: number;
  children?: MenuTreeOption[];
}
export interface RoleMenuTree {
   menus: MenuTreeOption[];
   checkedKeys: string[];
  menus: MenuTreeOption[];
  checkedKeys: string[];
}
/**
 * 菜单查询参数类型
 */
export interface MenuQuery {
   keywords?: string;
   menuName?: string;
   status?: string;
  keywords?: string;
  menuName?: string;
  status?: string;
}
/**
 * 菜单视图对象类型
 */
export interface MenuVO extends BaseEntity {
   parentName: string;
   parentId: string | number;
   children: MenuVO[];
   menuId: string | number;
   menuName: string;
   orderNum: number;
   path: string;
   component: string;
   queryParam: string;
   isFrame: string;
   isCache: string;
   menuType: MenuTypeEnum;
   visible: string;
   status: string;
   icon: string;
   remark: string;
  parentName: string;
  parentId: string | number;
  children: MenuVO[];
  menuId: string | number;
  menuName: string;
  orderNum: number;
  path: string;
  component: string;
  queryParam: string;
  isFrame: string;
  isCache: string;
  menuType: MenuTypeEnum;
  visible: string;
  status: string;
  icon: string;
  remark: string;
}
export interface MenuForm {
   parentName?: string;
   parentId?: string | number;
   children?: MenuForm[];
   menuId?: string | number;
   menuName: string;
   orderNum: number;
   path: string;
   component?: string;
   queryParam?: string;
   isFrame?: string;
   isCache?: string;
   menuType?: MenuTypeEnum;
   visible?: string;
   status?: string;
   icon?: string;
   remark?: string;
   query?: string;
   perms?: string;
  parentName?: string;
  parentId?: string | number;
  children?: MenuForm[];
  menuId?: string | number;
  menuName: string;
  orderNum: number;
  path: string;
  component?: string;
  queryParam?: string;
  isFrame?: string;
  isCache?: string;
  menuType?: MenuTypeEnum;
  visible?: string;
  status?: string;
  icon?: string;
  remark?: string;
  query?: string;
  perms?: string;
}