fix: 代理系列授权和操作日志去掉
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m58s
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m58s
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Change: 移除旧资产操作审计日志入口
|
||||
|
||||
## Why
|
||||
|
||||
IoT 卡管理、设备管理和资产信息页仍展示旧的资产操作审计日志入口与内容,与当前审计调查能力重复,且不再需要向用户提供该旧日志交互。
|
||||
|
||||
## What Changes
|
||||
|
||||
- 移除 IoT 卡管理列表的“操作审计日志”操作项及其抽屉弹窗。
|
||||
- 移除设备管理列表的“操作审计日志”操作项及其抽屉弹窗。
|
||||
- 移除资产信息页内嵌的操作审计日志卡片。
|
||||
- 清理上述页面对旧日志组件的引用;全局无其他前端调用时,删除旧日志组件、前端 API 方法及专用类型;仍有调用时保留共享实现。
|
||||
- 不改变后端历史日志数据或接口。
|
||||
|
||||
## Impact
|
||||
|
||||
- Affected specs: `asset-audit-log-navigation`
|
||||
- Affected code: `src/views/asset-management/iot-card-management/index.vue`, `src/views/asset-management/device-list/index.vue`, `src/views/asset-management/asset-information/index.vue`, and, only if unused, `src/components/business/OperationLogsDialog.vue`, `src/views/asset-management/asset-information/components/OperationLogsCard.vue`, `src/api/modules/asset.ts`, `src/types/api/asset.ts`
|
||||
@@ -0,0 +1,12 @@
|
||||
## REMOVED Requirements
|
||||
|
||||
### Requirement: 旧资产操作审计日志入口
|
||||
|
||||
**Reason**: 旧资产操作审计日志交互已由当前审计调查能力替代,页面不再提供重复入口。
|
||||
**Migration**: 需要审计调查的用户通过当前审计中心和资源审计时间线访问记录。
|
||||
|
||||
#### Scenario: 查看 IoT 卡、设备或资产信息
|
||||
|
||||
- **WHEN** 用户打开 IoT 卡管理、设备管理或资产信息页面
|
||||
- **THEN** 页面不显示旧的“操作审计日志”入口、弹窗或内嵌日志卡片
|
||||
- **AND** 前端不因这些页面加载或操作而请求旧资产操作日志接口
|
||||
10
openspec/changes/remove-legacy-asset-operation-logs/tasks.md
Normal file
10
openspec/changes/remove-legacy-asset-operation-logs/tasks.md
Normal file
@@ -0,0 +1,10 @@
|
||||
## 1. Remove User Interfaces
|
||||
|
||||
- [x] 1.1 Remove the IoT card management operation-log action, state and dialog.
|
||||
- [x] 1.2 Remove the device management operation-log action, state and dialog.
|
||||
- [x] 1.3 Remove the embedded operation-log card from asset information.
|
||||
|
||||
## 2. Cleanup and Verification
|
||||
|
||||
- [x] 2.1 Search remaining consumers of the legacy log component, front-end API method and dedicated types; delete only implementations with no consumers.
|
||||
- [x] 2.2 Run lint and type checks for changed files.
|
||||
Reference in New Issue
Block a user