fix: 选人

This commit is contained in:
JiangSheng
2025-10-28 09:47:00 +08:00
parent 685d5f99b7
commit 9123954b09

View File

@@ -49,9 +49,6 @@
<el-icon class="mr5 icon-style"><Avatar /></el-icon>
<span> {{ row.name }}</span>
</template>
<template v-if="column.field === 'role'">
{{ row.roleNames }}
</template>
<template v-if="column.field === 'department'">
{{ row.departIds_dictText }}
</template>
@@ -196,7 +193,7 @@
const tableColumns = ref([
{ type: 'checkbox', width: 50 },
{
title: '名',
title: '名',
name: 'name',
dataIndex: 'name',
key: 'name',
@@ -207,12 +204,11 @@
resizable: true,
},
{
title: '角色',
name: 'role',
dataIndex: 'role',
key: 'role',
field: 'role',
slots: { default: 'content_default' },
title: '工号',
name: 'workNo',
dataIndex: 'workNo',
key: 'workNo',
field: 'workNo',
align: 'center',
ellipsis: true,
resizable: true,