From 73f9d204cda8949a0f6938b654f302b9edfeb3e0 Mon Sep 17 00:00:00 2001 From: lSun <15893999301@qq.com> Date: Sat, 9 Nov 2024 19:02:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E7=9B=B8=E5=85=B3-=E4=BC=91?= =?UTF-8?q?=E5=81=87=E3=80=81=E6=8A=A5=E5=A4=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/process/evection.js | 89 ++++ src/api/process/leaveReporting.js | 80 +++ src/views/process/evection/index.vue | 570 +++++++++++++++++++++ src/views/process/leaveReporting/index.vue | 549 ++++++++++++++++++++ 4 files changed, 1288 insertions(+) create mode 100644 src/api/process/evection.js create mode 100644 src/api/process/leaveReporting.js create mode 100644 src/views/process/evection/index.vue create mode 100644 src/views/process/leaveReporting/index.vue 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 @@ + + +