From 54923e74995293dccc19682747545e1a4ed615cc Mon Sep 17 00:00:00 2001 From: liuyongli <1598631486@qq.com> Date: Fri, 26 Nov 2021 11:40:58 +0800 Subject: [PATCH] =?UTF-8?q?lyl=E5=91=98=E5=B7=A5=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 2 + src/router/basic.js | 12 +-- src/views/Employee/index.vue | 196 ++++++++++++++++++++++++++++++++++- 3 files changed, 201 insertions(+), 9 deletions(-) diff --git a/src/main.js b/src/main.js index 52a96e4..3446ca2 100644 --- a/src/main.js +++ b/src/main.js @@ -12,6 +12,8 @@ import './styles/index.less'; import mixins from "@/mixins" import Antd from 'ant-design-vue'; import 'ant-design-vue/dist/antd.css'; +import { Button } from 'ant-design-vue'; +Vue.use(Button); Vue.use(Antd); Vue.use(mixins); import store from "@/store"; diff --git a/src/router/basic.js b/src/router/basic.js index ae71cc3..c77eb3f 100644 --- a/src/router/basic.js +++ b/src/router/basic.js @@ -26,7 +26,7 @@ export default [ meta: {title: '员工管理'} }, { - path: '/authority', + path: '/Authority', name: "Authority", title: "权限管理", icon: 'profile', @@ -46,7 +46,7 @@ export default [ ] }, { - path: '/attendance', + path: '/Attendance', name: "Attendance", title: "考勤管理", icon: 'profile', @@ -55,7 +55,7 @@ export default [ meta: {title: '考勤管理'}, children: [ { - path: '/attendance/record', + path: '/Attendance/record', name: "Attendance_record", title: "考勤记录", icon: 'profile', @@ -64,7 +64,7 @@ export default [ meta: {title: '考勤记录'}, }, { - path: '/attendance/application', + path: '/Attendance/application', name: "Attendance_application", title: "申请记录", icon: 'profile', @@ -73,7 +73,7 @@ export default [ meta: {title: '申请记录'}, }, { - path: '/attendance/attendanceteam', + path: '/Attendance/attendanceteam', name: "Attendance_attendanceteam", title: "考勤小组", icon: 'profile', @@ -82,7 +82,7 @@ export default [ meta: {title: '考勤小组'}, }, { - path: '/attendance/scheduling', + path: '/Attendance/scheduling', name: "Attendance_scheduling", title: "排班计划", icon: 'profile', diff --git a/src/views/Employee/index.vue b/src/views/Employee/index.vue index 18f653e..68f6e0b 100644 --- a/src/views/Employee/index.vue +++ b/src/views/Employee/index.vue @@ -7,20 +7,210 @@ * @FilePath: /ansu-business/src/views/Employee/index.vue -->