Commit a183bef4 by liushikai

调整

parent adeed262
......@@ -29,12 +29,13 @@
>
</el-table-column>
<slot></slot>
<el-table-column fixed="right" width="100px" v-if="showButtonFlg">
<el-table-column fixed="right" width="48px" v-if="showButtonFlg" class-name="buttonColumn">
<template slot="header">
<c-col style="text-align: left"
><c-button
icon="el-icon-s-tools"
@click="clounmSetting"
style="padding:0 7px"
></c-button
></c-col>
</template>
......@@ -49,6 +50,7 @@
<el-form-item label-width="0">
<el-checkbox-group v-model="columnGroup" @change="handleColumnChange">
<el-checkbox
class="selectColumnClass"
v-for="item in tableColumnsOrigin"
:key="item.label"
:label="parseInt(item.index)"
......@@ -58,7 +60,7 @@
</el-form-item>
<span slot="footer">
<el-checkbox
class="cbClass"
class="selectAllClass"
:indeterminate="columnGroup.length > 0 && columnGroup.length < tableColumnsOrigin.length"
v-model="selectAll"
@change="setAll"
......@@ -294,8 +296,20 @@ export default {
.el-table .success-row {
background: #f0f9eb;
}
.selectColumnClass .el-checkbox__label {
width: 60px;
font-size: 13px;
}
.selectAllClass .el-checkbox__label {
width: 30px;
font-size: 13px;
padding-left: 5px;
}
.eContainer-table-block .el-table .cell {
white-space: pre-wrap;
}
.el-table.buttonColumn th>.cell {
padding-left: 0;
padding-right: 0;
}
</style>
\ No newline at end of file
......@@ -500,15 +500,6 @@ export default {
};
</script>
<style scoped>
.el-checkbox >>> .el-checkbox__label {
width: 60px;
font-size: 13px;
}
.cbClass >>> .el-checkbox__label {
width: 30px;
font-size: 13px;
padding-left: 5px;
}
.showColumnDialog >>> .el-dialog__body {
padding-bottom: 10px;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment