| | |
| | | <template> |
| | | <el-dialog v-model="params.visible" :title="params.data?.dictValue || '人员选择'" destroy-on-close @close="dialogClose" @open="dialogOpen"> |
| | | <el-dialog v-model="params.visible" :title="params.data?.dictValue || '人员选择'" destroy-on-close @close="dialogClose" |
| | | @open="dialogOpen"> |
| | | <div class="container" v-loading="isLoading" element-loading-text="数据加载中,请稍后。。。"> |
| | | <el-transfer v-model="value" :data="userList" :props="{ label: 'realName', key: 'id' }" filterable filter-placeholder="请输入人员姓名" |
| | | :titles="['参与投票人员', '不参与投票人员']" /> |
| | | <el-transfer v-model="value" :data="userList" :props="{ label: 'realName', key: 'id' }" filterable |
| | | filter-placeholder="请输入人员姓名" :titles="['参与投票人员', '不参与投票人员']" /> |
| | | </div> |
| | | <template #footer> |
| | | <el-button @click="params.visible = false">取消</el-button> |
| | |
| | | participateIn: this.participateIn, |
| | | notParticipateIn: this.notParticipateIn |
| | | } |
| | | this.$emit('addEvaluateParams', params) |
| | | this.params.visible = false |
| | | this.$confirm('是否确认选择当前投票人员?', { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | type: 'warning', |
| | | }).then(() => { |
| | | this.$emit('addEvaluateParams', params) |
| | | this.params.visible = false |
| | | this.$message.success('设置投票人员成功') |
| | | }) |
| | | |
| | | } |
| | | }, |
| | | |
| | | |
| | | } |
| | | </script> |
| | | |
| | |
| | | justify-content: center; |
| | | align-items: center; |
| | | } |
| | | |
| | | :deep() { |
| | | .el-transfer-panel { |
| | | width: 250px; |