From 13fe2a19e637e1f7b558d54d8046ffee69b5e653 Mon Sep 17 00:00:00 2001 From: lSun <15893999301@qq.com> Date: Tue, 3 Dec 2024 19:51:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=AE=A1=E7=90=86-=E5=87=BA?= =?UTF-8?q?=E5=B7=AE=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/wechatEvection.js | 54 ++ src/views/process/wechatEvection/index.vue | 485 ++++++++++++++++++ .../process/wechatLeaveReporting/index.vue | 2 +- 3 files changed, 540 insertions(+), 1 deletion(-) create mode 100644 src/api/process/wechatEvection.js create mode 100644 src/views/process/wechatEvection/index.vue diff --git a/src/api/process/wechatEvection.js b/src/api/process/wechatEvection.js new file mode 100644 index 0000000..49c101c --- /dev/null +++ b/src/api/process/wechatEvection.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' + +// 查询列表 +export function listEvection(query) { + return request({ + url: '/system/wechatEvection/list', + method: 'get', + params: query + }) +} + +// 查询详细 +export function getEvection(id) { + return request({ + url: '/system/wechatEvection/' + id, + method: 'get' + }) + } + + +// 导出 +export function exportEvection(query) { + return request({ + url: '/system/export/exportWechatEvection', + 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/views/process/wechatEvection/index.vue b/src/views/process/wechatEvection/index.vue new file mode 100644 index 0000000..ef0d731 --- /dev/null +++ b/src/views/process/wechatEvection/index.vue @@ -0,0 +1,485 @@ + + + diff --git a/src/views/process/wechatLeaveReporting/index.vue b/src/views/process/wechatLeaveReporting/index.vue index 678fbb3..8170c5a 100644 --- a/src/views/process/wechatLeaveReporting/index.vue +++ b/src/views/process/wechatLeaveReporting/index.vue @@ -407,7 +407,7 @@ export default { handleExport() { exportWechatLeaveReporting(this.addDateRange(this.queryParams, this.dateRange)).then(res => { this.downloadFile({ - fileName: `休假报备_${new Date().getTime()}.xlsx`, + fileName: `数据管理_休假报备_${new Date().getTime()}.xlsx`, fileData: res, fileType: 'application/vnd.ms-excel;charset=utf-8' })