feat: 优化日志页面/支付配置/设备列表/菜单详情数据解析

- 支付配置: privateKeyPath改为privateKey,支持textarea粘贴和pem文件上传
- 审计日志: 优化列表展示(head字段/result解析)和详情弹窗
- 橘视厅调用日志: 接口路径截断显示/JSON格式化/耗时颜色分级
- 第三方设备列表: 新增来源/WiFi MAC/UID/心跳时间列,状态改为已激活/未激活
- 菜单/角色/用户详情: 统一用 data.{entity} 提取业务对象
- 设备权益: 去除双层data嵌套,适配后端统一响应结构
This commit is contained in:
freeboss
2026-08-11 16:07:10 +08:00
parent 630dfddc59
commit e39b88d1db
12 changed files with 318 additions and 108 deletions

View File

@@ -6,7 +6,7 @@ import type { ManageListResponse, ManagePageParams } from './types'
*/
export interface JstCallLogItem {
id: number
/** 请求URL */
/** 请求URL(可能带反引号和query参数) */
apiPath: string
/** 请求方法 */
requestMethod?: string
@@ -20,6 +20,12 @@ export interface JstCallLogItem {
success: number
/** 耗时(ms) */
duration?: number
/** 关联数据ID */
dataId?: number
/** 请求头(JSON字符串) */
requestHeaders?: string
/** 客户端IP */
clientIp?: string
/** 错误信息 */
errorMessage?: string
/** 关联设备MAC */
@@ -28,8 +34,14 @@ export interface JstCallLogItem {
deviceSn?: string
/** 关联设备UID */
deviceUid?: string
/** 设备所属门店 */
/** 门店组织ID */
storeOrgId?: number
/** 设备所属门店名称 */
storeOrgName?: string
/** 门店编码 */
storeOrgCode?: string
/** 门店类型 */
storeOrgType?: string
createTime: string
}
@@ -42,6 +54,8 @@ export interface JstCallLogListParams extends ManagePageParams {
endTime?: string
apiPath?: string
requestBody?: string
/** 结果筛选:1=成功,0=失败 */
success?: number
}
/** 橘视厅调用日志列表 */