|
@@ -18,8 +18,8 @@
|
|
|
>
|
|
|
<template v-slot:title="{ item }">
|
|
|
<div class="treeTitle font-size-15">
|
|
|
- {{ item.anotherName || item.name }}
|
|
|
- <v-tooltip activator="parent" location="end">{{ item.anotherName || item.name }}</v-tooltip>
|
|
|
+ {{ dealEnterpriseName(item.anotherName || item.name) }}
|
|
|
+ <v-tooltip activator="parent" location="end">{{ dealEnterpriseName(item.anotherName || item.name) }}</v-tooltip>
|
|
|
</div>
|
|
|
</template>
|
|
|
</v-treeview>
|
|
@@ -107,10 +107,10 @@ import Confirm from '@/plugins/confirm'
|
|
|
import Snackbar from '@/plugins/snackbar'
|
|
|
import { checkCompanyEmail } from '@/utils/validate'
|
|
|
import { updateGroupUserAccount } from '@/api/enterprise'
|
|
|
-import { getDict } from '@/hooks/web/useDictionaries'
|
|
|
import { getUserAvatar } from '@/utils/avatar'
|
|
|
import { uploadFile } from '@/api/common'
|
|
|
import { getToken } from '@/utils/auth'
|
|
|
+import { dealEnterpriseName } from '@/utils/getText';
|
|
|
|
|
|
const { t } = useI18n()
|
|
|
const showBadge = ref(false) // 性别设置甲方要求已去掉
|
|
@@ -126,7 +126,7 @@ const tableData = ref([])
|
|
|
const treeData = ref([])
|
|
|
const headers = [
|
|
|
{ title: t('login.username'), key: 'name', sortable: false },
|
|
|
- { title: t('enterprise.userManagement.affiliatedEnterprise'), key: 'enterpriseAnotherName', sortable: false, value: item => item.enterpriseAnotherName || item.enterpriseName },
|
|
|
+ { title: t('enterprise.userManagement.affiliatedEnterprise'), key: 'enterpriseAnotherName', sortable: false, value: item => dealEnterpriseName(item.enterpriseAnotherName || item.enterpriseName) },
|
|
|
{ title: t('enterprise.userManagement.post'), key: 'postName', sortable: false },
|
|
|
{ title: t('enterprise.userManagement.phone'), key: 'phone', sortable: false },
|
|
|
{ title: t('enterprise.userManagement.email'), key: 'email', sortable: false },
|