Browse Source

新增始宁农业管理后台

panyong 2 years ago
parent
commit
da255e5af2

+ 4 - 0
htmldev/shiningManage/src/router/index.js

@@ -7,6 +7,8 @@ Vue.use(Router)
 /* Layout */
 import Layout from '@/layout'
 import Sys from './modules/sys'
+import BusinessManage from './modules/businessManage'
+import ProductManage from './modules/productManage'
 
 /**
  * Note: sub-menu only appear when route children.length >= 1
@@ -72,6 +74,8 @@ export const asyncRoutes = [
       }
     ]
   },
+  BusinessManage,
+  ProductManage,
   Sys,
   { path: '*', redirect: '/404', hidden: true }
 ]

+ 23 - 0
htmldev/shiningManage/src/router/modules/businessManage.js

@@ -0,0 +1,23 @@
+/**
+ * 系统设置 system setting
+ */
+import Layout from '@/layout'
+
+const sys = {
+  path: '/businessManage',
+  component: Layout,
+  redirect: '/businessManage',
+  alwaysShow: true,
+  name: 'businessManage',
+  meta: { title: '农户管理', icon: 'el-icon-s-shop' },
+  children: [
+    {
+      path: 'apply',
+      name: 'businessManageApply',
+      component: () => import('@/views/businessManage/apply/index'),
+      meta: { title: '入驻申请' }
+    }
+  ]
+}
+
+export default sys

+ 16 - 0
htmldev/shiningManage/src/router/modules/productManage.js

@@ -0,0 +1,16 @@
+/**
+ * 系统设置 system setting
+ */
+import Layout from '@/layout'
+
+const sys = {
+  path: '/productManage',
+  component: Layout,
+  redirect: '/productManage',
+  alwaysShow: true,
+  name: 'productManage',
+  meta: { title: '农产品管理', icon: 'el-icon-goods' },
+  children: []
+}
+
+export default sys

+ 11 - 0
htmldev/shiningManage/src/views/businessManage/apply/index.vue

@@ -0,0 +1,11 @@
+<template>
+  <div>入驻申请</div>
+</template>
+
+<script>
+export default {}
+</script>
+
+<style lang="scss" scoped>
+
+</style>