Newer
Older
CallCenterFront / src / router / modules / case.js
zhangyingjie on 9 Apr 2020 2 KB 新增上报请示功能
/* Layout */
import Layout from '@/layout/Layout'
export const caseRouters = [{
  path: 'case',
  component: Layout,
  redirect: '/waitForCreate',
  name: 'Case',
  alwaysShow: true,
  meta: {
    title: '事件管理',
    icon: 'icon-config' // 图标
  },
  children: [
    {
      path: '/waitForCreate',
      name: 'WaitForCreate',
      component: () => import('@/views/caseManage/waitForCreate'),
      meta: { title: '待录事件', icon: '' }
    },
    {
      path: '/waitForHandle',
      name: 'WaitForHandle',
      component: () => import('@/views/caseManage/waitForHandle'),
      meta: { title: '待办事件', icon: '' }
    },
    {
      path: '/completedList',
      name: 'CompletedList',
      component: () => import('@/views/caseManage/completedList'),
      meta: { title: '已办事件', icon: '' }
    },
    {
      path: '/searchList',
      name: 'SearchList',
      component: () => import('@/views/caseManage/searchList'),
      meta: { title: '事件查询', icon: '' }
    },
    {
      path: '/delayApplyList',
      name: 'delayApplyList',
      component: () => import('@/views/caseManage/delayApplyList'),
      meta: { title: '延期申请', icon: '' }
    },
    {
      path: '/delayList',
      name: 'delayList',
      component: () => import('@/views/caseManage/delayList'),
      meta: { title: '延期查询', icon: '' }
    },
    {
      path: '/urgeList',
      name: 'urgeList',
      component: () => import('@/views/caseManage/urgeList'),
      meta: { title: '催办查询', icon: '' }
    },
    {
      path: '/caseManage',
      name: 'caseManage',
      component: () => import('@/views/caseManage/caseManage'),
      meta: { title: '事件管理', icon: '' }
    },
    {
      path: '/createCase',
      name: 'CreateCase',
      hidden: true,
      component: () => import('@/views/caseManage/createCase'),
      meta: { title: '新建事件', icon: '' }
    },
    {
      path: '/caseDetail/:id',
      name: 'caseDetail',
      hidden: true,
      component: () => import('@/views/caseManage/caseDetail'),
      meta: { title: '事件详情', icon: '' }
    }
  ]
}, {
  path: 'caseReport',
  component: Layout,
  redirect: '/workReportList',
  name: 'CaseReport',
  alwaysShow: true,
  meta: {
    title: '上报请示管理',
    icon: 'icon-config' // 图标
  },
  children: [
    {
      path: '/workReportList',
      name: 'WorkReportList',
      component: () => import('@/views/caseManage/caseReportManage/workReportList'),
      meta: { title: '待办上报请示', icon: '' }
    },
    {
      path: '/myReportList',
      name: 'MyReportList',
      component: () => import('@/views/caseManage/caseReportManage/myReportList'),
      meta: { title: '我的上报请示', icon: '' }
    },
    {
      path: '/searchReportList',
      name: 'SearchReportList',
      component: () => import('@/views/caseManage/caseReportManage/searchReportList'),
      meta: { title: '查询上报请示', icon: '' }
    }
  ]
}]