Commit 764488c6 authored by 赵啸非's avatar 赵啸非

修改本月统计

parent e46d597a
...@@ -220,6 +220,12 @@ export default { ...@@ -220,6 +220,12 @@ export default {
}, },
/** 导出Excel */ /** 导出Excel */
doExport() { doExport() {
if(this.isExport) {
this.$message.warning("考勤数据正在导出中,请勿重复点击!")
return;
}
this.isExport = true; this.isExport = true;
let params = {}; let params = {};
for (let value of this.config.search) { for (let value of this.config.search) {
...@@ -264,6 +270,7 @@ export default { ...@@ -264,6 +270,7 @@ export default {
data() { data() {
return { return {
showBtn: false, showBtn: false,
isExport:false,
upload: { upload: {
headers: { headers: {
Authorization: window.sessionStorage.getItem("token") || "", Authorization: window.sessionStorage.getItem("token") || "",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment