diff --git a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue
index bcd3e5a51d..07d2a80dc4 100644
--- a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue
+++ b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue
@@ -46,12 +46,13 @@
-
+
{{ $t('api_test.automation.edit') }}
{{ $t('api_test.automation.execute') }}
{{ $t('api_test.automation.copy') }}
{{ $t('api_test.automation.remove') }}
+
@@ -76,10 +77,11 @@
import MsTag from "../../../common/components/MsTag";
import {getUUID} from "@/common/js/utils";
import MsApiReportDetail from "../report/ApiReportDetail";
+ import MsScenarioExtendButtons from "@/business/components/api/automation/scenario/ScenarioExtendBtns";
export default {
name: "MsApiScenarioList",
- components: {ShowMoreBtn, MsTablePagination, MsTableHeader, MsTag, MsApiReportDetail},
+ components: {MsScenarioExtendButtons, ShowMoreBtn, MsTablePagination, MsTableHeader, MsTag, MsApiReportDetail},
props: {
currentProject: Object,
currentModule: Object,
diff --git a/frontend/src/business/components/api/automation/scenario/ReferenceView.vue b/frontend/src/business/components/api/automation/scenario/ReferenceView.vue
new file mode 100644
index 0000000000..a57c532467
--- /dev/null
+++ b/frontend/src/business/components/api/automation/scenario/ReferenceView.vue
@@ -0,0 +1,62 @@
+
+
+ {{ $t('api_test.automation.scenario_ref') }}:
+
+
+ {{ $t('api_test.automation.plan_ref') }}:
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/business/components/api/automation/scenario/ScenarioExtendBtns.vue b/frontend/src/business/components/api/automation/scenario/ScenarioExtendBtns.vue
new file mode 100644
index 0000000000..fa42193b8b
--- /dev/null
+++ b/frontend/src/business/components/api/automation/scenario/ScenarioExtendBtns.vue
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+ {{ $t('api_test.automation.view_ref') }}
+
+
+
+
+
+
+
+
diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js
index b61350a48a..917e4e29ce 100644
--- a/frontend/src/i18n/zh-CN.js
+++ b/frontend/src/i18n/zh-CN.js
@@ -562,6 +562,10 @@ export default {
execute: "执行",
copy: "复制",
remove: "删除",
+ view_ref: "查看引用",
+ case_ref: "用例引用",
+ scenario_ref: "场景引用",
+ plan_ref: "测试计划引用",
batch_add_plan: "批量添加到测试计划",
batch_execute: "批量执行",
scenario: {