From 83143a3b44d516abd793dccc850d907d9dfefdf1 Mon Sep 17 00:00:00 2001 From: q4speed Date: Tue, 8 Dec 2020 15:33:07 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=8E=A5=E5=8F=A3=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96):=20=E6=9F=A5=E7=9C=8B=E5=BC=95=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../automation/scenario/ApiScenarioList.vue | 6 +- .../api/automation/scenario/ReferenceView.vue | 62 +++++++++++++++++++ .../scenario/ScenarioExtendBtns.vue | 38 ++++++++++++ frontend/src/i18n/zh-CN.js | 4 ++ 4 files changed, 108 insertions(+), 2 deletions(-) create mode 100644 frontend/src/business/components/api/automation/scenario/ReferenceView.vue create mode 100644 frontend/src/business/components/api/automation/scenario/ScenarioExtendBtns.vue 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 @@ - + @@ -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 @@ + + + + + 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 @@ + + + + + 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: {