feat(auth): 优化权限模块菜单数据处理逻辑
- 添加showMenuList、flatMenuList和breadcrumbList状态字段 - 修改getter方法直接返回缓存的状态数据 - 新增refreshDerivedMenus方法统一处理菜单衍生数据计算 - 在重置授权存储时清理新增的菜单相关状态 - 避免每次路由跳转时重复深拷贝整个菜单树结构 feat(checksquare): 完善校验功能组件和业务逻辑 - 新增测量点对话框组件用于显示监测点详细信息 - 添加校验台账工具函数解析测量点详情 - 实现任务表格删除功能包括确认提示和数据刷新 - 更新任务表格将缺失率字段替换为数据完整性字段 - 重构详情面板使用标签页展示不同类型的校验详情 - 优化摘要表格样式包括紧凑布局和危险颜色标识 - 统一详情对话框尺寸样式保持界面一致性 - 实现数据完整性字段的百分比单位去除处理 refactor(influxdb): 简化数据库启动流程移除命令行包装器 - 直接通过influxd.exe启动InfluxDB服务 - 移除对cmd.exe包装器的依赖和进程ID记录 - 保持进程管理和停止功能的完整性
This commit is contained in:
@@ -29,6 +29,12 @@ export const createSteadyChecksquareTask = (params: SteadyDataView.SteadyChecksq
|
||||
})
|
||||
}
|
||||
|
||||
export const deleteSteadyChecksquareTasks = (taskIds: SteadyDataView.SteadyChecksquareDeleteParams) => {
|
||||
return http.post<boolean>('/steady/data-view/checksquare/delete', taskIds, {
|
||||
loading: false
|
||||
})
|
||||
}
|
||||
|
||||
export const getSteadyChecksquareDetail = (taskId: string) => {
|
||||
return http.get<SteadyDataView.SteadyChecksquareQueryResult>('/steady/data-view/checksquare/detail', { taskId }, { loading: false })
|
||||
}
|
||||
|
||||
@@ -103,6 +103,8 @@ export namespace SteadyDataView {
|
||||
timeEnd: string
|
||||
}
|
||||
|
||||
export type SteadyChecksquareDeleteParams = string[]
|
||||
|
||||
export interface SteadyChecksquareTask {
|
||||
taskId: string
|
||||
taskNo?: string
|
||||
@@ -114,6 +116,7 @@ export namespace SteadyDataView {
|
||||
taskStatus?: 'SUCCESS' | string
|
||||
itemCount?: number
|
||||
abnormalItemCount?: number
|
||||
minDataIntegrity?: number | null
|
||||
maxMissingRate?: number | null
|
||||
createTime?: string
|
||||
}
|
||||
@@ -146,6 +149,8 @@ export namespace SteadyDataView {
|
||||
expectedPointCount?: number
|
||||
actualPointCount?: number
|
||||
missingPointCount?: number
|
||||
dataIntegrity?: number | null
|
||||
dataIntegrityText?: string | null
|
||||
missingRate?: number | null
|
||||
missingRateText?: string | null
|
||||
maxContinuousMissingMinutes?: number
|
||||
@@ -167,6 +172,8 @@ export namespace SteadyDataView {
|
||||
expectedPointCount?: number
|
||||
actualPointCount?: number
|
||||
missingPointCount?: number
|
||||
dataIntegrity?: number | null
|
||||
dataIntegrityText?: string | null
|
||||
missingRate?: number | null
|
||||
missingRateText?: string | null
|
||||
maxContinuousMissingMinutes?: number
|
||||
|
||||
Reference in New Issue
Block a user