Merge remote-tracking branch 'origin/master'

This commit is contained in:
wenyann 2021-01-20 14:08:36 +08:00
commit 7868ce4957
1 changed files with 11 additions and 4 deletions

View File

@ -30,10 +30,13 @@
<el-table-column prop="level" :label="$t('api_test.automation.case_level')" <el-table-column prop="level" :label="$t('api_test.automation.case_level')"
show-overflow-tooltip> show-overflow-tooltip>
<template v-slot:default="scope"> <template v-slot:default="scope">
<ms-tag v-if="scope.row.level == 'P0'" type="info" effect="plain" content="P0"/> <priority-table-item :value="scope.row.level"/>
<ms-tag v-if="scope.row.level == 'P1'" type="warning" effect="plain" content="P1"/> </template>
<ms-tag v-if="scope.row.level == 'P2'" type="success" effect="plain" content="P2"/> </el-table-column>
<ms-tag v-if="scope.row.level == 'P3'" type="danger" effect="plain" content="P3"/> <el-table-column prop="status" :label="$t('test_track.plan.plan_status')"
show-overflow-tooltip>
<template v-slot:default="scope">
<plan-status-table-item :value="scope.row.status"/>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="tags" :label="$t('api_test.automation.tag')" width="200px"> <el-table-column prop="tags" :label="$t('api_test.automation.tag')" width="200px">
@ -115,10 +118,14 @@
import MsTableSelectAll from "../../../common/components/table/MsTableSelectAll"; import MsTableSelectAll from "../../../common/components/table/MsTableSelectAll";
import {API_CASE_CONFIGS} from "@/business/components/common/components/search/search-components"; import {API_CASE_CONFIGS} from "@/business/components/common/components/search/search-components";
import MsTableOperatorButton from "@/business/components/common/components/MsTableOperatorButton"; import MsTableOperatorButton from "@/business/components/common/components/MsTableOperatorButton";
import PriorityTableItem from "../../../track/common/tableItems/planview/PriorityTableItem";
import PlanStatusTableItem from "../../../track/common/tableItems/plan/PlanStatusTableItem";
export default { export default {
name: "MsApiScenarioList", name: "MsApiScenarioList",
components: { components: {
PlanStatusTableItem,
PriorityTableItem,
MsTableSelectAll, MsTableSelectAll,
MsTablePagination, MsTablePagination,
MsTableMoreBtn, MsTableMoreBtn,