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 @@ + + + + + + + + + 搜索 + 重置 + + + + + + 导出 + + + + + + + + + + {{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }} + + + + + + + + + + + + {{ scope.row.leaveStartDate }} + + + + + + + {{ scope.row.leaveEndDate }} + + + + + + + + 详情 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{item.name}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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' })