方法一:
<el-table
:data="tableData">
<el-table-column prop="yhbh" label="用户编号" width="120" fixed>
<template slot-scope="scope">
<router-link :to="{path:'yhxxcx',query:{yhbh:scope.row.yhbh}}" style="color:#409eff">{{scope.row.yhbh}}</router-link>
</template>
</el-table-column>
</el-table>
方法二:
<el-table-column prop="ycsl" label="异常数量">
<template slot-scope="scope">
<el-link type="primary" :underline="false" @click="tzPath(scope.row)">{{scope.row.ywbh}}</el-link>
</template>
</el-table-column>