diff --git a/hb_client/src/router/index.js b/hb_client/src/router/index.js index 9685b0e..064cec7 100644 --- a/hb_client/src/router/index.js +++ b/hb_client/src/router/index.js @@ -257,42 +257,34 @@ export const asyncRoutes = [ } ] }, - { - path: '/workflow', - component: Layout, - redirect: '/workflow/index', - name: 'workflow', - meta: { title: '工作流管理', icon: 'example', perms: ['workflow_set'] }, - children: [ - { - path: 'index', - name: 'index', - component: () => import('@/views/workflow/index'), - meta: { title: '工作流配置', icon: 'example', perms: ['workflow_manage'] } - }, - + { + path: '/workflow', + component: Layout, + redirect: '/workflow/index', + name: 'workflow', + meta: { title: '工作流', icon: 'example', perms: ['workflow_set'] }, + children: [ { - path: 'configuration', - name: 'configuration', - component: () => import('@/views/workflow/configuration'), - meta: { title: '人员信息详情', icon: 'example', perms: ['configuration_manage'] }, - hidden: true + path: 'index', + name: 'index', + component: () => import('@/views/workflow/index'), + meta: { title: '工作流配置', icon: 'example', perms: ['workflow_manage'] } }, { path: 'ticket', name: 'ticket', component: () => import('@/views/workflow/ticket'), - meta: { title: '工单列表', icon: 'example', perms: ['ticket_manage'] }, - hidden: true - },{ - path: 'test', - name: 'test', - component: () => import('@/views/workflow/test'), - meta: { title: '工单', icon: 'example', perms: ['test_manage'] }, + meta: { title: '工单管理', icon: 'example', perms: ['workflow_manage'] }, + }, + { + path: 'configuration', + name: 'configuration', + component: () => import('@/views/workflow/configuration'), + meta: { title: '人员信息详情', icon: 'example', perms: ['workflow_manage'] }, hidden: true }, - ] - }, + ] + }, { path: '/system', component: Layout, diff --git a/hb_client/src/views/workflow/ticket.vue b/hb_client/src/views/workflow/ticket.vue index 8d17e79..841e3f3 100644 --- a/hb_client/src/views/workflow/ticket.vue +++ b/hb_client/src/views/workflow/ticket.vue @@ -1,36 +1,130 @@