From 2cb12296de66c20d6d2fb3f7b5818127ddbe59f2 Mon Sep 17 00:00:00 2001 From: lSun <15893999301@qq.com> Date: Tue, 3 Dec 2024 17:48:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=AE=A1=E7=90=86-=E4=BC=91?= =?UTF-8?q?=E5=81=87=E6=8A=A5=E5=A4=87=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/process/wechatLeaveReporting.js | 44 ++ .../process/wechatLeaveReporting/index.vue | 419 ++++++++++++++++++ 2 files changed, 463 insertions(+) create mode 100644 src/api/process/wechatLeaveReporting.js create mode 100644 src/views/process/wechatLeaveReporting/index.vue diff --git a/src/api/process/wechatLeaveReporting.js b/src/api/process/wechatLeaveReporting.js new file mode 100644 index 0000000..3e4ae71 --- /dev/null +++ b/src/api/process/wechatLeaveReporting.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询列表 +export function listLeaveReporting(query) { + return request({ + url: '/system/wechatLeaveReporting/list', + method: 'get', + params: query + }) +} + +// 查询详细 +export function getLeaveReporting(id) { + return request({ + url: '/system/wechatLeaveReporting/' + id, + method: 'get' + }) + } + +// 导出 +export function exportWechatLeaveReporting(query) { + return request({ + url: '/system/export/exportWechatLeaveReporting', + 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/wechatLeaveReporting/index.vue b/src/views/process/wechatLeaveReporting/index.vue new file mode 100644 index 0000000..678fbb3 --- /dev/null +++ b/src/views/process/wechatLeaveReporting/index.vue @@ -0,0 +1,419 @@ + + + + + + + + + 搜索 + 重置 + + + + + + 导出 + + + + + + + + + + {{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }} + + + + + + + + + + + + {{ scope.row.leaveStartDate }} + + + + + + + {{ scope.row.leaveEndDate }} + + + + + + + + 详情 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{item.name}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +