|
@@ -13,15 +13,14 @@
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="d-flex user-nav">
|
|
<div class="d-flex user-nav">
|
|
- <!-- <a target="_blank" href="/recruit/enterprise/purchasePackage" class="cursor-pointer mr-5" style="font-size: 15px;color: #FB8C00;line-height: 40px;">{{ $t('vipPackage.purchasePackage') }}</a> -->
|
|
|
|
- <div class="d-flex align-center cursor-pointer" @click="handleEnterpriseClick">
|
|
|
|
|
|
+ <div class="d-flex align-center cursor-pointer">
|
|
<v-img @click="enterpriseClick(2)" rounded width="40" height="40" :src="baseInfo?.logoUrl || 'https://minio.citupro.com/dev/menduner/7.png'" ></v-img>
|
|
<v-img @click="enterpriseClick(2)" rounded width="40" height="40" :src="baseInfo?.logoUrl || 'https://minio.citupro.com/dev/menduner/7.png'" ></v-img>
|
|
<span @click="enterpriseClick(1)" class="ml-3">{{ baseInfo?.enterpriseAnotherName || $t('sys.tourist') }}</span>
|
|
<span @click="enterpriseClick(1)" class="ml-3">{{ baseInfo?.enterpriseAnotherName || $t('sys.tourist') }}</span>
|
|
</div>
|
|
</div>
|
|
<div class="line"></div>
|
|
<div class="line"></div>
|
|
<div class="d-flex align-center ml-6">
|
|
<div class="d-flex align-center ml-6">
|
|
- <div>{{ $t('enterprise.account.accountBalances') }}:{{ enterpriseUserAccount?.balance || 0 }}元</div>
|
|
|
|
- <div class="ml-5">{{ $t('enterprise.account.remainingPoints') }}:{{ enterpriseUserAccount?.point || 0 }}点</div>
|
|
|
|
|
|
+ <div class="cursor-pointer" @click="router.push({ path: '/recruit/enterprise/memberCenter/myPoints' })">{{ $t('enterprise.account.accountBalances') }}:{{ enterpriseUserAccount?.balance || 0 }}元</div>
|
|
|
|
+ <div class="ml-5 cursor-pointer" @click="router.push({ path: '/recruit/enterprise/memberCenter/myPoints' })">{{ $t('enterprise.account.remainingPoints') }}:{{ enterpriseUserAccount?.point || 0 }}点</div>
|
|
</div>
|
|
</div>
|
|
<div class="line"></div>
|
|
<div class="line"></div>
|
|
|
|
|
|
@@ -29,7 +28,7 @@
|
|
<div class="d-flex align-center" v-if="getToken()">
|
|
<div class="d-flex align-center" v-if="getToken()">
|
|
<v-menu open-on-hover>
|
|
<v-menu open-on-hover>
|
|
<template v-slot:activator="{ props }">
|
|
<template v-slot:activator="{ props }">
|
|
- <div class="d-flex ml-5 pl-2 align-center cursor-pointer" v-bind="props" @click="handleToPersonalCenter">
|
|
|
|
|
|
+ <div class="d-flex ml-5 pl-2 align-center cursor-pointer" v-bind="props">
|
|
<v-avatar>
|
|
<v-avatar>
|
|
<v-img alt="" :src="baseInfo?.avatar || 'https://minio.citupro.com/dev/menduner/7.png'"></v-img>
|
|
<v-img alt="" :src="baseInfo?.avatar || 'https://minio.citupro.com/dev/menduner/7.png'"></v-img>
|
|
</v-avatar>
|
|
</v-avatar>
|
|
@@ -107,12 +106,6 @@ defineProps({
|
|
|
|
|
|
const handleLogoClick = () => { router.push({ path: '/recruit/enterprise'}) }
|
|
const handleLogoClick = () => { router.push({ path: '/recruit/enterprise'}) }
|
|
|
|
|
|
-const handleToPersonalCenter = () => {
|
|
|
|
- // router.push({ path: '/recruit/personal/personalCenter' })
|
|
|
|
-}
|
|
|
|
-const handleEnterpriseClick = () => {
|
|
|
|
- // router.push({ path: '/recruit/enterprise/enterpriseCenter?key=mIntroduction' })
|
|
|
|
-}
|
|
|
|
const enterpriseClick = (tabKey = 1) => {
|
|
const enterpriseClick = (tabKey = 1) => {
|
|
const path = '/recruit/enterprise/informationManagement/informationSettings'
|
|
const path = '/recruit/enterprise/informationManagement/informationSettings'
|
|
router.push({ path, query: { tabKey } })
|
|
router.push({ path, query: { tabKey } })
|
|
@@ -126,12 +119,12 @@ const handleLogout = async () => {
|
|
const enterpriseList = ref([])
|
|
const enterpriseList = ref([])
|
|
|
|
|
|
const menuList = ref([
|
|
const menuList = ref([
|
|
|
|
+ { title: t('enterprise.account.myAccount'), icon: 'mdi-account', change: () => router.push({ path: '/recruit/enterprise/memberCenter/myPoints' }) },
|
|
{ title: t('vipPackage.purchasePackage'), icon: 'mdi-gift-outline', change: () => router.push({ path: '/recruit/enterprise/purchasePackage' }) },
|
|
{ title: t('vipPackage.purchasePackage'), icon: 'mdi-gift-outline', change: () => router.push({ path: '/recruit/enterprise/purchasePackage' }) },
|
|
{ title: t('enterprise.personalInformationSettings'), icon: 'mdi-account-cog', change: () => router.push({ path: '/recruit/enterprise/informationSettings' }) },
|
|
{ title: t('enterprise.personalInformationSettings'), icon: 'mdi-account-cog', change: () => router.push({ path: '/recruit/enterprise/informationSettings' }) },
|
|
{ title: t('setting.switchToOtherCompany'), icon: 'mdi-home-switch', hidden: enterpriseList.value?.length < 2, change: () => handleSwitchToAnotherEnterprise },
|
|
{ title: t('setting.switchToOtherCompany'), icon: 'mdi-home-switch', hidden: enterpriseList.value?.length < 2, change: () => handleSwitchToAnotherEnterprise },
|
|
{ title: t('enterprise.registeringNewEnterprise'), icon: 'mdi-home-plus-outline', change: () => handleRegisteringNewEnterprise },
|
|
{ title: t('enterprise.registeringNewEnterprise'), icon: 'mdi-home-plus-outline', change: () => handleRegisteringNewEnterprise },
|
|
{ title: t('setting.switchToJobSeeker'), icon: 'mdi-swap-horizontal', change: handleLogout },
|
|
{ title: t('setting.switchToJobSeeker'), icon: 'mdi-swap-horizontal', change: handleLogout },
|
|
- // { title: t('enterprise.account.myAccount'), icon: 'mdi-account', change: () => router.push({ path: '/recruit/enterprise/myAccount' }) },
|
|
|
|
{ title: t('setting.logOut'), icon: 'mdi-logout', change: handleLogout }
|
|
{ title: t('setting.logOut'), icon: 'mdi-logout', change: handleLogout }
|
|
])
|
|
])
|
|
const items = computed(() => {
|
|
const items = computed(() => {
|