|
@@ -76,7 +76,7 @@
|
|
|
</v-menu> -->
|
|
|
|
|
|
<!-- 消息通知 -->
|
|
|
- <MessageNotification class="commonHover2" path="/recruit/enterprise/invite/chatTools"></MessageNotification>
|
|
|
+ <MessageNotification class="commonHover2" path="/recruit/enterprise/chatTools"></MessageNotification>
|
|
|
</div>
|
|
|
</div>
|
|
|
</v-toolbar>
|
|
@@ -107,7 +107,7 @@ const showBall = ref(false)
|
|
|
const handleLogoClick = () => { window.open('/recruitHome') } // 点击logo
|
|
|
|
|
|
const enterpriseClick = (tabKey = 1) => {
|
|
|
- const path = '/recruit/enterprise/systemManagement/entInfoSetting'
|
|
|
+ const path = '/recruit/enterprise/entInfoSetting'
|
|
|
router.push({ path, query: { tabKey } })
|
|
|
}
|
|
|
|
|
@@ -118,7 +118,7 @@ const handleLogout = async (exit = true) => {
|
|
|
}
|
|
|
|
|
|
const menuList = ref([
|
|
|
- { title: t('setting.editPassword'), icon: 'mdi-shield-lock-open-outline', key: 'editPassword', change: () => router.push({ path: '/recruit/enterprise/systemManagement/staffChangePassword' }) },
|
|
|
+ { title: t('setting.editPassword'), icon: 'mdi-shield-lock-open-outline', key: 'editPassword', change: () => router.push({ path: '/recruit/enterprise/staffChangePassword' }) },
|
|
|
{ title: t('setting.logOut'), icon: 'mdi-logout', change: handleLogout }
|
|
|
])
|
|
|
const items = computed(() => {
|
|
@@ -163,14 +163,14 @@ const hasRoute = (path) => {
|
|
|
})
|
|
|
}
|
|
|
// 没有权限访问时,隐藏菜单
|
|
|
-if (!hasRoute('/recruit/enterprise/systemManagement/staffChangePassword')) {
|
|
|
+if (!hasRoute('/recruit/enterprise/staffChangePassword')) {
|
|
|
menuList.value.find(e => e.key === 'editPassword').hidden = true
|
|
|
}
|
|
|
|
|
|
onMounted(() => {
|
|
|
if (getToken(1)) {
|
|
|
showBall.value = true
|
|
|
- localStorage.setItem('showEditPassword', hasRoute('/recruit/enterprise/systemManagement/staffChangePassword'))
|
|
|
+ localStorage.setItem('showEditPassword', hasRoute('/recruit/enterprise/staffChangePassword'))
|
|
|
}
|
|
|
})
|
|
|
|