欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

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>
相关标签: element 前端