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 15:57:16 +08:00 committed by fit2-zhao
parent ab6b9efb31
commit ef09d69d83
5 changed files with 4 additions and 5 deletions

View File

@ -159,7 +159,7 @@ export default {
public_warning: "The public library configuration is not enabled", public_warning: "The public library configuration is not enabled",
generate_dependencies: "Generate graph", generate_dependencies: "Generate graph",
generate_dependencies_warning: generate_dependencies_warning:
"For a better experience, it is recommended to check the data below 100", "For a better experience, it is recommended to check the data below 500",
batch_delete_case: "Delete", batch_delete_case: "Delete",
batch_delete_btn: "Delete", batch_delete_btn: "Delete",
batch_unlink: "Batch Unlink", batch_unlink: "Batch Unlink",

View File

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

View File

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

View File

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

View File

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