关联账户
This commit is contained in:
@@ -617,7 +617,8 @@ export default {
|
||||
},
|
||||
hostsInvitationType: {
|
||||
eliteTicket: 'elite ticket',
|
||||
regularTicket: 'regular ticket'
|
||||
regularTicket: 'regular ticket',
|
||||
linkedAccount: 'linked account'
|
||||
},
|
||||
Assigned: {
|
||||
yes: 'yes',
|
||||
|
||||
@@ -617,7 +617,8 @@ export default {
|
||||
},
|
||||
hostsInvitationType: {
|
||||
eliteTicket: '进阶票',
|
||||
regularTicket: '普票'
|
||||
regularTicket: '普票',
|
||||
linkedAccount: '关联账号'
|
||||
},
|
||||
Assigned: {
|
||||
yes: '是',
|
||||
|
||||
@@ -185,7 +185,8 @@
|
||||
<el-table-column v-if="!Simplify" :label="t('newHosts.invitationType')" align="center" prop="invitationType"
|
||||
width="200">
|
||||
<template #default="scope">
|
||||
<el-tag size="small" :type="scope.row.invitationType == 1 ? 'primary' : 'warning'">
|
||||
<el-tag size="small"
|
||||
:type="scope.row.invitationType == 1 ? 'primary' : scope.row.invitationType == 2 ? 'warning' : scope.row.invitationType == 3 ? 'success' : 'info'">
|
||||
{{ dictLabelI18n(DICT_TYPE.HOSTS_INVITATION_TYPE, scope.row.invitationType) || '-' }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
@@ -180,7 +180,8 @@
|
||||
</el-table-column>
|
||||
<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 ? 'primary' : 'warning'">
|
||||
<el-tag size="small"
|
||||
:type="scope.row.invitationType == 1 ? 'primary' : scope.row.invitationType == 2 ? 'warning' : scope.row.invitationType == 3 ? 'success' : 'info'">
|
||||
{{ dictLabelI18n(DICT_TYPE.HOSTS_INVITATION_TYPE, scope.row.invitationType) || '-' }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
@@ -205,9 +205,11 @@
|
||||
|
||||
<el-table-column :label="t('newHosts.invitationType')" align="center" prop="invitationType">
|
||||
<template #default="scope">
|
||||
<el-tag size="small" :type="scope.row.invitationType == 1 ? 'primary' : 'warning'">
|
||||
<el-tag size="small"
|
||||
:type="scope.row.invitationType == 1 ? 'primary' : scope.row.invitationType == 2 ? 'warning' : scope.row.invitationType == 3 ? 'success' : 'info'">
|
||||
{{ dictLabelI18n(DICT_TYPE.HOSTS_INVITATION_TYPE, scope.row.invitationType) || '-' }}
|
||||
</el-tag>
|
||||
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
@@ -290,7 +292,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { getIntDictOptions, DICT_TYPE, getStrDictOptions } from '@/utils/dict'
|
||||
import { getIntDictOptions, DICT_TYPE, getStrDictOptions, getDictOptions } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import download from '@/utils/download'
|
||||
import { NewHostsApi, NewHostsVO } from '@/api/server/newhosts'
|
||||
@@ -299,8 +301,7 @@ import NewHostsForm from './NewHostsForm.vue'
|
||||
import { useCache } from '@/hooks/web/useCache'
|
||||
import * as DeptApi from '@/api/system/dept'
|
||||
import { ElMessageBox } from 'element-plus'
|
||||
|
||||
import { func } from 'vue-types'
|
||||
import { } from '@/utils/dict'
|
||||
|
||||
import { useDictStore } from '@/store/modules/dict' // 如果你项目里有字典 store
|
||||
import { useLocaleStoreWithOut } from '@/store/modules/locale'
|
||||
|
||||
Reference in New Issue
Block a user