Explorar o código

管理后台-业务中心

panyong %!s(int64=3) %!d(string=hai) anos
pai
achega
6124e04530

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

@@ -6,6 +6,8 @@ Vue.use(Router)
 /* Layout */
 import Layout from '@/layout'
 import businessRouter from './modules/business'
+import finance from './modules/finance'
+import userCenter from './modules/userCenter'
 
 /**
  * Note: sub-menu only appear when route children.length >= 1
@@ -104,6 +106,8 @@ export const asyncRoutes = [
     }]
   },
   businessRouter,
+  finance,
+  userCenter,
   { path: '*', redirect: '/404', hidden: true }
 ]
 

+ 48 - 0
htmldev/manage/src/router/modules/business.js

@@ -33,6 +33,54 @@ const businessRouter = {
           meta: { title: '订座安排' }
         }
       ]
+    },
+    {
+      path: 'show',
+      component: () => import('@/views/business/show/index'),
+      name: 'BusinessShow',
+      meta: { title: '演出管理', icon: 'el-icon-headset' },
+      redirect: '/business/show/music',
+      children: [
+        {
+          path: 'music',
+          component: () => import('@/views/business/show/music/index'),
+          name: 'BusinessShowMusic',
+          meta: { title: '点歌记录' }
+        },
+        {
+          path: 'plan',
+          component: () => import('@/views/business/show/plan/index'),
+          name: 'BusinessShowPlan',
+          meta: { title: '演出安排' }
+        },
+        {
+          path: 'artList',
+          component: () => import('@/views/business/show/artList/index'),
+          name: 'BusinessShowArtList',
+          meta: { title: '艺人管理' }
+        }
+      ]
+    },
+    {
+      path: 'order',
+      component: () => import('@/views/business/order/index'),
+      name: 'BusinessOrder',
+      meta: { title: '点单管理', icon: 'el-icon-s-order' },
+      redirect: '/business/order/list',
+      children: [
+        {
+          path: 'list',
+          component: () => import('@/views/business/order/list/index'),
+          name: 'BusinessOrderList',
+          meta: { title: '订单列表' }
+        },
+        {
+          path: 'goods',
+          component: () => import('@/views/business/order/goods/index'),
+          name: 'BusinessOrderGoods',
+          meta: { title: '橱窗管理' }
+        }
+      ]
     }
   ]
 }

+ 11 - 0
htmldev/manage/src/router/modules/finance.js

@@ -0,0 +1,11 @@
+import Layout from '@/layout'
+
+const userCenterRouter = {
+  path: '/finance',
+  component: Layout,
+  name: 'Finance',
+  meta: { title: '财务中心', icon: 'el-icon-s-finance' },
+  redirect: 'noRedirect'
+}
+
+export default userCenterRouter

+ 11 - 0
htmldev/manage/src/router/modules/userCenter.js

@@ -0,0 +1,11 @@
+import Layout from '@/layout'
+
+const userCenterRouter = {
+  path: '/userCenter',
+  component: Layout,
+  name: 'UserCenter',
+  meta: { title: '用户中心', icon: 'el-icon-user' },
+  redirect: 'noRedirect'
+}
+
+export default userCenterRouter

+ 13 - 0
htmldev/manage/src/views/business/order/goods/index.vue

@@ -0,0 +1,13 @@
+<template>
+  <div>橱窗管理</div>
+</template>
+
+<script>
+export default {
+  name: 'index'
+}
+</script>
+
+<style lang="scss" scoped>
+
+</style>

+ 13 - 0
htmldev/manage/src/views/business/order/index.vue

@@ -0,0 +1,13 @@
+<template>
+  <router-view/>
+</template>
+
+<script>
+export default {
+  name: 'index'
+}
+</script>
+
+<style lang="scss" scoped>
+
+</style>

+ 13 - 0
htmldev/manage/src/views/business/order/list/index.vue

@@ -0,0 +1,13 @@
+<template>
+  <div>订单</div>
+</template>
+
+<script>
+export default {
+  name: 'index'
+}
+</script>
+
+<style lang="scss" scoped>
+
+</style>

+ 13 - 0
htmldev/manage/src/views/business/show/artList/index.vue

@@ -0,0 +1,13 @@
+<template>
+  <div>艺人管理</div>
+</template>
+
+<script>
+export default {
+  name: 'index'
+}
+</script>
+
+<style lang="scss" scoped>
+
+</style>

+ 13 - 0
htmldev/manage/src/views/business/show/index.vue

@@ -0,0 +1,13 @@
+<template>
+  <router-view/>
+</template>
+
+<script>
+export default {
+  name: 'index'
+}
+</script>
+
+<style lang="scss" scoped>
+
+</style>

+ 13 - 0
htmldev/manage/src/views/business/show/music/index.vue

@@ -0,0 +1,13 @@
+<template>
+  <div>点歌</div>
+</template>
+
+<script>
+export default {
+  name: 'index'
+}
+</script>
+
+<style lang="scss" scoped>
+
+</style>

+ 13 - 0
htmldev/manage/src/views/business/show/plan/index.vue

@@ -0,0 +1,13 @@
+<template>
+  <div>演出安排</div>
+</template>
+
+<script>
+export default {
+  name: 'index'
+}
+</script>
+
+<style lang="scss" scoped>
+
+</style>

+ 13 - 0
htmldev/manage/src/views/finance/index.vue

@@ -0,0 +1,13 @@
+<template>
+  <router-view/>
+</template>
+
+<script>
+export default {
+  name: 'index'
+}
+</script>
+
+<style lang="scss" scoped>
+
+</style>

+ 13 - 0
htmldev/manage/src/views/userCenter/index.vue

@@ -0,0 +1,13 @@
+<template>
+  <router-view/>
+</template>
+
+<script>
+export default {
+  name: 'index'
+}
+</script>
+
+<style lang="scss" scoped>
+
+</style>