Files
frontend-template-i18n/types/system.d.ts
2025-02-11 16:37:08 +08:00

122 lines
2.6 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/** 语言信息类型 */
export type LanguageInfo = {
/** 语言ID */
id: string;
/** 语言代码 */
code: string;
/** 语言名称 */
name: string;
/** 创建时间 */
create_time: string;
/** 更新时间 */
update_time: string;
/** 创建人 */
create_by: string;
/** 更新人 */
update_by: string;
};
/** 翻译信息类型 */
export type TranslationInfo = {
/** 翻译记录ID */
id: string;
/** 键值 */
key: string;
/** 翻译内容 */
translation: string;
/** 语言ID */
locale_id: string;
/** 语言代码 */
locale_code: string;
/** 语言名称 */
locale_name: string;
/** 创建时间 */
create_time: string;
/** 修改时间 */
update_time: string;
/** 创建人 */
create_by: string;
/** 修改人 */
update_by: string;
};
/**部门信息类型 */
export type DepartmentInfo = {
/**部门ID */
id: string;
/**状态 */
status: number;
/**创建时间 */
create_time: string;
/**修改时间 */
update_time: string;
/**部门名称 */
name: string;
/**父部门ID */
parent_id: string;
/**排序 */
sort: number;
/**部门电话 */
phone: string;
/**负责人 */
principal: string;
/**部门邮件 */
email: string;
/**备注信息 */
remark: string;
};
/**权限信息类型 */
export type PermissionInfo = {
/** 菜单ID */
id: string;
/** 创建人 */
create_by: string;
/** 创建时间 */
create_time: string;
/** 更新人 */
update_by: string;
/** 更新时间 */
update_time: string;
/** 菜单类型0代表菜单、1代表按钮 */
menu_type: number;
/** 父菜单ID */
parent_id: string;
/** 菜单标题 */
title: string;
/** 菜单名称(用于路由名称) */
name: string;
/** 菜单路径 */
path: string;
/** 组件路径 */
component: string;
/** 菜单排序 */
rank: number;
/** 重定向路径 */
redirect: string | null;
/** 菜单图标 */
icon: string;
/** 额外图标 */
extra_icon: string | null;
/** 进入页面过渡动画 */
enter_transition: string | null;
/** 离开页面过渡动画 */
leave_transition: string | null;
/** 激活路径 */
active_path: string | null;
/** 权限标识 */
auths: string;
/** 内嵌框架地址 */
frame_src: string | null;
/** 内嵌框架加载状态 */
frame_loading: boolean;
/** 是否缓存页面 */
keep_alive: boolean;
/** 是否隐藏标签页 */
hidden_tag: boolean;
/** 是否固定标签页 */
fixed_tag: boolean;
/** 是否显示菜单链接 */
show_link: boolean;
/** 是否显示父菜单 */
show_parent: boolean;
};