更新代码

This commit is contained in:
sjl
2024-11-01 15:27:36 +08:00
parent b207bc0e68
commit 0e871df27b
7 changed files with 82 additions and 45 deletions

View File

@@ -0,0 +1,44 @@
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;//路径
icon?:string | null;//图标
sort:number;//排序
type:number | null;//资源类型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> {
}
}