From f7aaf822a6da272ced728d61ce7c8047eebe0a16 Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Tue, 09 Mar 2021 10:34:16 +0800
Subject: [PATCH] 考勤

---
 src/router/views/index.js |  302 ++++++++++++++++++++++++--------------------------
 1 files changed, 144 insertions(+), 158 deletions(-)

diff --git a/src/router/views/index.js b/src/router/views/index.js
index 70fbf40..f072c5e 100644
--- a/src/router/views/index.js
+++ b/src/router/views/index.js
@@ -23,165 +23,138 @@
       import( /* webpackChunkName: "views" */ '@/views/wel/dashboard')
   }]
 },
-  {
-    path: '/distribution',
-    component: Layout,
-    redirect: '/distribution/index',
-    children: [{
-      path: 'index',
-      name: '警情分发处置',
-      meta: {
-        i18n: 'distribution'
-      },
-      component: () =>
-        import( /* webpackChunkName: "views" */ '@/views/distribution/index')
-    }]
-  },
-  {
-    path: '/test',
-    component: Layout,
-    redirect: '/test/index',
-    children: [{
-      path: 'index',
-      name: '测试页',
-      meta: {
-        i18n: 'test'
-      },
-      component: () =>
-        import( /* webpackChunkName: "views" */ '@/views/util/test')
-    }]
+{
+  path: '/distribution',
+  component: Layout,
+  redirect: '/distribution/index',
+  children: [{
+    path: 'index',
+    name: '警情分发处置',
+    meta: {
+      i18n: 'distribution'
+    },
+    component: () =>
+      import( /* webpackChunkName: "views" */ '@/views/distribution/index')
+  }]
+},
+{
+  path: '/test',
+  component: Layout,
+  redirect: '/test/index',
+  children: [{
+    path: 'index',
+    name: '测试页',
+    meta: {
+      i18n: 'test'
+    },
+    component: () =>
+      import( /* webpackChunkName: "views" */ '@/views/util/test')
+  }]
+}, {
+  path: '/dict-horizontal',
+  component: Layout,
+  redirect: '/dict-horizontal/index',
+  children: [{
+    path: 'index',
+    name: '字典管理',
+    meta: {
+      i18n: 'dict'
+    },
+    component: () =>
+      import( /* webpackChunkName: "views" */ '@/views/util/demo/dict-horizontal')
+  }]
+}, {
+  path: '/dict-vertical',
+  component: Layout,
+  redirect: '/dict-vertical/index',
+  children: [{
+    path: 'index',
+    name: '字典管理',
+    meta: {
+      i18n: 'dict'
+    },
+    component: () =>
+      import( /* webpackChunkName: "views" */ '@/views/util/demo/dict-vertical')
+  }]
+}, {
+  path: '/info',
+  component: Layout,
+  redirect: '/info/index',
+  children: [{
+    path: 'index',
+    name: '个人信息',
+    meta: {
+      i18n: 'info'
+    },
+    component: () =>
+      import( /* webpackChunkName: "views" */ '@/views/system/userinfo')
+  }]
+}, {
+  path: '/real',
+  component: Layout,
+  redirect: '/real/video',
+  children: [{
+    path: 'video/:channelNumber/:serialNumber',
+    name: '视频',
+    meta: {
+      i18n: 'real'
+    },
+    component: () =>
+      import( /* webpackChunkName: "views" */ '@/views/Video/video')
+  }
+    , {
+    path: 'history/:historyId',
+    name: '设备历史',
+    meta: {
+      i18n: 'real'
+    },
+    component: () =>
+      import( /* webpackChunkName: "views" */ '@/views/realTimePolice/realHistory')
+  }]
+}, {
+  path: '/work/process/leave',
+  component: Layout,
+  redirect: '/work/process/leave/form',
+  children: [{
+    path: 'form/:processDefinitionId',
+    name: '请假流程',
+    meta: {
+      i18n: 'work'
+    },
+    component: () =>
+      import( /* webpackChunkName: "views" */ '@/views/work/process/leave/form')
   }, {
-    path: '/dict-horizontal',
-    component: Layout,
-    redirect: '/dict-horizontal/index',
-    children: [{
-      path: 'index',
-      name: '字典管理',
-      meta: {
-        i18n: 'dict'
-      },
-      component: () =>
-        import( /* webpackChunkName: "views" */ '@/views/util/demo/dict-horizontal')
-    }]
+    path: 'handle/:taskId/:processInstanceId/:businessId',
+    name: '处理请假流程',
+    meta: {
+      i18n: 'work'
+    },
+    component: () =>
+      import( /* webpackChunkName: "views" */ '@/views/work/process/leave/handle')
   }, {
-    path: '/dict-vertical',
-    component: Layout,
-    redirect: '/dict-vertical/index',
-    children: [{
-      path: 'index',
-      name: '字典管理',
-      meta: {
-        i18n: 'dict'
-      },
-      component: () =>
-        import( /* webpackChunkName: "views" */ '@/views/util/demo/dict-vertical')
-    }]
-  }, {
-    path: '/info',
-    component: Layout,
-    redirect: '/info/index',
-    children: [{
-      path: 'index',
-      name: '个人信息',
-      meta: {
-        i18n: 'info'
-      },
-      component: () =>
-        import( /* webpackChunkName: "views" */ '@/views/system/userinfo')
-    }]
-  }, {
-    path: '/real',
-    component: Layout,
-    redirect: '/real/video',
-    children: [{
-      path: 'video',
-      name: '视频',
-      meta: {
-        i18n: 'real'
-      },
-      component: () =>
-        import( /* webpackChunkName: "views" */ '@/views/Video/video')
-    }
-      , {
-        path: 'history/:historyId',
-        name: '设备历史',
-        meta: {
-          i18n: 'real'
-        },
-        component: () =>
-          import( /* webpackChunkName: "views" */ '@/views/realTimePolice/realHistory')
-      }]
-  }, {
-    path: '/policeTracking',
-    component: Layout,
-    redirect: '/policeTracking/track',
-    children: [{
-      path: 'track',
-      name: '警情追踪',
-      meta: {
-        i18n: 'track'
-      },
-      component: () =>
-        import( /* webpackChunkName: "views" */ '@/views/policeTracking/policeTracking')
-    }]
-  }, {
-    path: '/work/process/leave',
-    component: Layout,
-    redirect: '/work/process/leave/form',
-    children: [{
-      path: 'form/:processDefinitionId',
-      name: '请假流程',
-      meta: {
-        i18n: 'work'
-      },
-      component: () =>
-        import( /* webpackChunkName: "views" */ '@/views/work/process/leave/form')
-    }, {
-      path: 'handle/:taskId/:processInstanceId/:businessId',
-      name: '处理请假流程',
-      meta: {
-        i18n: 'work'
-      },
-      component: () =>
-        import( /* webpackChunkName: "views" */ '@/views/work/process/leave/handle')
-    }, {
-      path: 'detail/:processInstanceId/:businessId',
-      name: '请假流程详情',
-      meta: {
-        i18n: 'work'
-      },
-      component: () =>
-        import( /* webpackChunkName: "views" */ '@/views/work/process/leave/detail')
-    }]
-  },
-  {
-    path: '/realTimePolice',
-    component: Layout,
-    redirect: '/realTimePolice/real',
-    children: [{
-      path: 'index',
-      name: '实时报警',
-      meta: {
-        i18n: 'real'
-      },
-      component: () =>
-        import( /* webpackChunkName: "views" */ '@/views/realTimePolice/real')
-    }]
-  },
-  {
-    path: '/clientManagement',
-    component: Layout,
-    redirect: '/clientManagement/clientManagement',
-    children: [{
-      path: 'index',
-      name: '客户管理',
-      meta: {
-        i18n: 'clientManagement'
-      },
-      component: () =>
-        import( /* webpackChunkName: "views" */ '@/views/clientManagement/clientManagement')
-    }]
-  },
+    path: 'detail/:processInstanceId/:businessId',
+    name: '请假流程详情',
+    meta: {
+      i18n: 'work'
+    },
+    component: () =>
+      import( /* webpackChunkName: "views" */ '@/views/work/process/leave/detail')
+  }]
+},
+{
+  path: '/realTimePolice',
+  component: Layout,
+  redirect: '/realTimePolice/real',
+  children: [{
+    path: 'index',
+    name: '实时报警',
+    meta: {
+      i18n: 'real'
+    },
+    component: () =>
+      import( /* webpackChunkName: "views" */ '@/views/realTimePolice/real')
+  }]
+},
   {
     path: '/attendance',
     component: Layout,
@@ -196,4 +169,17 @@
         import( /* webpackChunkName: "views" */ '@/views/attendance/attendance')
     }]
   },
-]
+{
+  path: '/clientManagement',
+  component: Layout,
+  redirect: '/clientManagement/clientManagement',
+  children: [{
+    path: 'index',
+    name: '客户管理',
+    meta: {
+      i18n: 'clientManagement'
+    },
+    component: () =>
+      import( /* webpackChunkName: "views" */ '@/views/clientManagement/clientManagement')
+  }]
+}]

--
Gitblit v1.9.3