fix(测试跟踪): 测试跟踪首页TABLE列对齐
This commit is contained in:
parent
b76110b30a
commit
b5e4457192
|
@ -21,7 +21,7 @@
|
|||
<el-table-column
|
||||
prop="caseName"
|
||||
:label="$t('home.case.case_name')"
|
||||
min-width="200px">
|
||||
width="320px">
|
||||
<template v-slot:default="{row}">
|
||||
<el-link style="color: #783887; width: 100%;" :underline="false" type="info" @click="redirect(row.caseType,row.id)"
|
||||
:disabled="(row.caseType === 'apiCase' && apiCaseReadOnly) || (row.caseType === 'scenario' && apiScenarioReadOnly) ||
|
||||
|
@ -35,7 +35,7 @@
|
|||
:label="$t('home.case.case_type')"
|
||||
show-overflow-tooltip
|
||||
column-key="caseType"
|
||||
min-width="100px">
|
||||
width="150px">
|
||||
<template v-slot:default="scope">
|
||||
<basic-case-type-label :value="scope.row.caseType"></basic-case-type-label>
|
||||
</template>
|
||||
|
@ -43,7 +43,7 @@
|
|||
<el-table-column
|
||||
prop="testPlan"
|
||||
:label="$t('home.case.test_plan')"
|
||||
min-width="300px">
|
||||
min-width="200px">
|
||||
<template v-slot:default="{row}">
|
||||
<el-link style="color: #783887; width: 100%;" :underline="false" type="info" @click="redirect('testPlanEdit',row.testPlanId)" v-permission-disable="['PROJECT_TRACK_PLAN:READ']">
|
||||
{{ row.testPlan }}
|
||||
|
@ -54,7 +54,7 @@
|
|||
prop="failureTimes"
|
||||
:label="$t('home.case.failure_times')"
|
||||
show-overflow-tooltip
|
||||
min-width="100px"/>
|
||||
min-width="500px"/>
|
||||
<template #empty>
|
||||
<div
|
||||
style="width: 100%;height: 200px;display: flex;flex-direction: column;justify-content: center;align-items: center">
|
||||
|
|
|
@ -28,11 +28,11 @@
|
|||
prop="name"
|
||||
:label="$t('commons.name')"
|
||||
show-overflow-tooltip
|
||||
min-width="200px"/>
|
||||
width="320px"/>
|
||||
<el-table-column
|
||||
prop="status"
|
||||
:label="$t('test_track.plan.plan_status')"
|
||||
min-width="100px">
|
||||
width="150px">
|
||||
<template v-slot:default="scope">
|
||||
<basic-status-label :value="scope.row.status"></basic-status-label>
|
||||
</template>
|
||||
|
@ -41,12 +41,12 @@
|
|||
prop="creator"
|
||||
:label="$t('test_track.review.creator')"
|
||||
show-overflow-tooltip
|
||||
min-width="100px"/>
|
||||
min-width="200px"/>
|
||||
<el-table-column
|
||||
prop="reviewerName"
|
||||
:label="$t('test_track.review.reviewer')"
|
||||
show-overflow-tooltip
|
||||
min-width="300px"/>
|
||||
min-width="200px"/>
|
||||
<el-table-column
|
||||
:label="$t('test_track.review.result_distribution')"
|
||||
show-overflow-tooltip
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<el-table-column
|
||||
prop="name"
|
||||
:label="$t('commons.name')"
|
||||
min-width="200px">
|
||||
width="320px">
|
||||
<template v-slot:default="{row}">
|
||||
<!-- 若为只读用户不可点击之后跳转-->
|
||||
<span v-if="isReadOnly">
|
||||
|
@ -32,12 +32,12 @@
|
|||
{{ row.name }}
|
||||
</el-link>
|
||||
</template>
|
||||
</el-table-column >
|
||||
</el-table-column>
|
||||
<ms-table-column
|
||||
prop="taskType"
|
||||
:label="$t('home.table.task_type')"
|
||||
:filters="typeFilters"
|
||||
min-width="100px">
|
||||
width="150px">
|
||||
<template v-slot:default="scope">
|
||||
<basic-task-type-label :value="scope.row.taskGroup"></basic-task-type-label>
|
||||
</template>
|
||||
|
@ -46,12 +46,12 @@
|
|||
prop="creator"
|
||||
:label="$t('home.table.create_user')"
|
||||
show-overflow-tooltip
|
||||
min-width="100px"/>
|
||||
min-width="200px"/>
|
||||
<el-table-column
|
||||
prop="rule"
|
||||
:label="$t('home.table.run_rule')"
|
||||
show-overflow-tooltip
|
||||
min-width="300px"/>
|
||||
min-width="200px"/>
|
||||
<el-table-column
|
||||
:label="$t('home.table.task_status')"
|
||||
min-width="100px">
|
||||
|
|
Loading…
Reference in New Issue