refactor(接口定义): 更改接口自动化列表最后更新时间为更新时间
--bug=1018485 --user=王孝刚 【接口测试】接口自动化页面最后更新时间应该是更新时间 https://www.tapd.cn/55049933/s/1269375
This commit is contained in:
parent
867fea7605
commit
a1961e83ce
|
@ -187,7 +187,7 @@
|
|||
<ms-table-column
|
||||
:field="item"
|
||||
:fields-width="fieldsWidth"
|
||||
:label="$t('api_test.automation.update_time')"
|
||||
:label="$t('commons.update_time')"
|
||||
sortable
|
||||
prop="updateTime"
|
||||
min-width="180px">
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
</el-table-column>
|
||||
<el-table-column prop="userId" :label="$t('api_test.automation.creator')" show-overflow-tooltip sortable="custom"
|
||||
min-width="100px"/>
|
||||
<el-table-column prop="updateTime" :label="$t('api_test.automation.update_time')" width="180" sortable="custom">
|
||||
<el-table-column prop="updateTime" :label="$t('commons.update_time')" width="180" sortable="custom">
|
||||
<template v-slot:default="scope">
|
||||
<span>{{ scope.row.updateTime | datetimeFormat }}</span>
|
||||
</template>
|
||||
|
@ -103,9 +103,8 @@ import MsTableAdvSearchBar from "metersphere-frontend/src/components/search/MsTa
|
|||
import TEST_PLAN_RELEVANCE_API_SCENARIO_CONFIGS from "metersphere-frontend/src/components/search/search-components";
|
||||
import {ENV_TYPE} from "metersphere-frontend/src/utils/constants";
|
||||
import MsTable from "metersphere-frontend/src/components/table/MsTable";
|
||||
import {getVersionFilters} from "@/business/utils/sdk-utils";
|
||||
import {getOwnerProjects, getVersionFilters} from "@/business/utils/sdk-utils";
|
||||
import MxVersionSelect from "metersphere-frontend/src/components/version/MxVersionSelect";
|
||||
import {getOwnerProjects} from "@/business/utils/sdk-utils";
|
||||
import {getProjectApplicationConfig} from "@/api/project-application";
|
||||
import {getApiScenarioEnvByProjectId} from "@/api/remote/api/api-automation";
|
||||
import {scenarioRelevanceList} from "@/api/remote/plan/test-plan-scenario";
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
</el-table-column>
|
||||
<el-table-column prop="userId" :label="$t('api_test.automation.creator')" show-overflow-tooltip sortable="custom"
|
||||
min-width="100px"/>
|
||||
<el-table-column prop="updateTime" :label="$t('api_test.automation.update_time')" width="180" sortable="custom">
|
||||
<el-table-column prop="updateTime" :label="$t('commons.update_time')" width="180" sortable="custom">
|
||||
<template v-slot:default="scope">
|
||||
<span>{{ scope.row.updateTime | datetimeFormat }}</span>
|
||||
</template>
|
||||
|
@ -81,8 +81,7 @@ import MsTableAdvSearchBar from "metersphere-frontend/src/components/search/MsTa
|
|||
import TEST_PLAN_RELEVANCE_API_SCENARIO_CONFIGS from "metersphere-frontend/src/components/search/search-components";
|
||||
import {ENV_TYPE} from "metersphere-frontend/src/utils/constants";
|
||||
import MsTable from "metersphere-frontend/src/components/table/MsTable";
|
||||
import {getVersionFilters} from "@/business/utils/sdk-utils";
|
||||
import {getOwnerProjects} from "@/business/utils/sdk-utils";
|
||||
import {getOwnerProjects, getVersionFilters} from "@/business/utils/sdk-utils";
|
||||
import {getProjectApplicationConfig} from "@/api/project-application";
|
||||
import {testPlanUiScenarioRelevanceList} from "@/api/remote/ui/test-plan-ui-scenario-case";
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ const TRACK_HEADER = {
|
|||
{id: 'tags', key: '7', label: 'commons.tag'},
|
||||
{id: 'execResult', key: '8', label: 'test_track.plan.execute_result'},
|
||||
{id: 'maintainer', key: '9', label: 'api_test.definition.request.responsible'},
|
||||
{id: 'updateTime', key: 'a', label: 'api_test.automation.update_time'},
|
||||
{id: 'updateTime', key: 'a', label: 'commons.update_time'},
|
||||
{id: 'createTime', key: 'b', label: 'commons.create_time'},
|
||||
{id: 'environmentName', key: 'c', label: 'commons.environment'},
|
||||
],
|
||||
|
@ -76,7 +76,7 @@ const TRACK_HEADER = {
|
|||
{id: 'passRate', key: '9', label: 'api_test.automation.passing_rate'},
|
||||
{id: 'maintainer', key: 'a', label: 'api_test.definition.request.responsible'},
|
||||
{id: 'createUser', key: '5', label: 'api_test.automation.creator'},
|
||||
{id: 'updateTime', key: '6', label: 'api_test.automation.update_time'},
|
||||
{id: 'updateTime', key: '6', label: 'commons.update_time'},
|
||||
{id: 'createTime', key: 'b', label: 'commons.create_time'},
|
||||
{id: 'lastResult', key: 'c', label: 'api_test.automation.last_result'},
|
||||
],
|
||||
|
@ -91,7 +91,7 @@ const TRACK_HEADER = {
|
|||
{id: 'passRate', key: '9', label: 'api_test.automation.passing_rate'},
|
||||
{id: 'maintainer', key: 'a', label: 'api_test.definition.request.responsible'},
|
||||
{id: 'createUser', key: '5', label: 'api_test.automation.creator'},
|
||||
{id: 'updateTime', key: '6', label: 'api_test.automation.update_time'},
|
||||
{id: 'updateTime', key: '6', label: 'commons.update_time'},
|
||||
{id: 'createTime', key: 'b', label: 'commons.create_time'},
|
||||
{id: 'lastResult', key: 'c', label: 'api_test.automation.last_result'},
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue