refactor(项目管理): 项目列表样式修改

This commit is contained in:
Captain.B 2021-05-20 10:21:01 +08:00 committed by 刘瑞斌
parent 196b58790e
commit 5939389678
1 changed files with 12 additions and 12 deletions

View File

@ -15,7 +15,7 @@
@filter-change="filter" @filter-change="filter"
:height="screenHeight" :height="screenHeight"
> >
<el-table-column prop="name" :label="$t('commons.name')" width="250" show-overflow-tooltip/> <el-table-column prop="name" :label="$t('commons.name')" min-width="100" show-overflow-tooltip/>
<el-table-column prop="description" :label="$t('commons.description')" show-overflow-tooltip> <el-table-column prop="description" :label="$t('commons.description')" show-overflow-tooltip>
<template v-slot:default="scope"> <template v-slot:default="scope">
<pre>{{ scope.row.description }}</pre> <pre>{{ scope.row.description }}</pre>
@ -32,25 +32,25 @@
<span>{{ scope.row.createUserName }}</span> <span>{{ scope.row.createUserName }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column min-width="100"
sortable sortable
prop="createTime" prop="createTime"
:label="$t('commons.create_time')" :label="$t('commons.create_time')"
show-overflow-tooltip> show-overflow-tooltip>
<template v-slot:default="scope"> <template v-slot:default="scope">
<span>{{ scope.row.createTime | timestampFormatDate }}</span> <span>{{ scope.row.createTime | timestampFormatDate }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column min-width="100"
sortable sortable
prop="updateTime" prop="updateTime"
:label="$t('commons.update_time')" :label="$t('commons.update_time')"
show-overflow-tooltip> show-overflow-tooltip>
<template v-slot:default="scope"> <template v-slot:default="scope">
<span>{{ scope.row.updateTime | timestampFormatDate }}</span> <span>{{ scope.row.updateTime | timestampFormatDate }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('commons.operating')"> <el-table-column :label="$t('commons.operating')" width="180">
<template v-slot:default="scope"> <template v-slot:default="scope">
<ms-table-operator :is-tester-permission="true" @editClick="edit(scope.row)" <ms-table-operator :is-tester-permission="true" @editClick="edit(scope.row)"
@deleteClick="handleDelete(scope.row)"> @deleteClick="handleDelete(scope.row)">