task#14196,kpi优化
This commit is contained in:
@ -4,10 +4,11 @@
|
||||
stripe
|
||||
border
|
||||
style="width: 100%"
|
||||
height="100%"
|
||||
v-loading="loading"
|
||||
class="custom-table">
|
||||
<el-table-column v-for="column in labelList" :key="column.prop" :prop="column.prop" :label="column.label"
|
||||
align="center" min-width="100">
|
||||
align="center" min-width="100" :width="(isMobile && (column.label=='案件编号' || column.label=='服务内容')) ? 70 : 'auto'">
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
@ -16,7 +17,7 @@
|
||||
<script>
|
||||
export default {
|
||||
name: "noFit-table",
|
||||
props: ['tableData','labelList','loading'],
|
||||
props: ['tableData','labelList','loading','isMobile'],
|
||||
data() {
|
||||
return {}
|
||||
},
|
||||
@ -29,12 +30,17 @@ export default {
|
||||
|
||||
<style scoped lang="scss">
|
||||
@import "@/styles/mixin.scss";
|
||||
::v-deep .el-table thead{
|
||||
::v-deep .el-table{
|
||||
font-size: 11px;
|
||||
}
|
||||
::v-deep .el-table thead{
|
||||
color: #1D2129;
|
||||
font-weight: bold;
|
||||
}
|
||||
::v-deep .el-table th.el-table__cell.is-leaf {
|
||||
background-color: #E5E6EB;
|
||||
}
|
||||
::v-deep .el-table .el-table__cell{
|
||||
padding: 4px 0 !important;
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user