fix(测试跟踪): 选中用例数量过多生成依赖关系图页面加载异常

--bug=1027277 --user=王旭 【测试跟踪】测试用例生成依赖关系,页面崩溃 https://www.tapd.cn/55049933/s/1384791

--bug=1027250 --user=王旭 【系统设置】系统管理员设置个人信息权限,点击个人信息直接跳到系统设置模块 https://www.tapd.cn/55049933/s/1384943
This commit is contained in:
WangXu10 2023-06-21 16:01:47 +08:00 committed by fit2-zhao
parent a667a4e3a6
commit c8e14fd1b2
5 changed files with 4 additions and 5 deletions

View File

@ -42,7 +42,6 @@ public class ServiceIntegrationController {
}
@GetMapping("/all")
@RequiresPermissions(PermissionConstants.WORKSPACE_SERVICE_READ)
public List<ServiceIntegration> getAll() {
return integrationService.getAll(SessionUtils.getCurrentWorkspaceId());
}

View File

@ -974,7 +974,7 @@ export default {
});
},
generateGraph() {
if (getSelectDataCounts(this.condition, this.total, this.$refs.table.selectRows) > 100) {
if (getSelectDataCounts(this.condition, this.$refs.table.selectDataCounts, this.$refs.table.selectRows) > 100) {
this.$warning(this.$t('test_track.case.generate_dependencies_warning'));
return;
}

View File

@ -2158,7 +2158,7 @@ export default {
batch_add_public: 'Batch add public',
public_warning: 'The public library configuration is not enabled',
generate_dependencies: 'Generate dependencies',
generate_dependencies_warning: 'For a better experience, it is recommended to check the data below 100',
generate_dependencies_warning: 'For a better experience, it is recommended to check the data below 500',
batch_delete_case: 'Batch delete',
batch_unlink: 'Batch Unlink',
unlink: 'Unlink',

View File

@ -2158,7 +2158,7 @@ export default {
batch_add_public: '批量添加到公共用例库',
public_warning: '未开启公共库用例配置',
generate_dependencies: '生成依赖关系',
generate_dependencies_warning: '为了更好的体验,建议勾选百条以下的数据',
generate_dependencies_warning: '为了更好的体验,建议勾选百条以下的数据',
batch_unlink: '批量取消关联',
unlink: '取消关联',
project_name: '所属项目',

View File

@ -2157,7 +2157,7 @@ export default {
batch_add_public: '批量添加到公共用例庫',
public_warning: '未開啟公共庫用例配置',
generate_dependencies: '生成依賴關系',
generate_dependencies_warning: '為了更好的體驗,建議勾選百條以下的數據',
generate_dependencies_warning: '為了更好的體驗,建議勾選百條以下的數據',
batch_unlink: '批量取消關聯',
unlink: '取消關聯',
project_name: '所屬項目',