fix(测试跟踪):用例评审列表-表格默认宽度太小-字段内容显示不全

--bug=1021832 --user=王旭 【测试跟踪】用例评审列表-表格默认宽度太小-字段内容显示不全 https://www.tapd.cn/55049933/s/1346262
This commit is contained in:
WangXu10 2023-03-07 17:53:58 +08:00 committed by fit2-zhao
parent 89b1673d5d
commit 32d694934d
1 changed files with 12 additions and 8 deletions

View File

@ -27,23 +27,27 @@
<ms-table-column <ms-table-column
prop="name" prop="name"
:field="item" :field="item"
:label="$t('test_track.review.review_name')"/> :label="$t('test_track.review.review_name')"
min-width="130px"/>
<ms-table-column <ms-table-column
prop="reviewer" prop="reviewer"
:field="item" :field="item"
:label="$t('test_track.review.reviewer')"/> :label="$t('test_track.review.reviewer')"
min-width="140px"/>
<ms-table-column <ms-table-column
prop="projectName" prop="projectName"
:field="item" :field="item"
:label="$t('test_track.review.review_project')"/> :label="$t('test_track.review.review_project')"
min-width="120px"/>
<ms-table-column <ms-table-column
prop="creatorName" prop="creatorName"
:field="item" :field="item"
:filters="userFilter" :filters="userFilter"
:label="$t('test_track.review.creator')"/> :label="$t('test_track.review.creator')"
min-width="120px"/>
<ms-table-column <ms-table-column
prop="status" prop="status"
@ -75,13 +79,14 @@
:field="item" :field="item"
:fields-width="fieldsWidth" :fields-width="fieldsWidth"
:label="$t('api_test.definition.api_case_number')" :label="$t('api_test.definition.api_case_number')"
min-width="200px"> min-width="50px">
</ms-table-column> </ms-table-column>
<ms-table-column <ms-table-column
prop="endTime" prop="endTime"
:field="item" :field="item"
:label="$t('test_track.review.end_time')"> :label="$t('test_track.review.end_time')"
min-width="140px">
<template v-slot:default="scope"> <template v-slot:default="scope">
<span>{{ scope.row.endTime | datetimeFormat }}</span> <span>{{ scope.row.endTime | datetimeFormat }}</span>
</template> </template>
@ -91,8 +96,7 @@
prop="passRate" prop="passRate"
:field="item" :field="item"
:fields-width="fieldsWidth" :fields-width="fieldsWidth"
:label="$t('commons.pass_rate')" :label="$t('commons.pass_rate')">
min-width="120px">
</ms-table-column> </ms-table-column>
</span> </span>