diff --git a/src/api/process/requestReport.js b/src/api/process/requestReport.js new file mode 100644 index 0000000..fbbcb85 --- /dev/null +++ b/src/api/process/requestReport.js @@ -0,0 +1,107 @@ +import request from '@/utils/request' + +// 查询列表 +export function listRequestReport(query) { + return request({ + url: '/system/requestReport/list', + method: 'get', + params: query + }) +} + +// 查询详情列表 +export function getDetailsList(data) { + return request({ + url: '/system/workReport/getDetailsList', + method: 'post', + params: data + }) +} + +// 查询详情列表 +export function setCheck(data) { + return request({ + url: '/system/workReport/setCheck', + method: 'post', + params: data + }) +} + +// 查询审核列表 +export function checkListHoliday(query) { + return request({ + url: '/system/holiday/checkList', + method: 'get', + params: query + }) + } + +// 查询详细 +export function getHoliday(HolidayId) { + return request({ + url: '/system/holiday/' + HolidayId, + method: 'get' + }) + } + +// 新增 +export function addHoliday(data) { + return request({ + url: '/system/holiday', + method: 'post', + data: data + }) +} + +// 修改 +export function updateHoliday(data) { + return request({ + url: '/system/holiday', + method: 'put', + data: data + }) +} + +// 修改状态 +export function changeHolidayStatus(data) { + return request({ + url: '/system/holiday/changeStatus', + method: 'put', + data: data + }) + } + +// 删除 +export function delHoliday(HolidayId) { + return request({ + url: '/system/holiday/' + HolidayId, + method: 'delete' + }) +} + +// 导出 +export function exportWorkReport(query) { + return request({ + url: '/system/workReport/export', + method: 'get', + responseType: 'blob', + params: query + }) +} + +// 查询职位 +export function getPostName(id) { + return request({ + url: '/system/leaveReporting/getPostName/' + id, + method: 'get' + }) +} + +// 查询职位 +export function getUserList(id) { + return request({ + url: '/system/leaveReporting/getUserList/' + id, + method: 'get' + }) +} + diff --git a/src/api/process/workReport.js b/src/api/process/workReport.js new file mode 100644 index 0000000..3444dc6 --- /dev/null +++ b/src/api/process/workReport.js @@ -0,0 +1,107 @@ +import request from '@/utils/request' + +// 查询列表 +export function listWorkReport(query) { + return request({ + url: '/system/workReport/list', + method: 'get', + params: query + }) +} + +// 查询详情列表 +export function getDetailsList(data) { + return request({ + url: '/system/workReport/getDetailsList', + method: 'post', + params: data + }) +} + +// 查询详情列表 +export function setCheck(data) { + return request({ + url: '/system/workReport/setCheck', + method: 'post', + params: data + }) +} + +// 查询审核列表 +export function checkListHoliday(query) { + return request({ + url: '/system/holiday/checkList', + method: 'get', + params: query + }) + } + +// 查询详细 +export function getHoliday(HolidayId) { + return request({ + url: '/system/holiday/' + HolidayId, + method: 'get' + }) + } + +// 新增 +export function addHoliday(data) { + return request({ + url: '/system/holiday', + method: 'post', + data: data + }) +} + +// 修改 +export function updateHoliday(data) { + return request({ + url: '/system/holiday', + method: 'put', + data: data + }) +} + +// 修改状态 +export function changeHolidayStatus(data) { + return request({ + url: '/system/holiday/changeStatus', + method: 'put', + data: data + }) + } + +// 删除 +export function delHoliday(HolidayId) { + return request({ + url: '/system/holiday/' + HolidayId, + method: 'delete' + }) +} + +// 导出 +export function exportWorkReport(query) { + return request({ + url: '/system/workReport/export', + method: 'get', + responseType: 'blob', + params: query + }) +} + +// 查询职位 +export function getPostName(id) { + return request({ + url: '/system/leaveReporting/getPostName/' + id, + method: 'get' + }) +} + +// 查询职位 +export function getUserList(id) { + return request({ + url: '/system/leaveReporting/getUserList/' + id, + method: 'get' + }) +} + diff --git a/src/views/process/requestReport/index.vue b/src/views/process/requestReport/index.vue new file mode 100644 index 0000000..d57f33a --- /dev/null +++ b/src/views/process/requestReport/index.vue @@ -0,0 +1,825 @@ + + + + + + + + + + + + + + + + 搜索 + 重置 + 导出 + + + + + + + + + + + + {{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }} + + + + + + + + + + + + + {{ scope.row.isAgree }} + 否 + 是 + + + + + + + + 修改 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{item.name}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{item.name}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/process/workReport/index.vue b/src/views/process/workReport/index.vue new file mode 100644 index 0000000..92ea9d6 --- /dev/null +++ b/src/views/process/workReport/index.vue @@ -0,0 +1,733 @@ + + + + + + + + 搜索 + 重置 + 导出 + + + + + + + + + + + + {{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }} + + + + + + + + + {{ scope.row.leaveNum }} + + + + + + + {{ scope.row.outNum }} + + + + + + + {{ scope.row.businessTripNum }} + + + + + + + {{ scope.row.holidayNum }} + + + + + + + {{ scope.row.status !== null ? '已核对' : '未处理' }} + + + + + 核对 + + + + + + + + + + + + + 搜索 + + + + + + + + + + {{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{item.name}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +