Quellcode durchsuchen

文件菜单调整移动

lifanagju_citu vor 9 Monaten
Ursprung
Commit
0ced2db285

+ 2 - 2
src/layout/company/navBar.vue

@@ -117,7 +117,7 @@ const handleToVip = () => {
 const handleLogoClick = () => { window.open('/recruitHome') } // 点击logo
 
 const enterpriseClick = (tabKey = 1) => {
-  const path = '/recruit/enterprise/informationManagement/informationSettings'
+  const path = '/recruit/enterprise/entInfoSetting'
   router.push({ path, query: { tabKey } })
 }
 
@@ -131,7 +131,7 @@ const enterpriseList = ref([])
 const menuList = ref([
   // { title: t('enterprise.account.myAccount'), icon: 'mdi-account', change: () => router.push({ path: '/recruit/enterprise/memberCenter/myAccount' }) },
   // { title: t('vipPackage.purchasePackage'), icon: 'mdi-gift-outline', change: () => window.open('/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/staffInfoSetting' }) },
   // { 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('setting.switchToJobSeeker'), icon: 'mdi-swap-horizontal', change: handleLogout },

+ 21 - 30
src/router/modules/components/recruit/enterprise.js

@@ -194,36 +194,6 @@ const enterprise = [
       }
     ]
   },
-  {
-    path: '/recruit/enterprise/informationManagement',
-    component: Layout,
-    redirect: '/recruit/enterprise/informationManagement/informationSettings',
-    name: 'informationManagement',
-    meta: {
-      title: '信息管理',
-      enName: 'Information Management',
-      icon: 'mdi-tune'
-    },
-    children: [
-      {
-        path: '/recruit/enterprise/informationManagement/informationSettings',
-        meta: {
-          title: '企业信息设置',
-          isAdmin: true,
-          enName: 'Enterprise Information Settings'
-        },
-        component: () => import('@/views/recruit/enterprise/informationManagement/informationSettings.vue')
-      },
-      {
-        path: '/recruit/enterprise/informationSettings',
-        meta: {
-          title: '个人信息设置',
-          enName: 'Personal information settings'
-        },
-        component: () => import('@/views/recruit/enterprise/informationSetting/index.vue')
-      }
-    ]
-  },
   {
     path: '/recruit/enterprise/systemManagement',
     component: Layout,
@@ -236,6 +206,7 @@ const enterprise = [
       isAdmin: true // 企业管理员菜单
     },
     children: [
+      // 集团 
       {
         path: '/recruit/enterprise/systemManagement/groupAccount',
         meta: {
@@ -262,6 +233,8 @@ const enterprise = [
       //   },
       //   component: () => import('@/views/recruit/enterprise/systemManagement/userManagement/index.vue')
       // },
+
+      // 岗位管理 
       {
         path: '/recruit/enterprise/systemManagement/postManagement',
         meta: {
@@ -286,6 +259,24 @@ const enterprise = [
         },
         component: () => import('@/views/recruit/enterprise/systemManagement/postManagement/save.vue')
       },
+      // 企业信息 
+      {
+        path: '/recruit/enterprise/entInfoSetting',
+        meta: {
+          title: '企业信息',
+          enName: 'Group Account '
+        },
+        component: () => import('@/views/recruit/enterprise/entInfoSetting/index.vue')
+      },
+      // 员工信息 
+      {
+        path: '/recruit/enterprise/staffInfoSetting',
+        meta: {
+          title: '员工信息',
+          enName: 'Group Account '
+        },
+        component: () => import('@/views/recruit/enterprise/staffInfoSetting/index.vue')
+      },
     ]
   },
   {

+ 2 - 2
src/store/user.js

@@ -173,10 +173,10 @@ export const useUserStore = defineStore('user',
           const data = await getEnterpriseBaseInfo()
           // 检验必填信息
           const keyArr = ['industryId', 'financingStatus', 'scale', 'introduce', 'logoUrl'] // 必填信息列表
-          let href = '/recruit/enterprise/informationManagement/informationSettings'
+          let href = '/recruit/enterprise/entInfoSetting'
           const valid = Object.keys(data).length && keyArr.every(e => {
             const bool = data[e] && data[e] !== 0
-            if (!bool && e === 'logoUrl') href = '/recruit/enterprise/informationManagement/informationSettings?tabKey=2'
+            if (!bool && e === 'logoUrl') href = '/recruit/enterprise/entInfoSetting?tabKey=2'
             return bool
           })
           if (!valid) {

+ 0 - 0
src/views/recruit/enterprise/informationManagement/informationSettings.vue → src/views/recruit/enterprise/entInfoSetting/index.vue


+ 0 - 0
src/views/recruit/enterprise/informationManagement/informationSettingsComponents/authentication.vue → src/views/recruit/enterprise/entInfoSetting/informationSettingsComponents/authentication.vue


+ 0 - 0
src/views/recruit/enterprise/informationManagement/informationSettingsComponents/basicInfo.vue → src/views/recruit/enterprise/entInfoSetting/informationSettingsComponents/basicInfo.vue


+ 0 - 0
src/views/recruit/enterprise/informationManagement/informationSettingsComponents/businessInformation.vue → src/views/recruit/enterprise/entInfoSetting/informationSettingsComponents/businessInformation.vue


+ 0 - 0
src/views/recruit/enterprise/informationManagement/informationSettingsComponents/enterpriseAlbum.vue → src/views/recruit/enterprise/entInfoSetting/informationSettingsComponents/enterpriseAlbum.vue


+ 0 - 0
src/views/recruit/enterprise/informationManagement/informationSettingsComponents/enterpriseLabel.vue → src/views/recruit/enterprise/entInfoSetting/informationSettingsComponents/enterpriseLabel.vue


+ 0 - 0
src/views/recruit/enterprise/informationManagement/informationSettingsComponents/enterpriseLogo.vue → src/views/recruit/enterprise/entInfoSetting/informationSettingsComponents/enterpriseLogo.vue


+ 0 - 0
src/views/recruit/enterprise/informationManagement/informationSettingsComponents/welfareLabel.vue → src/views/recruit/enterprise/entInfoSetting/informationSettingsComponents/welfareLabel.vue


+ 0 - 0
src/views/recruit/enterprise/informationSetting/index.vue → src/views/recruit/enterprise/staffInfoSetting/index.vue