tabel右侧操作栏下拉选择
程序员文章站
2022-05-03 18:04:18
...
<el-table-column class="more-oprate" fixed="right" label="操作" align="center" width="150">
<span slot-scope="scope">
<!-- <el-dropdown trigger="click">
<i class="el-icon-more" />
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-if="checkPermission(8)" @click.native="clickinfo('regularworker',scope)">发起转正</el-dropdown-item>
<el-dropdown-item v-if="checkPermission(10)" @click.native="clickinfo('transferposition', scope)">发起调岗</el-dropdown-item>
<el-dropdown-item v-if="checkPermission(13)" @click.native="clickinfo('salaryadjustment', scope)">发起调薪</el-dropdown-item>
<el-dropdown-item v-if="checkPermission(12)" @click.native="clickinfo('promotion', scope)">发起升职</el-dropdown-item>
<el-dropdown-item v-if="checkPermission(47)" @click.native="clickinfo('demotion', scope)">发起降职</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown> -->
<a style="color: #1890FF" @click="clickinfo(scope.$index)">详情</a>
</span>
</el-table-column>
上一篇: zepto.js中swipe失效问题