Commit b663b629 by liushikai

调整

parent e265d65a
<template>
<div class="eContainer-table-block">
<div style="text-align: left" v-if="showButtonFlg" class="buttonDiv">
<c-button
icon="el-icon-s-tools"
@click="clounmSetting"
style=""
></c-button
></div>
<el-table
ref="table"
:data="
......@@ -33,23 +40,14 @@
</template>
</el-table-column>
<slot></slot>
<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>
</el-table-column>
</el-table>
<el-dialog
class="showColumnDialog"
:visible.sync="setColumnFlg"
:title="'自定义列属性'"
appenD-to-body
v-if="showButtonFlg"
>
<el-form-item label-width="0">
<el-checkbox-group v-model="columnGroup" @change="handleColumnChange">
......@@ -364,8 +362,13 @@ export default {
.eContainer-table-block .el-table .cell {
white-space: pre-wrap;
}
.el-table.buttonColumn th>.cell {
padding-left: 0;
padding-right: 0;
.buttonDiv{
text-align: left;
display: inline-block;
margin: 0;
position: absolute;
z-index: 999;
right: 5px;
padding-top: 3px;
}
</style>
\ No newline at end of file
......@@ -192,10 +192,10 @@
</template>
</c-list-search>
<c-row style="margin-top: 20px; padding: 0 10px 0 10px">
<c-row style="margin-top: 10px">
<c-col>
<c-button size="small" type="primary">导出Excel</c-button>
<c-button size="small" type="primary">应急导出</c-button>
<c-button size="small" type="primary" style="margin-left:0">导出Excel</c-button>
<c-button size="small" type="primary" style="margin-left:0">应急导出</c-button>
</c-col>
</c-row>
......
......@@ -301,14 +301,8 @@
<el-table-column fixed="right" prop="op" label="操作" width="165px" class-name="lastColumn">
<template slot="header">
<c-col style="text-align: left"
><span>操作</span></c-col
>
<!-- <c-col style="text-align: right"
><c-button
icon="el-icon-s-tools"
@click="clounmSetting"
></c-button
></c-col> -->
><span>操作</span>
</c-col>
</template>
<template slot-scope="scope">
<c-button style="margin-left: 0" size="small" @click="onDetails(scope.$index,scope.row)"
......
......@@ -306,7 +306,7 @@
</c-col>
-->
<c-col :span="24" style="height:24px;margin-top:30px">
<el-form-item label="Signatures" class="messageLabel">
<el-form-item label="经办/复核" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="23" style="height:0px;">
......@@ -346,7 +346,7 @@
<!-- -------------------workflow------------------- -->
<c-col :span="24" style="height:24px;margin-top:30px">
<el-form-item label="Workflow" class="messageLabel">
<el-form-item label="工作流服务" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="23" style="height:0px;">
......
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