From ef09d69d8359a00d75a10f8ec50630eb771bf95d Mon Sep 17 00:00:00 2001 From: WangXu10 Date: Wed, 21 Jun 2023 15:57:16 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E9=80=89=E4=B8=AD=E7=94=A8=E4=BE=8B=E6=95=B0=E9=87=8F=E8=BF=87?= =?UTF-8?q?=E5=A4=9A=E7=94=9F=E6=88=90=E4=BE=9D=E8=B5=96=E5=85=B3=E7=B3=BB?= =?UTF-8?q?=E5=9B=BE=E9=A1=B5=E9=9D=A2=E5=8A=A0=E8=BD=BD=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1027277 --user=王旭 【测试跟踪】测试用例生成依赖关系,页面崩溃 https://www.tapd.cn/55049933/s/1384791 --bug=1027250 --user=王旭 【系统设置】系统管理员设置个人信息权限,点击个人信息直接跳到系统设置模块 https://www.tapd.cn/55049933/s/1384943 --- framework/sdk-parent/frontend/src/i18n/lang/track/en-US.js | 2 +- framework/sdk-parent/frontend/src/i18n/lang/track/zh-CN.js | 2 +- framework/sdk-parent/frontend/src/i18n/lang/track/zh-TW.js | 2 +- .../io/metersphere/controller/ServiceIntegrationController.java | 1 - .../frontend/src/business/case/components/TestCaseList.vue | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/framework/sdk-parent/frontend/src/i18n/lang/track/en-US.js b/framework/sdk-parent/frontend/src/i18n/lang/track/en-US.js index a851e3b411..dd3688052a 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/track/en-US.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/track/en-US.js @@ -159,7 +159,7 @@ export default { public_warning: "The public library configuration is not enabled", generate_dependencies: "Generate graph", 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_btn: "Delete", batch_unlink: "Batch Unlink", diff --git a/framework/sdk-parent/frontend/src/i18n/lang/track/zh-CN.js b/framework/sdk-parent/frontend/src/i18n/lang/track/zh-CN.js index 66600173f7..dd344117cb 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/track/zh-CN.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/track/zh-CN.js @@ -141,7 +141,7 @@ export default { batch_link_demand_btn: "关联需求", public_warning: "未开启公共用例库配置", generate_dependencies: "生成依赖关系", - generate_dependencies_warning: "为了更好的体验,建议勾选一百条以下的数据", + generate_dependencies_warning: "为了更好的体验,建议勾选五百条以下的数据", batch_unlink: "批量取消关联", unlink: "取消关联", project_name: "所属项目", diff --git a/framework/sdk-parent/frontend/src/i18n/lang/track/zh-TW.js b/framework/sdk-parent/frontend/src/i18n/lang/track/zh-TW.js index 9bb5a8bb20..f45e5702e8 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/track/zh-TW.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/track/zh-TW.js @@ -141,7 +141,7 @@ export default { batch_link_demand_btn: "關聯需求", public_warning: "未開啟公共用例庫配置", generate_dependencies: "生成依賴關繫", - generate_dependencies_warning: "為了更好的體驗,建議勾選一百條以下的數據", + generate_dependencies_warning: "為了更好的體驗,建議勾選五百條以下的數據", batch_unlink: "批量取消關聯", unlink: "取消關聯", project_name: "所屬項目", diff --git a/framework/sdk-parent/sdk/src/main/java/io/metersphere/controller/ServiceIntegrationController.java b/framework/sdk-parent/sdk/src/main/java/io/metersphere/controller/ServiceIntegrationController.java index 29c0628e3e..03cda7cd35 100644 --- a/framework/sdk-parent/sdk/src/main/java/io/metersphere/controller/ServiceIntegrationController.java +++ b/framework/sdk-parent/sdk/src/main/java/io/metersphere/controller/ServiceIntegrationController.java @@ -42,7 +42,6 @@ public class ServiceIntegrationController { } @GetMapping("/all") - @RequiresPermissions(PermissionConstants.WORKSPACE_SERVICE_READ) public List getAll() { return baseIntegrationService.getAll(SessionUtils.getCurrentWorkspaceId()); } diff --git a/test-track/frontend/src/business/case/components/TestCaseList.vue b/test-track/frontend/src/business/case/components/TestCaseList.vue index 10d4928838..7a467cef5b 100644 --- a/test-track/frontend/src/business/case/components/TestCaseList.vue +++ b/test-track/frontend/src/business/case/components/TestCaseList.vue @@ -985,7 +985,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) > 500) { this.$warning(this.$t('test_track.case.generate_dependencies_warning')); return; }