diff --git a/src/api/process/evection.js b/src/api/process/evection.js new file mode 100644 index 0000000..c84f982 --- /dev/null +++ b/src/api/process/evection.js @@ -0,0 +1,89 @@ +import request from '@/utils/request' + +// 查询列表 +export function listEvection(query) { + return request({ + url: '/system/evection/list', + method: 'get', + params: query + }) +} + +// 查询审核列表 +export function checkListEvection(query) { + return request({ + url: '/system/evection/checkList', + method: 'get', + params: query + }) + } + +// 查询详细 +export function getEvection(id) { + return request({ + url: '/system/evection/' + id, + method: 'get' + }) + } + +// 新增 +export function addEvection(data) { + return request({ + url: '/system/evection', + method: 'post', + data: data + }) +} + +// 修改 +export function updateEvection(data) { + return request({ + url: '/system/evection', + method: 'put', + data: data + }) +} + + +// 删除 +export function delEvection(id) { + return request({ + url: '/system/evection/' + id, + method: 'delete' + }) +} + +// 导出 +export function exportEvection(query) { + return request({ + url: '/system/export/exportEvection', + method: 'get', + responseType: 'blob', + params: query + }) +} + +// 查询职位 +export function getPostName(id) { + return request({ + url: '/system/evection/getPostName/' + id, + method: 'get' + }) +} + +// 查询职位 +export function getUserList(id) { + return request({ + url: '/system/evection/getUserList/' + id, + method: 'get' + }) +} + +// 人员下拉 +export function getPersonSelect(query) { + return request({ + url: '/system/user/getSelectUserCurrent', + method: 'get', + params: query + }) +} diff --git a/src/api/process/leaveReporting.js b/src/api/process/leaveReporting.js new file mode 100644 index 0000000..d6243d3 --- /dev/null +++ b/src/api/process/leaveReporting.js @@ -0,0 +1,80 @@ +import request from '@/utils/request' + +// 查询列表 +export function listLeaveReporting(query) { + return request({ + url: '/system/leaveReporting/list', + method: 'get', + params: query + }) +} + +// 查询审核列表 +export function checkListLeaveReporting(query) { + return request({ + url: '/system/leaveReporting/checkList', + method: 'get', + params: query + }) + } + +// 查询详细 +export function getLeaveReporting(id) { + return request({ + url: '/system/leaveReporting/' + id, + method: 'get' + }) + } + +// 新增 +export function addLeaveReporting(data) { + return request({ + url: '/system/leaveReporting', + method: 'post', + data: data + }) +} + +// 修改 +export function updateLeaveReporting(data) { + return request({ + url: '/system/leaveReporting', + method: 'put', + data: data + }) +} + + +// 删除 +export function delLeaveReporting(id) { + return request({ + url: '/system/leaveReporting/' + id, + method: 'delete' + }) +} + +// 导出 +export function exportLeaveReporting(query) { + return request({ + url: '/system/export/exportLeaveReporting', + 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/evection/index.vue b/src/views/process/evection/index.vue new file mode 100644 index 0000000..b3942c1 --- /dev/null +++ b/src/views/process/evection/index.vue @@ -0,0 +1,570 @@ + + + diff --git a/src/views/process/leaveReporting/index.vue b/src/views/process/leaveReporting/index.vue new file mode 100644 index 0000000..767c479 --- /dev/null +++ b/src/views/process/leaveReporting/index.vue @@ -0,0 +1,549 @@ + + +