guhongwei 4 年之前
父節點
當前提交
543218f37f
共有 33 個文件被更改,包括 274 次插入166 次删除
  1. 81 62
      src/components/common/Sidebar.vue
  2. 117 104
      src/router/index.js
  3. 0 0
      src/views/userCenter/ONE/perfectData/index.vue
  4. 0 0
      src/views/userCenter/ONE/perfectData/parts/basic.vue
  5. 0 0
      src/views/userCenter/ONE/perfectData/parts/brief.vue
  6. 0 0
      src/views/userCenter/ONE/perfectData/parts/datalists.vue
  7. 0 0
      src/views/userCenter/ONE/perfectData/parts/research.vue
  8. 0 0
      src/views/userCenter/ONE/perfectData/update.vue
  9. 0 0
      src/views/userCenter/ONE/userCert/alreadyCert.vue
  10. 0 0
      src/views/userCenter/ONE/userCert/readyCert.vue
  11. 0 0
      src/views/userCenter/ONE/userExamine/detail.vue
  12. 0 0
      src/views/userCenter/ONE/userExamine/firstApply.vue
  13. 0 0
      src/views/userCenter/ONE/userExamine/parts/basic.vue
  14. 0 0
      src/views/userCenter/ONE/userExamine/parts/brief.vue
  15. 0 0
      src/views/userCenter/ONE/userExamine/parts/datalists.vue
  16. 0 0
      src/views/userCenter/ONE/userExamine/parts/research.vue
  17. 0 0
      src/views/userCenter/ONE/userExamine/update.vue
  18. 0 0
      src/views/userCenter/ONE/userExamine/updateApply.vue
  19. 0 0
      src/views/userCenter/ONE/userMeet/detail.vue
  20. 0 0
      src/views/userCenter/ONE/userMeet/expertMeet.vue
  21. 0 0
      src/views/userCenter/ONE/userMeet/expertPay.vue
  22. 0 0
      src/views/userCenter/ONE/userMeet/noExpertMeet.vue
  23. 0 0
      src/views/userCenter/ONE/userScore/detail.vue
  24. 0 0
      src/views/userCenter/ONE/userScore/expertExam.vue
  25. 0 0
      src/views/userCenter/ONE/userScore/expertOpinion.vue
  26. 0 0
      src/views/userCenter/ONE/userScore/noExpertScore.vue
  27. 0 0
      src/views/userCenter/ONE/userScore/parts/basic.vue
  28. 0 0
      src/views/userCenter/ONE/userScore/parts/brief.vue
  29. 0 0
      src/views/userCenter/ONE/userScore/parts/datalists.vue
  30. 0 0
      src/views/userCenter/ONE/userScore/parts/research.vue
  31. 0 0
      src/views/userCenter/ONE/userScore/update.vue
  32. 38 0
      src/views/userCenter/userMydeclare/nowDeclare.vue
  33. 38 0
      src/views/userCenter/userMydeclare/pastDeclare.vue

+ 81 - 62
src/components/common/Sidebar.vue

@@ -105,78 +105,97 @@ export default {
         list.push(...data);
         this.$set(this, `items`, _.uniqBy(list, 'index'));
       } else {
+        // let data = [
+        //   {
+        //     icon: 'el-icon-eleme',
+        //     index: '2',
+        //     title: '申请书管理',
+        //     subs: [
+        //       {
+        //         icon: 'el-icon-eleme',
+        //         index: '/firstApply',
+        //         title: '待审中',
+        //       },
+        //       {
+        //         icon: 'el-icon-eleme',
+        //         index: '/updateApply',
+        //         title: '审核未通过',
+        //       },
+        //     ],
+        //   },
+        //   {
+        //     icon: 'el-icon-eleme',
+        //     index: '3',
+        //     title: '专家评分',
+        //     subs: [
+        //       {
+        //         icon: 'el-icon-eleme',
+        //         index: '/expertExam',
+        //         title: '待评分',
+        //       },
+        //       {
+        //         icon: 'el-icon-eleme',
+        //         index: '/noExpertScore',
+        //         title: '评分审核未通过',
+        //       },
+        //     ],
+        //   },
+        //   {
+        //     icon: 'el-icon-eleme',
+        //     index: '4',
+        //     title: '专家会审管理',
+        //     subs: [
+        //       {
+        //         icon: 'el-icon-eleme',
+        //         index: '/expertPay',
+        //         title: '待缴费',
+        //       },
+        //       {
+        //         icon: 'el-icon-eleme',
+        //         index: '/expertMeet',
+        //         title: '待会审',
+        //       },
+        //       {
+        //         icon: 'el-icon-eleme',
+        //         index: '/noExpertMeet',
+        //         title: '会审未通过',
+        //       },
+        //     ],
+        //   },
+        //   { icon: 'el-icon-eleme', index: '/perfectData', title: '完善资料' },
+        //   {
+        //     icon: 'el-icon-eleme',
+        //     index: '6',
+        //     title: '证书管理',
+        //     subs: [
+        //       {
+        //         icon: 'el-icon-eleme',
+        //         index: '/readyCert',
+        //         title: '待发证书',
+        //       },
+        //       {
+        //         icon: 'el-icon-eleme',
+        //         index: '/alreadyCert',
+        //         title: '已发证书',
+        //       },
+        //     ],
+        //   },
+        // ];
         let data = [
           {
             icon: 'el-icon-eleme',
             index: '2',
-            title: '申请书管理',
+            title: '我的申报',
             subs: [
               {
                 icon: 'el-icon-eleme',
-                index: '/firstApply',
-                title: '待审中',
+                index: '/nowDeclare',
+                title: '申报中',
               },
               {
                 icon: 'el-icon-eleme',
-                index: '/updateApply',
-                title: '审核未通过',
-              },
-            ],
-          },
-          {
-            icon: 'el-icon-eleme',
-            index: '3',
-            title: '专家评分',
-            subs: [
-              {
-                icon: 'el-icon-eleme',
-                index: '/expertExam',
-                title: '待评分',
-              },
-              {
-                icon: 'el-icon-eleme',
-                index: '/noExpertScore',
-                title: '评分审核未通过',
-              },
-            ],
-          },
-          {
-            icon: 'el-icon-eleme',
-            index: '4',
-            title: '专家会审管理',
-            subs: [
-              {
-                icon: 'el-icon-eleme',
-                index: '/expertPay',
-                title: '待缴费',
-              },
-              {
-                icon: 'el-icon-eleme',
-                index: '/expertMeet',
-                title: '待会审',
-              },
-              {
-                icon: 'el-icon-eleme',
-                index: '/noExpertMeet',
-                title: '会审未通过',
-              },
-            ],
-          },
-          { icon: 'el-icon-eleme', index: '/perfectData', title: '完善资料' },
-          {
-            icon: 'el-icon-eleme',
-            index: '6',
-            title: '证书管理',
-            subs: [
-              {
-                icon: 'el-icon-eleme',
-                index: '/readyCert',
-                title: '待发证书',
-              },
-              {
-                icon: 'el-icon-eleme',
-                index: '/alreadyCert',
-                title: '已发证书',
+                index: '/pastDeclare',
+                title: '已往申报',
               },
             ],
           },

+ 117 - 104
src/router/index.js

@@ -87,37 +87,10 @@ export default new Router({
           component: () => import('../views/adminCenter/adminHaveCert/index.vue'),
           meta: { title: '已证书发放' },
         },
-        // 用户中心
-        // 申请书
-        // 待审中
-        {
-          path: '/firstApply',
-          component: () => import('../views/userCenter/userExamine/firstApply.vue'),
-          meta: { title: '待审中' },
-        },
-        // 审核未通过
         {
-          path: '/updateApply',
-          component: () => import('../views/userCenter/userExamine/updateApply.vue'),
-          meta: { title: '审核未通过' },
-        },
-        // 审核意见查看
-        {
-          path: '/userExamine/detail',
-          component: () => import('../views/userCenter/userExamine/detail.vue'),
-          meta: { title: '审核意见查看' },
-        },
-        // 修改申请书
-        {
-          path: '/userExamine/update',
-          component: () => import('../views/userCenter/userExamine/update.vue'),
-          meta: { title: '修改申请书' },
-        },
-        // 评分总结
-        {
-          path: '/expertExam',
-          component: () => import('../views/userCenter/userScore/expertExam.vue'),
-          meta: { title: '待专家评分' },
+          path: '/adminApplyExpert',
+          component: () => import('../views/adminCenter/adminApplyExpert/index.vue'),
+          meta: { title: '已发证书' },
         },
         // 专家评分列表
         {
@@ -131,82 +104,122 @@ export default new Router({
           component: () => import('../views/expertCenter/meet/index.vue'),
           meta: { title: '专家会审' },
         },
-        // 评分审核未通过
-        {
-          path: '/noExpertScore',
-          component: () => import('../views/userCenter/userScore/noExpertScore.vue'),
-          meta: { title: '评分审核未通过' },
-        },
-        // 评分审核意见查看
-        {
-          path: '/userScore/detail',
-          component: () => import('../views/userCenter/userScore/detail.vue'),
-          meta: { title: '评分审核意见查看' },
-        },
-        // 专家评分意见查看
-        {
-          path: '/userScore/expertOpinion',
-          component: () => import('../views/userCenter/userScore/expertOpinion.vue'),
-          meta: { title: '专家评分意见查看' },
-        },
+        // 用户中心
+        // 申请书
+        // // 待审中
+        // {
+        //   path: '/firstApply',
+        //   component: () => import('../views/userCenter/userExamine/firstApply.vue'),
+        //   meta: { title: '待审中' },
+        // },
+        // // 审核未通过
+        // {
+        //   path: '/updateApply',
+        //   component: () => import('../views/userCenter/userExamine/updateApply.vue'),
+        //   meta: { title: '审核未通过' },
+        // },
+        // // 审核意见查看
+        // {
+        //   path: '/userExamine/detail',
+        //   component: () => import('../views/userCenter/userExamine/detail.vue'),
+        //   meta: { title: '审核意见查看' },
+        // },
+        // // 修改申请书
+        // {
+        //   path: '/userExamine/update',
+        //   component: () => import('../views/userCenter/userExamine/update.vue'),
+        //   meta: { title: '修改申请书' },
+        // },
+        // // 评分总结
+        // {
+        //   path: '/expertExam',
+        //   component: () => import('../views/userCenter/userScore/expertExam.vue'),
+        //   meta: { title: '待专家评分' },
+        // },
+        // // 评分审核未通过
+        // {
+        //   path: '/noExpertScore',
+        //   component: () => import('../views/userCenter/userScore/noExpertScore.vue'),
+        //   meta: { title: '评分审核未通过' },
+        // },
+        // // 评分审核意见查看
+        // {
+        //   path: '/userScore/detail',
+        //   component: () => import('../views/userCenter/userScore/detail.vue'),
+        //   meta: { title: '评分审核意见查看' },
+        // },
+        // // 专家评分意见查看
+        // {
+        //   path: '/userScore/expertOpinion',
+        //   component: () => import('../views/userCenter/userScore/expertOpinion.vue'),
+        //   meta: { title: '专家评分意见查看' },
+        // },
 
-        // 评分修改申请书
-        {
-          path: '/userScore/update',
-          component: () => import('../views/userCenter/userScore/update.vue'),
-          meta: { title: '评分修改申请书' },
-        },
-        // 专家会审
-        // 待缴费
+        // // 评分修改申请书
+        // {
+        //   path: '/userScore/update',
+        //   component: () => import('../views/userCenter/userScore/update.vue'),
+        //   meta: { title: '评分修改申请书' },
+        // },
+        // // 专家会审
+        // // 待缴费
 
-        {
-          path: '/expertPay',
-          component: () => import('../views/userCenter/userMeet/expertPay.vue'),
-          meta: { title: '待缴费' },
-        },
-        // 待会审
-        {
-          path: '/expertMeet',
-          component: () => import('../views/userCenter/userMeet/expertMeet.vue'),
-          meta: { title: '待专家评分' },
-        },
-        // 会审未通过
-        {
-          path: '/noExpertMeet',
-          component: () => import('../views/userCenter/userMeet/noExpertMeet.vue'),
-          meta: { title: '会审未通过' },
-        },
-        {
-          path: '/userMeet/detail',
-          component: () => import('../views/userCenter/userMeet/detail.vue'),
-          meta: { title: '会审意见查看' },
-        },
-        // 完善资料
-        {
-          path: '/perfectData',
-          component: () => import('../views/userCenter/perfectData/index.vue'),
-          meta: { title: '完善资料' },
-        },
-        {
-          path: '/perfectData/update',
-          component: () => import('../views/userCenter/perfectData/update.vue'),
-          meta: { title: '资料信息管理' },
-        },
-        // 证书发放
-        {
-          path: '/readyCert',
-          component: () => import('../views/userCenter/userCert/readyCert.vue'),
-          meta: { title: '待发证书' },
-        },
-        {
-          path: '/alreadyCert',
-          component: () => import('../views/userCenter/userCert/alreadyCert.vue'),
-          meta: { title: '已发证书' },
-        },
-        {
-          path: '/adminApplyExpert',
-          component: () => import('../views/adminCenter/adminApplyExpert/index.vue'),
-          meta: { title: '已发证书' },
+        // {
+        //   path: '/expertPay',
+        //   component: () => import('../views/userCenter/userMeet/expertPay.vue'),
+        //   meta: { title: '待缴费' },
+        // },
+        // // 待会审
+        // {
+        //   path: '/expertMeet',
+        //   component: () => import('../views/userCenter/userMeet/expertMeet.vue'),
+        //   meta: { title: '待专家评分' },
+        // },
+        // // 会审未通过
+        // {
+        //   path: '/noExpertMeet',
+        //   component: () => import('../views/userCenter/userMeet/noExpertMeet.vue'),
+        //   meta: { title: '会审未通过' },
+        // },
+        // {
+        //   path: '/userMeet/detail',
+        //   component: () => import('../views/userCenter/userMeet/detail.vue'),
+        //   meta: { title: '会审意见查看' },
+        // },
+        // // 完善资料
+        // {
+        //   path: '/perfectData',
+        //   component: () => import('../views/userCenter/perfectData/index.vue'),
+        //   meta: { title: '完善资料' },
+        // },
+        // {
+        //   path: '/perfectData/update',
+        //   component: () => import('../views/userCenter/perfectData/update.vue'),
+        //   meta: { title: '资料信息管理' },
+        // },
+        // // 证书发放
+        // {
+        //   path: '/readyCert',
+        //   component: () => import('../views/userCenter/userCert/readyCert.vue'),
+        //   meta: { title: '待发证书' },
+        // },
+        // {
+        //   path: '/alreadyCert',
+        //   component: () => import('../views/userCenter/userCert/alreadyCert.vue'),
+        //   meta: { title: '已发证书' },
+        // },
+        // 我的申报
+        // 申报中
+        {
+          path: '/nowDeclare',
+          component: () => import('../views/userCenter/userMydeclare/nowDeclare.vue'),
+          meta: { title: '申报中' },
+        },
+        // 已往申报
+        {
+          path: '/pastDeclare',
+          component: () => import('../views/userCenter/userMydeclare/pastDeclare.vue'),
+          meta: { title: '申报中' },
         },
       ],
     },

src/views/userCenter/perfectData/index.vue → src/views/userCenter/ONE/perfectData/index.vue


src/views/userCenter/perfectData/parts/basic.vue → src/views/userCenter/ONE/perfectData/parts/basic.vue


src/views/userCenter/perfectData/parts/brief.vue → src/views/userCenter/ONE/perfectData/parts/brief.vue


src/views/userCenter/perfectData/parts/datalists.vue → src/views/userCenter/ONE/perfectData/parts/datalists.vue


src/views/userCenter/perfectData/parts/research.vue → src/views/userCenter/ONE/perfectData/parts/research.vue


src/views/userCenter/perfectData/update.vue → src/views/userCenter/ONE/perfectData/update.vue


src/views/userCenter/userCert/alreadyCert.vue → src/views/userCenter/ONE/userCert/alreadyCert.vue


src/views/userCenter/userCert/readyCert.vue → src/views/userCenter/ONE/userCert/readyCert.vue


src/views/userCenter/userExamine/detail.vue → src/views/userCenter/ONE/userExamine/detail.vue


src/views/userCenter/userExamine/firstApply.vue → src/views/userCenter/ONE/userExamine/firstApply.vue


src/views/userCenter/userExamine/parts/basic.vue → src/views/userCenter/ONE/userExamine/parts/basic.vue


src/views/userCenter/userExamine/parts/brief.vue → src/views/userCenter/ONE/userExamine/parts/brief.vue


src/views/userCenter/userExamine/parts/datalists.vue → src/views/userCenter/ONE/userExamine/parts/datalists.vue


src/views/userCenter/userExamine/parts/research.vue → src/views/userCenter/ONE/userExamine/parts/research.vue


src/views/userCenter/userExamine/update.vue → src/views/userCenter/ONE/userExamine/update.vue


src/views/userCenter/userExamine/updateApply.vue → src/views/userCenter/ONE/userExamine/updateApply.vue


src/views/userCenter/userMeet/detail.vue → src/views/userCenter/ONE/userMeet/detail.vue


src/views/userCenter/userMeet/expertMeet.vue → src/views/userCenter/ONE/userMeet/expertMeet.vue


src/views/userCenter/userMeet/expertPay.vue → src/views/userCenter/ONE/userMeet/expertPay.vue


src/views/userCenter/userMeet/noExpertMeet.vue → src/views/userCenter/ONE/userMeet/noExpertMeet.vue


src/views/userCenter/userScore/detail.vue → src/views/userCenter/ONE/userScore/detail.vue


src/views/userCenter/userScore/expertExam.vue → src/views/userCenter/ONE/userScore/expertExam.vue


src/views/userCenter/userScore/expertOpinion.vue → src/views/userCenter/ONE/userScore/expertOpinion.vue


src/views/userCenter/userScore/noExpertScore.vue → src/views/userCenter/ONE/userScore/noExpertScore.vue


src/views/userCenter/userScore/parts/basic.vue → src/views/userCenter/ONE/userScore/parts/basic.vue


src/views/userCenter/userScore/parts/brief.vue → src/views/userCenter/ONE/userScore/parts/brief.vue


src/views/userCenter/userScore/parts/datalists.vue → src/views/userCenter/ONE/userScore/parts/datalists.vue


src/views/userCenter/userScore/parts/research.vue → src/views/userCenter/ONE/userScore/parts/research.vue


src/views/userCenter/userScore/update.vue → src/views/userCenter/ONE/userScore/update.vue


+ 38 - 0
src/views/userCenter/userMydeclare/nowDeclare.vue

@@ -0,0 +1,38 @@
+<template>
+  <div id="nowDeclare">
+    <el-row>
+      <el-col :span="24" class="main">
+        test
+      </el-col>
+    </el-row>
+  </div>
+</template>
+
+<script>
+import { mapState, createNamespacedHelpers } from 'vuex';
+export default {
+  name: 'nowDeclare',
+  props: {},
+  components: {},
+  data: function() {
+    return {};
+  },
+  created() {},
+  methods: {},
+  computed: {
+    ...mapState(['user']),
+  },
+  metaInfo() {
+    return { title: this.$route.meta.title };
+  },
+  watch: {
+    test: {
+      deep: true,
+      immediate: true,
+      handler(val) {},
+    },
+  },
+};
+</script>
+
+<style lang="less" scoped></style>

+ 38 - 0
src/views/userCenter/userMydeclare/pastDeclare.vue

@@ -0,0 +1,38 @@
+<template>
+  <div id="pastDeclare">
+    <el-row>
+      <el-col :span="24" class="main">
+        test
+      </el-col>
+    </el-row>
+  </div>
+</template>
+
+<script>
+import { mapState, createNamespacedHelpers } from 'vuex';
+export default {
+  name: 'pastDeclare',
+  props: {},
+  components: {},
+  data: function() {
+    return {};
+  },
+  created() {},
+  methods: {},
+  computed: {
+    ...mapState(['user']),
+  },
+  metaInfo() {
+    return { title: this.$route.meta.title };
+  },
+  watch: {
+    test: {
+      deep: true,
+      immediate: true,
+      handler(val) {},
+    },
+  },
+};
+</script>
+
+<style lang="less" scoped></style>