xframelib
Version:
积累的前端开发基础库,来源于项目和服务于项目。
25 lines (24 loc) • 688 B
TypeScript
import { RouteRecordRaw } from 'vue-router';
import { ISysRoleRight, IRoleFunction } from '../model/IRole';
import { IWidgetConfig } from '../model/Layout';
type IWidgetMenu = any;
interface IPackage {
name: string;
version: string;
}
/**
* 系统权限参数对象
*/
export interface ISysRightOptions {
bussinessRoutes?: Array<RouteRecordRaw>;
widgetMenuConfig?: Array<IWidgetMenu>;
functionList?: Array<IRoleFunction>;
widgetConfig?: Array<IWidgetConfig>;
pkgObject: IPackage;
}
/**
* 导出系统权限路由菜单
* @returns 系统权限路由菜单
*/
export declare function exportSystemRights(options: ISysRightOptions): ISysRoleRight;
export {};