feat(接口测试): 接口自动化表头增加所属模块字段

--story=1013902 --user=王旭 【接口测试】和【UI测试】场景列表的表头字段支持展示所属模块 https://www.tapd.cn/55049933/s/1442910
This commit is contained in:
WangXu10 2023-12-11 16:49:25 +08:00 committed by Craftsman
parent 3b425dac20
commit 4a5b4a187e
5 changed files with 16 additions and 0 deletions

View File

@ -83,6 +83,17 @@
prop="name" prop="name"
sortable /> sortable />
<ms-table-column
prop="nodePath"
:field="item"
:fields-width="fieldsWidth"
:label="$t('api_test.automation.module')"
min-width="150px">
<template v-slot:default="scope">
<span>{{ scope.row.modulePath }}</span>
</template>
</ms-table-column>
<ms-table-column <ms-table-column
:field="item" :field="item"
:fields-width="fieldsWidth" :fields-width="fieldsWidth"

View File

@ -1652,6 +1652,7 @@ const message = {
unplanned_scenario: "Unplanned Scenario", unplanned_scenario: "Unplanned Scenario",
scenario_name: "Scenario Name", scenario_name: "Scenario Name",
case_level: "Case Level", case_level: "Case Level",
module: "Module",
tag: "Tag", tag: "Tag",
creator: "Creator", creator: "Creator",
update_time: "Update Time", update_time: "Update Time",

View File

@ -1601,6 +1601,7 @@ const message = {
unplanned_scenario: "未规划场景", unplanned_scenario: "未规划场景",
scenario_name: "场景名称", scenario_name: "场景名称",
case_level: "用例等级", case_level: "用例等级",
module: "所属模块",
tag: "标签", tag: "标签",
creator: "创建人", creator: "创建人",
update_time: "最后更新时间", update_time: "最后更新时间",

View File

@ -1600,6 +1600,7 @@ const message = {
unplanned_scenario: "未規劃場景", unplanned_scenario: "未規劃場景",
scenario_name: "場景名稱", scenario_name: "場景名稱",
case_level: "用例等級", case_level: "用例等級",
module: "所屬模塊",
tag: "標簽", tag: "標簽",
creator: "創建人", creator: "創建人",
update_time: "最後更新時間", update_time: "最後更新時間",

View File

@ -77,6 +77,7 @@ export let CUSTOM_TABLE_HEADER = {
API_SCENARIO: [ API_SCENARIO: [
{ id: "num", key: "1", label: "ID" }, { id: "num", key: "1", label: "ID" },
{ id: "name", key: "2", label: "api_report.scenario_name" }, { id: "name", key: "2", label: "api_report.scenario_name" },
{ id: 'nodePath', key: '9', label: 'api_test.automation.module'},
{ id: "level", key: "3", label: "api_test.automation.case_level" }, { id: "level", key: "3", label: "api_test.automation.case_level" },
{ id: "status", key: "4", label: "test_track.plan.plan_status" }, { id: "status", key: "4", label: "test_track.plan.plan_status" },
{ id: "tags", key: "5", label: "commons.tag" }, { id: "tags", key: "5", label: "commons.tag" },
@ -99,6 +100,7 @@ export let CUSTOM_TABLE_HEADER = {
UI_SCENARIO: [ UI_SCENARIO: [
{ id: "num", key: "1", label: "ID" }, { id: "num", key: "1", label: "ID" },
{ id: "name", key: "2", label: "api_report.scenario_name" }, { id: "name", key: "2", label: "api_report.scenario_name" },
{ id: 'nodePath', key: '9', label: 'api_test.automation.module'},
{ id: "level", key: "3", label: "api_test.automation.case_level" }, { id: "level", key: "3", label: "api_test.automation.case_level" },
{ id: "status", key: "4", label: "test_track.plan.plan_status" }, { id: "status", key: "4", label: "test_track.plan.plan_status" },
{ id: "tags", key: "5", label: "commons.tag" }, { id: "tags", key: "5", label: "commons.tag" },