diff --git a/src/components/comNav/index.vue b/src/components/comNav/index.vue
index 24bc569..81c57eb 100644
--- a/src/components/comNav/index.vue
+++ b/src/components/comNav/index.vue
@@ -1,11 +1,54 @@
-
-
-
+
diff --git a/src/components/comNav/sideBar/menuItem.vue b/src/components/comNav/sideBar/menuItem.vue
index 84e200d..a25544c 100644
--- a/src/components/comNav/sideBar/menuItem.vue
+++ b/src/components/comNav/sideBar/menuItem.vue
@@ -1,7 +1,7 @@
-
+
@@ -11,7 +11,7 @@
{{ item.meta.title }}
-
+
@@ -26,14 +26,26 @@
\ No newline at end of file
diff --git a/src/components/comNav/sideBar/subMenu.vue b/src/components/comNav/sideBar/subMenu.vue
index dc11526..f4167dc 100644
--- a/src/components/comNav/sideBar/subMenu.vue
+++ b/src/components/comNav/sideBar/subMenu.vue
@@ -2,22 +2,15 @@
-
diff --git a/src/main.ts b/src/main.ts
index 837458b..742f83a 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -2,7 +2,7 @@ import './assets/main.css'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
-
+import 'element-plus/dist/index.css'
import App from './App.vue'
import router from './router'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
diff --git a/src/router/index.ts b/src/router/index.ts
index dadce25..71664c4 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -1,4 +1,5 @@
import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'
+
const routes: Array = [
{
path: '/index',
@@ -7,21 +8,100 @@ const routes: Array = [
meta: {
title: '主页面',
keepAlive: true,
- AuthFlag: true
+ AuthFlag: true,
+ routeListRoot: true
},
- children:[{
-
- path: 'configuration',
- name: 'configuration',
- component: () => import('views/AppMain.vue'),
- meta: {
- title: '主页面',
- keepAlive: true,
- AuthFlag: true
+ children:[
+ {
+ path: 'swiperConfig',
+ name: 'swiperConfig',
+ component: () => import('views/configuration/swiperConfig.vue'),
+ meta: {
+ title: '轮播图配置',
+ keepAlive: true,
+ AuthFlag: true
+ }
},
- }
+ {
+ path: 'specialInformationConfiguration',
+ name: 'specialInformationConfiguration',
+ component: () => import('views/configuration/specialInformationConfiguration.vue'),
+ meta: {
+ title: '专题资讯配置',
+ keepAlive: true,
+ AuthFlag: true
+ }
+ },
+ {
+ path: 'privacyAgreement',
+ name: 'privacyAgreement',
+ component: () => import('views/configuration/privacyAgreement.vue'),
+ meta: {
+ title: '隐私协议模板管理',
+ keepAlive: true,
+ AuthFlag: true
+ }
+ },
+
+ {
+ path: 'enterpriseManagement',
+ name: 'enterpriseManagement',
+ component: () => import('views/enterpriseManagement/AppMain.vue'),
+ meta: {
+ title: '企业管理',
+ keepAlive: true,
+ AuthFlag: true
+ },
+ },
+
+ {
+ path: 'enterpriseType',
+ name: 'configuration',
+ component: () => import('views/enterpriseManagement/enterpriseType.vue'),
+ meta: {
+ title: '企业类型',
+ keepAlive: true,
+ AuthFlag: true
+ }
+ },
+ {
+ path: 'enterpriseEntryReview',
+ name: 'enterpriseEntryReview',
+ component: () => import('views/enterpriseManagement/enterpriseEntryReview.vue'),
+ meta: {
+ title: '企业入驻审核',
+ keepAlive: true,
+ AuthFlag: true
+ },
+
+ },
+ {
+ path: 'businessReview',
+ name: 'businessReview',
+ component: () => import('views/enterpriseManagement/businessReview.vue'),
+ meta: {
+ title: '企业业务开通审核',
+ keepAlive: true,
+ AuthFlag: true
+ }
+ },
+ {
+ path: 'enterpriseInfo',
+ name: 'enterpriseInfo',
+ component: () => import('views/enterpriseManagement/enterpriseInfo.vue'),
+ meta: {
+ title: '企业信息',
+ keepAlive: true,
+ AuthFlag: true
+ }
+ }
+
]
- }
+ },
+
+
+
+
]
const router = createRouter({
diff --git a/src/router/routerData.ts b/src/router/routerData.ts
new file mode 100644
index 0000000..9a60ac4
--- /dev/null
+++ b/src/router/routerData.ts
@@ -0,0 +1,106 @@
+export const list = [
+ {
+ name: "staticDefault_PathParent",
+ path: 'staticDefault_PathParent',
+ meta: {
+ title: '配置管理',
+ keepAlive: true,
+ AuthFlag: true
+ },
+ children: [
+ {
+ path: 'swiperConfig',
+ name: 'swiperConfig',
+ component: 'views/configuration/swiperConfig.vue',
+ meta: {
+ title: '轮播图配置',
+ keepAlive: true,
+ AuthFlag: true
+ }
+ },
+ {
+ path: 'specialInformationConfiguration',
+ name: 'specialInformationConfiguration',
+ component: 'views/configuration/specialInformationConfiguration.vue',
+ meta: {
+ title: '专题资讯配置',
+ keepAlive: true,
+ AuthFlag: true
+ }
+ },
+ {
+ path: 'privacyAgreement',
+ name: 'privacyAgreement',
+ component: 'views/configuration/privacyAgreement.vue',
+ meta: {
+ title: '隐私协议模板管理',
+ keepAlive: true,
+ AuthFlag: true
+ }
+ },
+ ]
+ },
+ {
+ name: "企业管理",
+ path: '',
+ meta: {
+ title: '轮播图配置',
+ keepAlive: true,
+ AuthFlag: true
+ },
+ children: [
+ {
+ path: 'enterpriseManagement',
+ name: 'enterpriseManagement',
+ component: 'views/enterpriseManagement/AppMain.vue',
+ meta: {
+ title: '企业管理',
+ keepAlive: true,
+ AuthFlag: true
+ },
+ },
+
+ {
+ path: 'enterpriseType',
+ name: 'configuration',
+ component: 'views/enterpriseManagement/enterpriseType.vue',
+ meta: {
+ title: '企业类型',
+ keepAlive: true,
+ AuthFlag: true
+ }
+ },
+ {
+ path: 'enterpriseEntryReview',
+ name: 'enterpriseEntryReview',
+ component: 'views/enterpriseManagement/enterpriseEntryReview.vue',
+ meta: {
+ title: '企业入驻审核',
+ keepAlive: true,
+ AuthFlag: true
+ },
+
+ },
+ {
+ path: 'businessReview',
+ name: 'businessReview',
+ component: 'views/enterpriseManagement/businessReview.vue',
+ meta: {
+ title: '企业业务开通审核',
+ keepAlive: true,
+ AuthFlag: true
+ }
+ },
+ {
+ path: 'enterpriseInfo',
+ name: 'enterpriseInfo',
+ component: 'views/enterpriseManagement/enterpriseInfo.vue',
+ meta: {
+ title: '企业信息',
+ keepAlive: true,
+ AuthFlag: true
+ }
+ }
+ ]
+ }
+]
\ No newline at end of file
diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue
index d5c0217..92684cb 100644
--- a/src/views/HomeView.vue
+++ b/src/views/HomeView.vue
@@ -1,9 +1,9 @@
-
-
-
-
-
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/configuration/index.vue b/src/views/configuration/index.vue
new file mode 100644
index 0000000..6c8c710
--- /dev/null
+++ b/src/views/configuration/index.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/configuration/privacyAgreement.vue b/src/views/configuration/privacyAgreement.vue
index e69de29..fc3d19d 100644
--- a/src/views/configuration/privacyAgreement.vue
+++ b/src/views/configuration/privacyAgreement.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/configuration/specialInformationConfiguration.vue b/src/views/configuration/specialInformationConfiguration.vue
new file mode 100644
index 0000000..fc3d19d
--- /dev/null
+++ b/src/views/configuration/specialInformationConfiguration.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/configuration/specialTopic.vue b/src/views/configuration/specialTopic.vue
deleted file mode 100644
index e69de29..0000000
diff --git a/src/views/configuration/swiperConfig.vue b/src/views/configuration/swiperConfig.vue
index e69de29..fc3d19d 100644
--- a/src/views/configuration/swiperConfig.vue
+++ b/src/views/configuration/swiperConfig.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/enterpriseManagement/businessReview.vue b/src/views/enterpriseManagement/businessReview.vue
new file mode 100644
index 0000000..fc3d19d
--- /dev/null
+++ b/src/views/enterpriseManagement/businessReview.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/enterpriseManagement/enterpriseEntryReview.vue b/src/views/enterpriseManagement/enterpriseEntryReview.vue
new file mode 100644
index 0000000..fc3d19d
--- /dev/null
+++ b/src/views/enterpriseManagement/enterpriseEntryReview.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/enterpriseManagement/enterpriseInfo.vue b/src/views/enterpriseManagement/enterpriseInfo.vue
new file mode 100644
index 0000000..fc3d19d
--- /dev/null
+++ b/src/views/enterpriseManagement/enterpriseInfo.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/enterpriseManagement/enterpriseType.vue b/src/views/enterpriseManagement/enterpriseType.vue
new file mode 100644
index 0000000..fc3d19d
--- /dev/null
+++ b/src/views/enterpriseManagement/enterpriseType.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/enterpriseManagement/index.vue b/src/views/enterpriseManagement/index.vue
new file mode 100644
index 0000000..6c8c710
--- /dev/null
+++ b/src/views/enterpriseManagement/index.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/test/Index.vue b/src/views/test/Index.vue
index 763bfb7..a4a40ad 100644
--- a/src/views/test/Index.vue
+++ b/src/views/test/Index.vue
@@ -1,9 +1,9 @@
-
+
-
+