<el-table @row-click="openDetails">
</el-table>


//对应的 methods 中
//点击行事件
methods: {
openDetails (row) {
//具体操作
},
}