| | |
| | | line-height: 34px; |
| | | } |
| | | |
| | | .search-form .el-button { |
| | | display: inline-flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | } |
| | | |
| | | .search-form .el-button [class^="el-icon"] { |
| | | line-height: 1; |
| | | } |
| | | |
| | | .table-wrap { |
| | | padding: 12px 18px 16px; |
| | | } |
| | |
| | | </el-tag> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="状态" width="130" align="center"> |
| | | <el-table-column label="状态" width="88" align="center"> |
| | | <template slot-scope="scope"> |
| | | <div class="status-switch"> |
| | | <el-switch |
| | | v-model="scope.row.status" |
| | | :active-value="1" |
| | | :inactive-value="0" |
| | | active-text="正常" |
| | | inactive-text="禁用" |
| | | @change="toggleStatus(scope.row)"> |
| | | </el-switch> |
| | | </div> |