fix(项目设置): 修复操作日志功能用例从回收站恢复后,未展示对应的操作信息的缺陷

--bug=1012875 --user=王孝刚 【项目设置】github#13132
工作空间和项目设置的操作日志,功能用例从回收站恢复后,未展示对应的操作信息
https://www.tapd.cn/55049933/s/1151206
This commit is contained in:
wxg0103 2022-04-28 18:22:16 +08:00 committed by 刘瑞斌
parent 0a02d654ae
commit e9dee74d04
2 changed files with 4 additions and 2 deletions

View File

@ -337,7 +337,7 @@ public class TestCaseController {
} }
@PostMapping("/reduction") @PostMapping("/reduction")
@MsAuditLog(module = OperLogModule.TRACK_TEST_CASE, type = OperLogConstants.GC, beforeEvent = "#msClass.getLogDetails(#testCaseId)", msClass = TestCaseService.class) @MsAuditLog(module = OperLogModule.TRACK_TEST_CASE, type = OperLogConstants.RESTORE, beforeEvent = "#msClass.getLogDetails(#request.ids)", msClass = TestCaseService.class)
public void reduction(@RequestBody TestCaseBatchRequest request) { public void reduction(@RequestBody TestCaseBatchRequest request) {
testCaseService.reduction(request); testCaseService.reduction(request);
} }

View File

@ -160,7 +160,9 @@ export default {
pageSize: 10, pageSize: 10,
total: 0, total: 0,
items: [], items: [],
condition: {}, condition: {
times: [new Date().getTime() - 3600 * 1000 * 24 * 7, new Date().getTime()],
},
tableData: [], tableData: [],
userList: [], userList: [],
screenHeight: 'calc(100vh - 215px)', screenHeight: 'calc(100vh - 215px)',