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