<template>
  <a
    href="javascript:void(0);"
    class="a-link"
    @click="openUserDialig"
  >
    <div>
      <el-tooltip :enterable="false" effect="dark" :content="$t1('修改候选人')" placement="top"
                popper-class="tooltip-skin">
      <i class="el-icon-edit"/>
    </el-tooltip>
      <user-dialog
        v-if="showUserDialog"
        :visiable.sync="showUserDialog"
        @close="showUserDialog = false"
        @confirm="userConfirm"
        multi="true"
        :rows="userRows"
      ></user-dialog>
      <wfTaskUserRangeDialog
        v-if="showWfTaskUserRangeDialog"
        :visiable.sync="showWfTaskUserRangeDialog"
        @close="showWfTaskUserRangeDialog = false"
        @confirm="confirmWfTaskUserRangeDialog"
        multi="true"
        :rows="userRangeRows"
        :rangeTableDatas="rangeTableDatas"
      ></wfTaskUserRangeDialog>
    </div>
  </a>
</template>

<script>
import mixin from "../../components/wf/mixins/setCandidateButton";
import { selectDialogMixins } from "../../mixins/selectDialog/index.js";

export default {
  mixins: [selectDialogMixins, mixin],
};
</script>
