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"
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
:field="item"
:fields-width="fieldsWidth"

View File

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

View File

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

View File

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

View File

@ -77,6 +77,7 @@ export let CUSTOM_TABLE_HEADER = {
API_SCENARIO: [
{ id: "num", key: "1", label: "ID" },
{ 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: "status", key: "4", label: "test_track.plan.plan_status" },
{ id: "tags", key: "5", label: "commons.tag" },
@ -99,6 +100,7 @@ export let CUSTOM_TABLE_HEADER = {
UI_SCENARIO: [
{ id: "num", key: "1", label: "ID" },
{ 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: "status", key: "4", label: "test_track.plan.plan_status" },
{ id: "tags", key: "5", label: "commons.tag" },