diff --git a/src/api/home/falseDiligence.js b/src/api/home/falseDiligence.js index 20c2efe..0418552 100644 --- a/src/api/home/falseDiligence.js +++ b/src/api/home/falseDiligence.js @@ -12,7 +12,7 @@ export const syncFalseDiligence = async (params) => { // 修改考勤数据 export const updateFalseDiligence = async (data) => { - return await request.put({ url: '/admin-api/oa/dingtalk/attendance/update', data }) + return await request.put({ url: '/admin-api/oa/dingtalk/attendance/batchUpdate', data }) } // 封存考勤数据 diff --git a/src/api/pers/employee.js b/src/api/pers/employee.js index a4c63ce..ad2bfcf 100644 --- a/src/api/pers/employee.js +++ b/src/api/pers/employee.js @@ -29,3 +29,8 @@ export const getEmployeeDetail = (id) => { export const deleteEmployee = (id) => { return request.delete({ url: '/admin-api/oa/employee/delete', params: { id } }) } + +// 详情 +export const getDingUserId = (params) => { + return request.get({ url: '/admin-api/oa/employee/getDingTalkUserIdByMobile', params }) +} diff --git a/src/views/Home/FalseDiligenceReport/index.vue b/src/views/Home/FalseDiligenceReport/index.vue index e6d822d..4935c25 100644 --- a/src/views/Home/FalseDiligenceReport/index.vue +++ b/src/views/Home/FalseDiligenceReport/index.vue @@ -81,6 +81,19 @@ {{ row.reallyWorkDay }} + + +