|
@@ -25,12 +25,14 @@
|
|
|
<el-table-column label="操作" align="center" width="300px">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button title="密码重置"
|
|
|
+ class="edit"
|
|
|
@click="clickRest(scope.row.id)"
|
|
|
type="text">
|
|
|
<i class="el-icon-refresh"></i>
|
|
|
</el-button>
|
|
|
<el-button @click="$router.push({ path: '/otheruser/detail', query: { id: scope.row.id } })"
|
|
|
type="text"
|
|
|
+ class="edit1"
|
|
|
title="修改信息"
|
|
|
><i class="el-icon-edit"></i
|
|
|
></el-button>
|
|
@@ -131,4 +133,51 @@ export default {
|
|
|
/deep/.el-pagination.is-background .el-pager li:not(.disabled).active {
|
|
|
background-color: red;
|
|
|
}
|
|
|
+/deep/ .el-icon-edit {
|
|
|
+ background: url(../../assets/xiugaixinxi.png) center no-repeat;
|
|
|
+ background-size: cover;
|
|
|
+ width: 25px;
|
|
|
+ height: 25px;
|
|
|
+}
|
|
|
+
|
|
|
+/deep/ .el-icon-edit:before {
|
|
|
+ content: "替";
|
|
|
+ font-size: 16px;
|
|
|
+ visibility: hidden;
|
|
|
+}
|
|
|
+/deep/ .el-icon-delete {
|
|
|
+ background: url(../../assets/shanchu.png) center no-repeat;
|
|
|
+ background-size: cover;
|
|
|
+ width: 25px;
|
|
|
+ height: 25px;
|
|
|
+}
|
|
|
+
|
|
|
+/deep/ .el-icon-delete:before {
|
|
|
+ content: "替";
|
|
|
+ font-size: 16px;
|
|
|
+ visibility: hidden;
|
|
|
+}
|
|
|
+/deep/ .el-table__row .cell .edit {
|
|
|
+ margin-right: 10px;
|
|
|
+}
|
|
|
+
|
|
|
+/deep/ .el-icon-refresh:before {
|
|
|
+ content: "替";
|
|
|
+ font-size: 16px;
|
|
|
+ visibility: hidden;
|
|
|
+}
|
|
|
+/deep/ .el-icon-refresh {
|
|
|
+ background: url(../../assets/congzhimima.png) center no-repeat;
|
|
|
+ background-size: cover;
|
|
|
+ width: 25px;
|
|
|
+ height: 25px;
|
|
|
+}
|
|
|
+/deep/.el-button + .el-button {
|
|
|
+ margin-left: 10px;
|
|
|
+ margin-right: 10px;
|
|
|
+}
|
|
|
+/deep/ .el-table__row .cell .edit:first-child {
|
|
|
+ margin-right: 10px;
|
|
|
+}
|
|
|
+
|
|
|
</style>
|