Commit f969fa02 by liushikai

按钮

parent 22ee9fe3
...@@ -314,18 +314,23 @@ ...@@ -314,18 +314,23 @@
>详情 >详情
</c-button> </c-button>
<c-button <c-button
style="margin-left: 0;padding:0 12px" style="margin-left: 0"
size="small" size="small"
type="primary" type="primary"
@click="continueEdit(scope.row)" @click="continueEdit(scope.row)"
>TAKE >处理
</c-button> </c-button>
<el-popover placement="left" width="100" trigger="click"> <el-popover placement="top-start" width="50" trigger="click">
<c-button type="primary" size="small">指派</c-button> <!-- <c-button type="primary" size="small">指派</c-button>
<c-button type="primary" size="small">删除</c-button> <c-button type="primary" size="small">删除</c-button> -->
<!-- <el-button slot="reference" type="text">>>></el-button> -->
<a slot="reference" href="javascript:void(0)" style="text-decoration: none; color: #1561e0;font-family: '宋体';font-weight: bold;font-size: 14px;">>>></a <ul class="table-button-item-list">
> <li><c-button size="small" style="margin-left:0">指派</c-button></li>
<li><c-button size="small" style="margin-left:0">删除</c-button></li>
</ul>
<a slot="reference" href="javascript:void(0)"
><i class="el-icon-more"></i
></a>
</el-popover> </el-popover>
</template> </template>
</el-table-column> </el-table-column>
...@@ -513,7 +518,9 @@ export default { ...@@ -513,7 +518,9 @@ export default {
saveColumnEvent() { saveColumnEvent() {
this.setColumnFlg = false; this.setColumnFlg = false;
this.saveColumnFlg = false; this.saveColumnFlg = false;
this.saveColumns = this.columnGroup.map((index)=>this.stmData.columns[index]); this.saveColumns = this.columnGroup.map(
(index) => this.stmData.columns[index]
);
}, },
setAll(val) { setAll(val) {
this.columnGroup = val ? this.setColumn.map((item) => item.index) : []; this.columnGroup = val ? this.setColumn.map((item) => item.index) : [];
...@@ -557,4 +564,19 @@ export default { ...@@ -557,4 +564,19 @@ export default {
.detailDialogClass >>> .el-dialog { .detailDialogClass >>> .el-dialog {
height: 400px; height: 400px;
} }
.table-button-item-list{
padding: 0;
margin: 0;
}
.table-button-item-list li {
list-style: none;
padding: 5px 0;
text-align: center;
color: #606266;
cursor: pointer;
}
.el-popover {
min-width: 50px;
}
</style> </style>
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