diff --git a/backend/src/main/java/io/metersphere/xpack b/backend/src/main/java/io/metersphere/xpack index 5b462a5914..da4f782aa0 160000 --- a/backend/src/main/java/io/metersphere/xpack +++ b/backend/src/main/java/io/metersphere/xpack @@ -1 +1 @@ -Subproject commit 5b462a59144b95fa361acd962205c6a4ed676aa3 +Subproject commit da4f782aa0541e7278a960ba7acf793106783288 diff --git a/frontend/src/assets/test_case_analysis_png.png b/frontend/src/assets/test_case_analysis_png.png new file mode 100644 index 0000000000..78dcf072d6 Binary files /dev/null and b/frontend/src/assets/test_case_analysis_png.png differ diff --git a/frontend/src/business/components/reportstatistics/header/ReportStatisticsHeaderMenus.vue b/frontend/src/business/components/reportstatistics/header/ReportStatisticsHeaderMenus.vue index 94d515515e..3c887ad0e0 100644 --- a/frontend/src/business/components/reportstatistics/header/ReportStatisticsHeaderMenus.vue +++ b/frontend/src/business/components/reportstatistics/header/ReportStatisticsHeaderMenus.vue @@ -7,7 +7,7 @@ {{ $t("commons.report_statistics.menu.project_statistics") }} - + {{ $t("commons.report_statistics.menu.project_report") }} diff --git a/frontend/src/business/components/reportstatistics/projectstatistics/ReportCard.vue b/frontend/src/business/components/reportstatistics/projectstatistics/ReportCard.vue index a0f7ed7b71..0b9be70621 100644 --- a/frontend/src/business/components/reportstatistics/projectstatistics/ReportCard.vue +++ b/frontend/src/business/components/reportstatistics/projectstatistics/ReportCard.vue @@ -3,11 +3,11 @@ - +
- {{$t('commons.report_statistics.test_case_analysis')}} + {{ $t('commons.report_statistics.test_case_analysis') }}
- +
@@ -16,9 +16,9 @@
- {{$t('commons.report_statistics.test_case_count')}} + {{ $t('commons.report_statistics.test_case_count') }}
- +
@@ -29,7 +29,7 @@
预留模块敬请期待
- +
@@ -40,7 +40,7 @@
预留模块敬请期待
- +
@@ -51,7 +51,7 @@
预留模块敬请期待
- +
@@ -62,7 +62,7 @@
预留模块敬请期待
- +
@@ -72,67 +72,67 @@ diff --git a/frontend/src/business/components/reportstatistics/router.js b/frontend/src/business/components/reportstatistics/router.js index fc0db7293a..046a7d7479 100644 --- a/frontend/src/business/components/reportstatistics/router.js +++ b/frontend/src/business/components/reportstatistics/router.js @@ -1,3 +1,5 @@ +const requireContext = require.context('@/business/components/xpack/', true, /router\.js$/); + export default { path: "/report", name: "report", @@ -11,10 +13,6 @@ export default { name: 'projectStatistics', component: () => import('@/business/components/reportstatistics/projectstatistics/ProjectStatistics'), }, - { - path: "/report/projectReport", - name: "projectReport", - component: () => import('@/business/components/xpack/reportstatistics/projectreport/ProjectReport'), - }, + ...requireContext.keys().map(key => requireContext(key).enterpriseReport), ] } diff --git a/frontend/src/business/components/xpack b/frontend/src/business/components/xpack index 65b84a697a..d1b44c0a5f 160000 --- a/frontend/src/business/components/xpack +++ b/frontend/src/business/components/xpack @@ -1 +1 @@ -Subproject commit 65b84a697ad5ed6072e990fe7e75e93130f8f813 +Subproject commit d1b44c0a5f6dfabf791a7c3176b3f8422236b547