diff --git a/src/api/exceptionHandle/errorData.js b/src/api/exceptionHandle/errorData.js new file mode 100644 index 0000000..3ee24f7 --- /dev/null +++ b/src/api/exceptionHandle/errorData.js @@ -0,0 +1,32 @@ +import request from '@/utils/request' + +// 查询列表 +export function listExceptionDataError(query) { + return request({ + url: '/system/attExceptionHandle/list', + method: 'get', + params: query + }) +} + +// 工程详情 +export function getDetail(query) { + return request({ + url: '/system/attDetailByMonth/getDetail', + method: 'get', + params: query + }) +} + + + +// 导出工程 +export function exportMonthlyError(query) { + return request({ + url: '/system/attDetailByMonth/export', + method: 'get', + responseType: 'blob', + params: query + }) +} + diff --git a/src/api/exceptionHandle/errorForm.js b/src/api/exceptionHandle/errorForm.js new file mode 100644 index 0000000..2b115c1 --- /dev/null +++ b/src/api/exceptionHandle/errorForm.js @@ -0,0 +1,40 @@ +import request from '@/utils/request' + +// 查询列表 +export function listExceptionFormError(query) { + return request({ + url: '/system/attExceptionHandle/getDetailException', + method: 'get', + params: query + }) +} + +// 工程详情 +export function getDetailExceptionRest(query) { + return request({ + url: '/system/attExceptionHandle/getDetailExceptionRest', + method: 'get', + params: query + }) +} + +// 工程详情 +export function getDetailExceptionOut(query) { + return request({ + url: '/system/attExceptionHandle/getDetailExceptionOut', + method: 'get', + params: query + }) +} + + +// 导出工程 +export function exportExceptionError(query) { + return request({ + url: '/system/attExceptionHandle/export', + method: 'get', + responseType: 'blob', + params: query + }) +} + diff --git a/src/views/attendanceReport/monthlyError/index.vue b/src/views/attendanceReport/monthlyError/index.vue index ea4b77d..0b79f1f 100644 --- a/src/views/attendanceReport/monthlyError/index.vue +++ b/src/views/attendanceReport/monthlyError/index.vue @@ -1,7 +1,7 @@