diff --git a/src/api/home/falseDiligence.js b/src/api/home/falseDiligence.js new file mode 100644 index 0000000..20c2efe --- /dev/null +++ b/src/api/home/falseDiligence.js @@ -0,0 +1,21 @@ +import request from '@/config/axios' + +// 查询列表 +export const getPage = async (data) => { + return await request.post({ url: '/admin-api/oa/dingtalk/attendance/periodPage', data }) +} + +// 同步假勤数据 +export const syncFalseDiligence = async (params) => { + return await request.get({ url: '/admin-api/oa/dingtalk/attendance/sync', params }) +} + +// 修改考勤数据 +export const updateFalseDiligence = async (data) => { + return await request.put({ url: '/admin-api/oa/dingtalk/attendance/update', data }) +} + +// 封存考勤数据 +export const saveFalseDiligence = async (params) => { + return await request.get({ url: '/admin-api/oa/dingtalk/attendance/confirm', params }) +} diff --git a/src/views/Home/FalseDiligenceReport/index.vue b/src/views/Home/FalseDiligenceReport/index.vue index 8f653a0..e6d822d 100644 --- a/src/views/Home/FalseDiligenceReport/index.vue +++ b/src/views/Home/FalseDiligenceReport/index.vue @@ -14,7 +14,7 @@ - + + + + @@ -202,15 +207,17 @@