diff --git a/hb_client/src/api/srm.js b/hb_client/src/api/srm.js
index ea41540..ea364db 100644
--- a/hb_client/src/api/srm.js
+++ b/hb_client/src/api/srm.js
@@ -15,3 +15,12 @@ export function getProcessYield(data) {
data
})
}
+//到岗统计
+export function getatwork(data) {
+ return request({
+ url: '/srm/at_work/',
+ method: 'post',
+ data
+ })
+}
+
diff --git a/hb_client/src/router/index.js b/hb_client/src/router/index.js
index 44a4662..0efd28e 100644
--- a/hb_client/src/router/index.js
+++ b/hb_client/src/router/index.js
@@ -418,12 +418,12 @@ export const asyncRoutes = [
meta: { title: '人员列表', icon: 'example', perms: ['user_manage'] }
},
{
- path: 'personnel',
- name: 'personnel',
- component: () => import('@/views/personnel/user'),
- meta: { title: '考勤列表', icon: 'example', perms: ['user_manage'] }
+ path: 'attendance',
+ name: 'attendance',
+ component: () => import('@/views/personnel/attendance'),
+ meta: { title: '考勤列表', icon: 'example', perms: ['attendance_manage'] }
} ,{
- path: 'userupdate',
+ path: 'userupdate/:id',
name: 'userupdate',
component: () => import('@/views/personnel/userupdate'),
meta: { title: '人员信息详情', icon: 'employee', perms: ['employee_detail'] },
diff --git a/hb_client/src/views/personnel/attendance.vue b/hb_client/src/views/personnel/attendance.vue
new file mode 100644
index 0000000..e986619
--- /dev/null
+++ b/hb_client/src/views/personnel/attendance.vue
@@ -0,0 +1,182 @@
+
+