diff --git a/src/api/report/attReport.js b/src/api/report/attReport.js
index 19d5ca5..9c6e625 100644
--- a/src/api/report/attReport.js
+++ b/src/api/report/attReport.js
@@ -46,6 +46,16 @@ export function exportAttRecord(query) {
})
}
+// 异常排名导出
+export function exportAbnormalRanking(query) {
+ return request({
+ url: '/system/export/exportAbnormalRanking',
+ method: 'get',
+ responseType: 'blob',
+ params: query
+ })
+}
+
// 查询部门列表
export function listDept(query) {
return request({
diff --git a/src/views/report/attReport/index.vue b/src/views/report/attReport/index.vue
index 380cc9b..d595311 100644
--- a/src/views/report/attReport/index.vue
+++ b/src/views/report/attReport/index.vue
@@ -34,9 +34,9 @@
v-hasPermi="['att:attReport:export']"
>导出
- 异常数据导出
+ >异常排名导出
批量修改
@@ -389,6 +389,7 @@ import {
getDetailsList,
updateAttDetails,
exportAttRecord,
+ exportAbnormalRanking,
synchronous,
listDept,
getOutCountList,
@@ -795,6 +796,18 @@ export default {
})
},
+ /** 异常排名导出 */
+ abnormalRankingExport() {
+ this.queryParams.exportType = '异常排名导出'
+ exportAbnormalRanking(this.queryParams).then(res => {
+ this.downloadFile({
+ fileName: `异常排名_${new Date().getTime()}.xlsx`,
+ fileData: res,
+ fileType: 'application/vnd.ms-excel;charset=utf-8'
+ })
+ })
+ },
+
//打开工作时间外出次数
openOutCountList(row) {
this.title = '工作时间外出次数'