邀请类型 反了

This commit is contained in:
2025-10-14 13:35:15 +08:00
parent 9ed2ecfe9f
commit 0d206f61de
3 changed files with 5 additions and 5 deletions

View File

@@ -169,7 +169,7 @@
<el-table-column :label="$t('employee.hostsLevel')" align="center" prop="hostsLevel" />
<el-table-column :label="t('newHosts.invitationType')" align="center" prop="invitationType" width="200">
<template #default="scope">
<el-tag size="small" :type="scope.row.invitationType == 1 ? 'warning' : 'primary'">
<el-tag size="small" :type="scope.row.invitationType == 1 ? 'primary' : 'warning'">
{{ dictLabelI18n(DICT_TYPE.HOSTS_INVITATION_TYPE, scope.row.invitationType) || '-' }}
</el-tag>
</template>

View File

@@ -156,7 +156,7 @@
<el-table-column :label="$t('employee.hostsLevel')" align="center" prop="hostsLevel" />
<el-table-column :label="t('newHosts.invitationType')" align="center" prop="invitationType" width="200">
<template #default="scope">
<el-tag size="small" :type="scope.row.invitationType == 1 ? 'warning' : 'primary'">
<el-tag size="small" :type="scope.row.invitationType == 1 ? 'primary' : 'warning'">
{{ dictLabelI18n(DICT_TYPE.HOSTS_INVITATION_TYPE, scope.row.invitationType) || '-' }}
</el-tag>
</template>

View File

@@ -181,7 +181,7 @@
<el-table-column :label="t('newHosts.invitationType')" align="center" prop="invitationType" width="200">
<template #default="scope">
<el-tag size="small" :type="scope.row.invitationType == 1 ? 'warning' : 'primary'">
<el-tag size="small" :type="scope.row.invitationType == 1 ? 'primary' : 'warning'">
{{ dictLabelI18n(DICT_TYPE.HOSTS_INVITATION_TYPE, scope.row.invitationType) || '-' }}
</el-tag>
</template>