fix(测试跟踪):脑图模式删除用例后-操作日志显示为批量编辑
--bug=1025184 --user=王旭 【测试跟踪】脑图模式删除用例后-操作日志显示为批量编辑 https://www.tapd.cn/55049933/s/1360027
This commit is contained in:
parent
211dc2cc61
commit
d881917b83
|
@ -521,7 +521,8 @@ const message = {
|
|||
other: "Other",
|
||||
function_introduction: 'Function introduction',
|
||||
page_guidance: 'Page guidance',
|
||||
novice_journey: 'Novice Journey'
|
||||
novice_journey: 'Novice Journey',
|
||||
minder_operation: 'Minder Operation'
|
||||
},
|
||||
login: {
|
||||
normal_Login: "Normal Login",
|
||||
|
|
|
@ -513,7 +513,8 @@ const message = {
|
|||
other: "其他",
|
||||
function_introduction: '功能介绍',
|
||||
page_guidance: '页面指引',
|
||||
novice_journey: '新手旅程'
|
||||
novice_journey: '新手旅程',
|
||||
minder_operation: '脑图操作'
|
||||
},
|
||||
login: {
|
||||
normal_Login: "普通登录",
|
||||
|
|
|
@ -512,7 +512,8 @@ const message = {
|
|||
other: "其他",
|
||||
function_introduction: '功能介紹',
|
||||
page_guidance: '頁面指引',
|
||||
novice_journey: '新手旅程'
|
||||
novice_journey: '新手旅程',
|
||||
minder_operation: '腦圖操作'
|
||||
},
|
||||
login: {
|
||||
normal_Login: "普通登錄",
|
||||
|
|
|
@ -5,5 +5,6 @@ public enum OperLogConstants {
|
|||
BATCH_DEL, BATCH_UPDATE, BATCH_ADD, BATCH_RESTORE, BATCH_GC,
|
||||
IMPORT, EXPORT,
|
||||
ASSOCIATE_CASE, ASSOCIATE_ISSUE, UN_ASSOCIATE_CASE,
|
||||
LOGIN, PERMISSION_UPDATE, CREATE_PRE_TEST, OTHER
|
||||
LOGIN, PERMISSION_UPDATE, CREATE_PRE_TEST, OTHER,
|
||||
MINDER_OPERATION
|
||||
}
|
||||
|
|
|
@ -23,7 +23,8 @@ export function LOG_TYPE(_this) {
|
|||
{id: 'BATCH_UPDATE', label: _this.$t('api_test.definition.request.batch_edit')},
|
||||
{id: 'BATCH_ADD', label: _this.$t('commons.batch_add')},
|
||||
{id: 'BATCH_RESTORE', label: _this.$t('commons.batch_restore')},
|
||||
{id: 'BATCH_GC', label: _this.$t('commons.batch_gc')}
|
||||
{id: 'BATCH_GC', label: _this.$t('commons.batch_gc')},
|
||||
{id: 'MINDER_OPERATION', label: _this.$t('commons.minder_operation')},
|
||||
];
|
||||
return LOG_TYPE;
|
||||
}
|
||||
|
@ -52,6 +53,7 @@ export function LOG_TYPE_MAP(_this) {
|
|||
['BATCH_ADD', _this.$t('commons.batch_add')],
|
||||
['BATCH_RESTORE', _this.$t('commons.batch_restore')],
|
||||
['BATCH_GC', _this.$t('commons.batch_gc')],
|
||||
['MINDER_OPERATION', _this.$t('commons.minder_operation')],
|
||||
]);
|
||||
return LOG_TYPE_MAP;
|
||||
}
|
||||
|
|
|
@ -377,7 +377,7 @@ public class TestCaseController {
|
|||
|
||||
@PostMapping("/minder/edit")
|
||||
@RequiresPermissions(PermissionConstants.PROJECT_TRACK_CASE_READ_EDIT)
|
||||
@MsAuditLog(module = OperLogModule.TRACK_TEST_CASE, type = OperLogConstants.BATCH_UPDATE, project = "#request.projectId", beforeEvent = "#msClass.getCaseLogDetails(#request)", content = "#msClass.getCaseLogDetails(#request)", msClass = TestCaseService.class)
|
||||
@MsAuditLog(module = OperLogModule.TRACK_TEST_CASE, type = OperLogConstants.MINDER_OPERATION, project = "#request.projectId", beforeEvent = "#msClass.getCaseLogDetails(#request)", content = "#msClass.getCaseLogDetails(#request)", msClass = TestCaseService.class)
|
||||
public void minderEdit(@RequestBody TestCaseMinderEditRequest request) {
|
||||
testCaseService.minderEdit(request);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue