| | |
| | | <el-table-column fixed="right" label="操作" width="120" align="center"> |
| | | <template slot-scope="scope"> |
| | | <el-button size="small" type="text" @click="$emit('updatePerson', scope.row)">编辑</el-button> |
| | | <el-button size="small" type="text" @click="deletePerson(scope.row)">删除</el-button> |
| | | <el-button size="small" type="text" @click="deletePerson(scope.row)" style="color: #f56c6c">删除</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | :total="page.total" |
| | | background |
| | | layout="->,total, sizes, prev, pager, next, jumper" |
| | | style="margin-top: 16px" |
| | | style="margin-top: 10px" |
| | | @size-change="handleSizeChange" |
| | | @current-change="handleCurrentChange" |
| | | > |
| | |
| | | </script> |
| | | |
| | | <style scoped> |
| | | .search-table { |
| | | padding: 0 16px; |
| | | } |
| | | |
| | | .search_thing { |
| | | display: flex; |
| | | align-items: center; |