Files
pqs-9100_client/frontend/src/api/user/interface/function.ts
2024-11-18 09:02:57 +08:00

45 lines
1.2 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.

import type { ReqPage, ResPage } from '@/api/interface'
// 菜单管理模块
export namespace Function {
/**
* 菜单管理表格分页查询参数
*/
export interface ReqFunctionParams extends ReqPage{
name?: string; // 名称
code?: string; // 编码
}
/**
* 菜单管理新增、修改、根据id查询返回的对象
*/
export interface ResFunction {
id: string;//资源表Id
pid:string;//节点0为根节点
pids?:string | null;//节点上层所有节点
name: string;//名称
code:string;//资源标识
path:string;//路由路径
component:string ;//组件地址
icon?:string;//图标
sort:number;//排序
type:number;//资源类型0-菜单、1-按钮、2-公共资源、3-服务间调用资源
remark?: string | null;//权限资源描述
state:number;//权限资源状态
create_By?:string | null;//创建人
create_Time?:string | null;//创建时间
update_By?:string | null;//更新人
update_Time?:string | null;//更新时间
children?: ResFunction[] | null;
}
/**
* 菜单管理表格查询分页返回的对象;
*/
export interface ResFunctionPage extends ResPage<ResFunction> {
}
}