diff --git a/src/api/KaoQin/Attendance.js b/src/api/KaoQin/Attendance.js index 45da507..bd63419 100644 --- a/src/api/KaoQin/Attendance.js +++ b/src/api/KaoQin/Attendance.js @@ -39,7 +39,11 @@ export function SearchPersonByMonth(data){ return fetch({ url: '/Attendance/SearchPersonByMonth', method: 'post', - data + params:{ + name:data.name, + month:data.month + } + }) } diff --git a/src/views/KaoQin/count.vue b/src/views/KaoQin/count.vue index 08aab2a..55d94d6 100644 --- a/src/views/KaoQin/count.vue +++ b/src/views/KaoQin/count.vue @@ -6,12 +6,23 @@ 月报 - + - + - 搜索 - + 搜索 + + +

+ 请假:{{vacation}}次 +

+

+ 迟到/早退:{{early_later}}次 +

+

+ 正常出勤:{{normal}}次 +

+
@@ -37,20 +48,7 @@