Browse Source

提交相关代码

Lijy 1 day ago
parent
commit
7df204e9ad

+ 44 - 41
fhKeeper/formulahousekeeper/course-pc/src/routes.js

@@ -10,13 +10,16 @@ import PdfView from './views/pdf/pdfview';
 import courselist from './views/coursemanagement/list';
 import lecturerList from './views/lecturerManagement/index.vue'
 import offlineTraining from './views/offlineTraining/offlineTraining.vue'
-import examCertification from './views/examCertification/examCertification.vue'
 import gcpCertification from './views/gcpCertification/gcpCertification.vue'
 import offlineRegistration from './views/offlineRegistration/registration.vue'
 import hotTopicCarousel from './views/hotTopicCarousel/hotTopicCarousel.vue'
 import myMessage from './views/myMessage/myMessage.vue'
 import customerServiceCenter from './views/customerServiceCenter/customerServiceCenter.vue'
 
+// 考试管理
+import examCertification from './views/examinationManagement/examCertification.vue' // 考试拿证流程介绍
+import examinationInformation from './views/examinationManagement/examinationInformation.vue' // 考试信息管理
+
 Vue.use(Router)
 
 export const allRouters = [
@@ -59,80 +62,80 @@ export const allRouters = [
         ]
     },
     {
-        path: '/404',
-        component: NotFound,
-        name: '',
-        hidden: true
-    },
-    {
-        path: '/exam-certification',
+        path: '/hotTopic-carousel',
         component: Home,
-        name: '考试拿证流程介绍',
+        name: '轮播热点内容',
         iconCls: 'iconfont firerock-iconkehu',
         leaf: true,
         children: [
-            { path: '/exam-certification', component: examCertification, name: '考试拿证流程介绍' },
+            { path: '/hotTopic-carousel', component: hotTopicCarousel, name: '轮播热点内容' }
         ]
     },
     {
-        path: '/offline-training',
+        path: '/gcpc-certification',
         component: Home,
-        name: '线下研修班',
+        name: 'GCP证书展示',
         iconCls: 'iconfont firerock-iconkehu',
         leaf: true,
         children: [
-            { path: '/offline-training', component: offlineTraining, name: '线下研修班' }
+            { path: '/gcpc-certification', component: gcpCertification, name: 'GCP证书展示' }
         ]
     },
     {
-        path: '/offline-registration',
+        path: '/',
         component: Home,
-        name: '线下研修班报名',
-        iconCls: 'iconfont firerock-iconkehu',
-        leaf: true,
+        name: '考试管理',
+        iconCls: 'iconfont firerock-iconsetting',
+        leaf: false,//只有一个节点
         children: [
-            { path: '/offline-registration', component: offlineRegistration, name: '线下研修班报名' }
+            { path: '/exam-certification', component: examCertification, name: '考试拿证流程介绍' },
+            { path: '/examination-information', component: examinationInformation, name: '考试信息管理' },
+            { path: '/exam-certification', component: examCertification, name: '考试报名审核' },
+            { path: '/exam-certification', component: examCertification, name: '考试结果管理' },
+            { path: '/exam-certification', component: examCertification, name: '证书管理' },
         ]
     },
     {
-        path: '/hotTopic-carousel',
+        path: '/',
         component: Home,
-        name: '轮播热点内容',
-        iconCls: 'iconfont firerock-iconkehu',
-        leaf: true,
+        name: '研修班管理',
+        iconCls: 'iconfont firerock-iconsetting',
+        leaf: false,//只有一个节点
         children: [
-            { path: '/hotTopic-carousel', component: hotTopicCarousel, name: '轮播热点内容' }
+            { path: '/offline-training', component: offlineTraining, name: '线下研修班' },
+            { path: '/offline-registration', component: offlineRegistration, name: '线下研修班报名' },
+            { path: '/offline-registration', component: offlineRegistration, name: '学员名单表格' },
+            { path: '/offline-registration', component: offlineRegistration, name: '学员缴费情况表' },
         ]
     },
     {
-        path: '/gcpc-certification',
+        path: '/',
         component: Home,
-        name: 'GCP证书展示',
-        iconCls: 'iconfont firerock-iconkehu',
-        leaf: true,
+        name: '用户与消息管理',
+        iconCls: 'iconfont firerock-iconsetting',
+        leaf: false,//只有一个节点
         children: [
-            { path: '/gcpc-certification', component: gcpCertification, name: 'GCP证书展示' }
+            { path: '/my-message', component: myMessage, name: '我的消息' },
+            { path: '/customer-service-center', component: customerServiceCenter, name: '客服中心' },
+            { path: '/my-message', component: myMessage, name: '用户管理' },
         ]
     },
     {
-        path: '/my-message',
+        path: '/',
         component: Home,
-        name: '我的消息',
-        iconCls: 'iconfont firerock-iconkehu',
-        leaf: true,
+        name: '订单与财务管理',
+        iconCls: 'iconfont firerock-iconsetting',
+        leaf: false,//只有一个节点
         children: [
-            { path: '/my-message', component: myMessage, name: '我的消息' }
+            { path: '/my-message', component: myMessage, name: '订单管理' },
+            { path: '/customer-service-center', component: customerServiceCenter, name: '电子发票登记表' },
         ]
     },
     {
-        path: '/customer-service-center',
-        component: Home,
-        name: '客服中心',
-        iconCls: 'iconfont firerock-iconkehu',
-        leaf: true,
-        children: [
-            { path: '/customer-service-center', component: customerServiceCenter, name: '客服中心' }
-        ]
+        path: '/404',
+        component: NotFound,
+        name: '',
+        hidden: true
     },
     {
         path: '*',

+ 4 - 0
fhKeeper/formulahousekeeper/course-pc/src/views/Home.vue

@@ -369,6 +369,10 @@
             },
         },
         mounted() {
+
+            console.log(this.$router.options.routes)
+            console.log(this.$route.path)
+            
             let height = window.innerHeight;
             this.tableHeight = height - 15;
             const that = this;

fhKeeper/formulahousekeeper/course-pc/src/views/examCertification/examCertification.vue → fhKeeper/formulahousekeeper/course-pc/src/views/examinationManagement/examCertification.vue


+ 26 - 0
fhKeeper/formulahousekeeper/course-pc/src/views/examinationManagement/examinationInformation.vue

@@ -0,0 +1,26 @@
+<template>
+  <div>
+    考试信息管理
+  </div>
+</template>
+
+<script>
+export default {
+  props: {},
+  components: {},
+  data() {
+    return {
+
+    };
+  },
+  computed: {},
+  watch: {},
+  created() {},
+  mounted() {},
+  methods: {},
+};
+</script>
+
+<style scoped lang="scss">
+
+</style>