将操作列固定在右侧 在列中 加 fixed=“right”
<el-table-column label="操作" fixed="right" align="center" width="100">
<template slot-scope="scope">
<el-button @click="view(scope.row.reportId)" type="text" size="small">查看</el-button>
</template>
</el-table-column>
效果: