guhongwei 4 years ago
parent
commit
db4b308c3d
3 changed files with 198 additions and 95 deletions
  1. 47 45
      dict/index.js
  2. 10 1
      src/components/adminCommon/frame.vue
  3. 141 49
      src/components/adminCommon/menu.js

+ 47 - 45
dict/index.js

@@ -1,51 +1,18 @@
-export const newsColumn = ['通知通告', '政务动态', '科技新闻', '媒体聚焦'];
-export const openColumn = [
-  { label: '科技项目评审', value: 'one' },
-  { label: '高企政策服务', value: 'two' },
-  { label: '创新券服务', value: 'thr' },
-  { label: '科技成果评价', value: 'four' },
-  { label: '专家智库', value: 'five' },
-  { label: '企业管理', value: 'six' },
-  { label: '机构管理', value: 'seven' },
-];
-
-export const productType = [
-  { label: '科技需求', value: '0' },
-  { label: '技术成果', value: '1' },
-  { label: '商务服务', value: '2' },
-];
+// 1-用户注册
 export const status = [
   { label: '注册', value: '0' },
   { label: '通过', value: '1' },
   { label: '拒绝', value: '2' },
 ];
-export const onlineType = ['线上培训', '线上新品发布', '线上展会', '线上科技产品宣传', '线上科普教育', '项目路演'];
-
-export const progressType = [
-  { label: '准备中', value: '0' },
-  { label: '进行中', value: '1' },
-  { label: '已结束', value: '2' },
-];
-
-export const policyType = ['研发补贴', '奖励兑现', '创新券'];
-export const policyStatus = [
-  { label: '待处理', value: '0' },
-  { label: '已通过', value: '1' },
-  { label: '已拒绝', value: '2' },
-];
-
-export const ticketType = [
-  { label: '资质审查中', value: '0' },
-  { label: '准备订单', value: '1' },
-  { label: '资质审查失败', value: '-1' },
-  { label: '待中介审核', value: '2' },
-  { label: '订单入库', value: '3' },
-  { label: '信息资料审查失败', value: '-3' },
-  { label: '高企认证成功', value: '4' },
-  { label: '创新券成功发放', value: '5' },
+// 2-新闻资讯
+export const newsColumn = ['通知通告', '政务动态', '科技新闻', '媒体聚焦'];
+// 3-技术超市
+export const productType = [
+  { label: '科技需求', value: '0' },
+  { label: '技术成果', value: '1' },
+  { label: '商务服务', value: '2' },
 ];
-
-// 所属领域
+// 3-所属领域
 export const field = [
   { label: '先进制造与自动化', value: '先进制造与自动化' },
   { label: '资源与环境技术', value: '资源与环境技术' },
@@ -55,14 +22,14 @@ export const field = [
   { label: '生物与新医药技术', value: '生物与新医药技术' },
   { label: '电子信息技术', value: '电子信息技术' },
 ];
-// 合作方式
+// 3-合作方式
 export const cooperation = [
   { label: '技术入股', value: '技术入股' },
   { label: '技术转让', value: '技术转让' },
   { label: '合作开发', value: '合作开发' },
   { label: '其他方式', value: '其他方式' },
 ];
-// 成果状态
+// 3-成果状态
 export const achievestatus = [
   { label: '产业化(成熟)技术', value: '产业化(成熟)技术' },
   { label: '中试技术', value: '中试技术' },
@@ -70,10 +37,45 @@ export const achievestatus = [
   { label: '实验室阶段', value: '实验室阶段' },
   { label: '原理样机', value: '原理样机' },
 ];
-// 成果来源
+// 3-成果来源
 export const achievesource = [
   { label: '国家项目', value: '国家项目' },
   { label: '省级项目', value: '省级项目' },
   { label: '市级项目', value: '市级项目' },
   { label: '自选项目', value: '自选项目' },
 ];
+
+// 4-宣传培训
+export const onlineType = ['线上培训', '线上新品发布', '线上展会', '线上科技产品宣传', '线上科普教育', '项目路演'];
+export const progressType = [
+  { label: '准备中', value: '0' },
+  { label: '进行中', value: '1' },
+  { label: '已结束', value: '2' },
+];
+// 4-信息公开
+export const openColumn = [
+  { label: '科技项目评审', value: 'one' },
+  { label: '高企政策服务', value: 'two' },
+  { label: '创新券服务', value: 'thr' },
+  { label: '科技成果评价', value: 'four' },
+  { label: '专家智库', value: 'five' },
+  { label: '企业管理', value: 'six' },
+  { label: '机构管理', value: 'seven' },
+];
+// 5-政策服务
+export const policyType = ['研发补贴', '奖励兑现', '创新券'];
+export const policyStatus = [
+  { label: '待处理', value: '0' },
+  { label: '已通过', value: '1' },
+  { label: '已拒绝', value: '2' },
+];
+// 6-高企申报状态
+export const ticketType = [
+  { label: '资质审查中', value: '0' },
+  { label: '准备订单', value: '1' },
+  { label: '资质审查失败', value: '-1' },
+  { label: '待中介审核', value: '2' },
+  { label: '订单入库', value: '3' },
+  { label: '信息资料审查失败', value: '-3' },
+  { label: '高企申报成功', value: '4' },
+];

+ 10 - 1
src/components/adminCommon/frame.vue

@@ -12,7 +12,15 @@
       </el-header>
       <el-container class="container">
         <el-aside width="200px" class="aside">
-          <el-menu class="sidebar-el-menu" :default-active="onRoutes" background-color="#242f42" text-color="#fff" active-text-color="#409eff" router>
+          <el-menu
+            class="sidebar-el-menu"
+            :default-active="onRoutes"
+            :unique-opened="unique"
+            background-color="#242f42"
+            text-color="#fff"
+            active-text-color="#409eff"
+            router
+          >
             <template v-for="item in items">
               <template v-if="item.subs">
                 <el-submenu class="second" :index="item.index" :key="item.index">
@@ -55,6 +63,7 @@ export default {
   components: {},
   data: function() {
     return {
+      unique: true,
       items: [
         {
           icon: 'iconindex-copy',

+ 141 - 49
src/components/adminCommon/menu.js

@@ -33,8 +33,8 @@ export const fwjg = [
       },
       {
         icon: 'el-icon-s-home',
-        index: '/adminCenter/product?type=0',
-        title: '科技需求',
+        index: '/adminCenter/patent',
+        title: 'e专利',
       },
       {
         icon: 'el-icon-s-home',
@@ -46,37 +46,51 @@ export const fwjg = [
   {
     icon: 'iconxinwenzixun',
     index: '/adminCenter/news',
-    title: '新闻管理',
-  },
-  {
-    icon: 'iconzhuanli',
-    index: '/adminCenter/patent',
-    title: '专利管理',
-  },
-  {
-    icon: 'iconxiangmuluyan',
-    index: '/adminCenter/roadShow',
-    title: '路演管理',
+    title: '新闻资讯管理',
   },
   {
     icon: 'iconpeixun',
-    index: '/adminCenter/online',
+    index: '4',
     title: '宣传培训管理',
-  },
-  {
-    icon: 'iconxinxiinformation38',
-    index: '/adminCenter/openinfo',
-    title: '信息公开管理',
+    subs: [
+      {
+        icon: 'el-icon-s-home',
+        index: '/adminCenter/online',
+        title: '信息发布',
+      },
+      {
+        icon: 'el-icon-s-home',
+        index: '/adminCenter/openinfo',
+        title: '信息公开',
+      },
+    ],
   },
   {
     icon: 'iconzhengce1',
-    index: '/adminCenter/policy',
-    title: '高企政策服务管理',
+    index: '5',
+    title: '政策服务管理',
+    subs: [
+      {
+        icon: 'el-icon-s-home',
+        index: '/adminCenter/policy?type=研发补贴',
+        title: '研发补贴',
+      },
+      {
+        icon: 'el-icon-s-home',
+        index: '/adminCenter/policy?type=奖励兑现',
+        title: '奖励兑现',
+      },
+      {
+        icon: 'el-icon-s-home',
+        index: '/adminCenter/policy?type=创新券',
+        title: '创新券',
+      },
+    ],
   },
   {
     icon: 'iconzhengce1',
-    index: '4',
-    title: '创新劵服务管理',
+    index: '6',
+    title: '高企申报管理',
     subs: [
       {
         icon: 'el-icon-s-home',
@@ -112,15 +126,110 @@ export const fwjg = [
       {
         icon: 'el-icon-s-home',
         index: '/adminCenter/ticket?status=4',
-        title: '高企认证成功',
-      },
-      {
-        icon: 'el-icon-s-home',
-        index: '/adminCenter/ticket?status=5',
-        title: '创新券管理',
+        title: '高企申报成功',
       },
     ],
   },
+  // {
+  //   icon: 'iconchaoshi1',
+  //   index: '3',
+  //   title: '技术超市管理',
+  //   subs: [
+  //     {
+  //       icon: 'el-icon-s-home',
+  //       index: '/adminCenter/product?type=1',
+  //       title: '技术成果',
+  //     },
+  //     {
+  //       icon: 'el-icon-s-home',
+  //       index: '/adminCenter/product?type=0',
+  //       title: '科技需求',
+  //     },
+  //     {
+  //       icon: 'el-icon-s-home',
+  //       index: '/adminCenter/product?type=2',
+  //       title: '商务服务',
+  //     },
+  //   ],
+  // },
+  // {
+  //   icon: 'iconxinwenzixun',
+  //   index: '/adminCenter/news',
+  //   title: '新闻管理',
+  // },
+  // {
+  //   icon: 'iconzhuanli',
+  //   index: '/adminCenter/patent',
+  //   title: '专利管理',
+  // },
+  // {
+  //   icon: 'iconxiangmuluyan',
+  //   index: '/adminCenter/roadShow',
+  //   title: '路演管理',
+  // },
+  // {
+  //   icon: 'iconpeixun',
+  //   index: '/adminCenter/online',
+  //   title: '宣传培训管理',
+  // },
+  // {
+  //   icon: 'iconxinxiinformation38',
+  //   index: '/adminCenter/openinfo',
+  //   title: '信息公开管理',
+  // },
+  // {
+  //   icon: 'iconzhengce1',
+  //   index: '/adminCenter/policy',
+  //   title: '高企政策服务管理',
+  // },
+  // {
+  //   icon: 'iconzhengce1',
+  //   index: '4',
+  //   title: '创新劵服务管理',
+  //   subs: [
+  //     {
+  //       icon: 'el-icon-s-home',
+  //       index: '/adminCenter/ticket?status=0',
+  //       title: '资质审查中',
+  //     },
+  //     {
+  //       icon: 'el-icon-s-home',
+  //       index: '/adminCenter/ticket?status=-1',
+  //       title: '资质审查失败',
+  //     },
+
+  //     {
+  //       icon: 'el-icon-s-home',
+  //       index: '/adminCenter/ticket?status=1',
+  //       title: '企业准备订单',
+  //     },
+  //     {
+  //       icon: 'el-icon-s-home',
+  //       index: '/adminCenter/ticket?status=2',
+  //       title: '信息资料审查中',
+  //     },
+  //     {
+  //       icon: 'el-icon-s-home',
+  //       index: '/adminCenter/ticket?status=-3',
+  //       title: '信息资料审查失败',
+  //     },
+  //     {
+  //       icon: 'el-icon-s-home',
+  //       index: '/adminCenter/ticket?status=3',
+  //       title: '订单入库',
+  //     },
+  //     {
+  //       icon: 'el-icon-s-home',
+  //       index: '/adminCenter/ticket?status=4',
+  //       title: '高企认证成功',
+  //     },
+  //     {
+  //       icon: 'el-icon-s-home',
+  //       index: '/adminCenter/ticket?status=5',
+  //       title: '创新券',
+  //     },
+  //   ],
+  // },
 ];
 export const qy = [
   {
@@ -170,7 +279,7 @@ export const zjjg = [
   {
     icon: 'iconzhengce1',
     index: '2',
-    title: '高企认证审核管理',
+    title: '高企申报审核管理',
     subs: [
       {
         icon: 'el-icon-s-home',
@@ -193,24 +302,7 @@ export const zj = [
   },
   {
     icon: 'iconchaoshi1',
-    index: '2',
-    title: '技术超市管理',
-    subs: [
-      {
-        icon: 'el-icon-s-home',
-        index: '/adminCenter/experts/product?type=1',
-        title: '技术成果',
-      },
-      {
-        icon: 'el-icon-s-home',
-        index: '/adminCenter/experts/product?type=0',
-        title: '科技需求',
-      },
-      {
-        icon: 'el-icon-s-home',
-        index: '/adminCenter/experts/product?type=2',
-        title: '商务服务',
-      },
-    ],
+    index: '/adminCenter/experts/product',
+    title: '信息发布',
   },
 ];