diff --git a/src/api/chart.js b/src/api/chart.js index 4e27fda..4cfdf7a 100644 --- a/src/api/chart.js +++ b/src/api/chart.js @@ -17,3 +17,12 @@ export function overtimeList(params,isLoading = true) { isLoading }) } + +export function otherOvertimeList(params,isLoading = true) { + return request({ + method: 'get', + url: '/api/oa/chart/overtime-not-formal', + params, + isLoading + }) +} diff --git a/src/views/attendance/otherovertimechart.vue b/src/views/attendance/otherovertimechart.vue new file mode 100644 index 0000000..8fd09fe --- /dev/null +++ b/src/views/attendance/otherovertimechart.vue @@ -0,0 +1,249 @@ + + + + + diff --git a/src/views/attendance/overtimechart.vue b/src/views/attendance/overtimechart.vue index 0dba881..a7ed599 100644 --- a/src/views/attendance/overtimechart.vue +++ b/src/views/attendance/overtimechart.vue @@ -9,15 +9,7 @@ v-model="select.department_id" placeholder="请选择"> - - - + 搜索 @@ -71,8 +63,7 @@ page: 1, page_size: 10, month: this.$moment().format('YYYY-MM'), - department_id: '', - is_formal:1 + department_id: '', }, my_department_id:"", is_bgs:false, // 是否是办公室