import {
  UserLayout,
  BasicLayout,
  BlankLayout,
  BigScreen,
  PageView
} from '@/layouts'

export default {
        path: '/promotionRulesManagement',
        redirect: '/promotionRulesManagement/promotionRules',
        component: PageView,
        meta: {
          title: '促销管理',
          icon: 'rocket',
          permission: 'M_promotionRulesManagement'
        },
        children: [
          // {
          //   path: '/promotionRulesManagement/promotionManagement',
          //   redirect: '/promotionRulesManagement/promotionManagement/list',
          //   name: 'promotionManagement',
          //   component: BlankLayout,
          //   meta: {
          //     title: '修理厂促销',
          //     icon: 'file-ppt',
          //     permission: 'M_promotionManagementList'
          //   },
          //   hideChildrenInMenu: true,
          //   children: [
          //     {
          //       path: 'list',
          //       name: 'promotionManagementList',
          //       component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionManagement/list.vue'),
          //       meta: {
          //         title: '修理厂促销列表',
          //         icon: 'file-ppt',
          //         hidden: true,
          //         permission: 'M_promotionManagementList'
          //       }
          //     },
          //     {
          //       path: 'add/:sn/:pageType',
          //       name: 'promotionManagementAdd',
          //       component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionManagement/edit.vue'),
          //       meta: {
          //         title: '新增修理厂促销',
          //         icon: 'file-ppt',
          //         hidden: true,
          //         permission: 'B_promotionManagementAdd'
          //       }
          //     },
          //     {
          //       path: 'edit/:sn/:pageType',
          //       name: 'promotionManagementEdit',
          //       component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionManagement/edit.vue'),
          //       meta: {
          //         title: '编辑修理厂促销',
          //         icon: 'file-ppt',
          //         hidden: true,
          //         permission: 'B_promotionManagementEdit'
          //       }
          //     }
          //   ]
          // }
        ]
      }