fetch(modify):修改bug
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 6m6s

This commit is contained in:
sexygoat
2026-01-31 18:12:58 +08:00
parent ecb79dae43
commit 882feaf3ff
8 changed files with 452 additions and 305 deletions

View File

@@ -51,11 +51,10 @@ export interface DeviceQueryParams extends PaginationParams {
// 设备列表响应
export interface DeviceListResponse {
list: Device[] | null // 设备列表
items: Device[] | null // 设备列表
page: number // 当前页码
page_size: number // 每页数量
size: number // 每页数量
total: number // 总数
total_pages: number // 总页数
}
// ========== 设备卡绑定相关 ==========

View File

@@ -36,15 +36,17 @@ export interface Permission {
children?: Permission[] // 子权限列表(树形结构)
}
// 权限树节点
// 权限树节点(匹配后端 DtoPermissionTreeNode
export interface PermissionTreeNode {
id: string | number
label: string
value: string
permissionCode: string
permissionType: PermissionType
parentId?: string | number
children?: PermissionTreeNode[]
id: number // 权限ID
perm_code: string // 权限编码
perm_name: string // 权限名称
perm_type: number // 权限类型 (1:菜单, 2:按钮)
url?: string // 请求路径
platform?: string // 适用端口 (all:全部, web:Web后台, h5:H5端)
sort?: number // 排序值
available_for_role_types?: string // 可用角色类型 (1:平台角色, 2:客户角色)
children?: PermissionTreeNode[] // 子权限列表
}
// 权限查询参数